GET api/LovePartner/GetCurrentPartner
会员中心-获取当前合伙人(如返回401代表当前用户不是合伙人,可用于判断当前用户是否为合伙人)
Request Information
URI Parameters
None.
Body Parameters
None.
Response Information
Resource Description
会员中心-获取当前合伙人(如返回401代表当前用户不是合伙人,可用于判断当前用户是否为合伙人)
LovePartnerDtoName | Description | Type | Additional information |
---|---|---|---|
Id |
主键 |
integer |
None. |
UserId |
用户id |
integer |
None. |
Name |
团队名称 |
string |
None. |
Level |
级别 |
LovePartnerDistributionLevel |
None. |
PopMatchmaker |
当前用户对应的推广红娘 |
PopMatchmakerMemberDto |
None. |
Response Formats
application/json
Sample:
text/json
Sample:
application/xml, text/xml
Sample:
<LovePartnerDto xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Mh.LovePartner.Service.Dto"> <Id>1</Id> <Level>Level1</Level> <Name>sample string 3</Name> <PopMatchmaker xmlns:d2p1="http://schemas.datacontract.org/2004/07/Mh.Love.Service.Dto.PopMatchmaker"> <d2p1:AutoLoveUserCount>15</d2p1:AutoLoveUserCount> <d2p1:CountCommission>14.1</d2p1:CountCommission> <d2p1:CreateTime>2025-08-22T19:03:17.2336442+08:00</d2p1:CreateTime> <d2p1:ExtensionCount>8</d2p1:ExtensionCount> <d2p1:FeMaleCommissionPrice>5</d2p1:FeMaleCommissionPrice> <d2p1:GetCommissionFemaleNum>11</d2p1:GetCommissionFemaleNum> <d2p1:GetCommissionMaleNum>10</d2p1:GetCommissionMaleNum> <d2p1:GetCommissionNum>9</d2p1:GetCommissionNum> <d2p1:Id>1</d2p1:Id> <d2p1:Level>Level1</d2p1:Level> <d2p1:LevelName>sample string 6</d2p1:LevelName> <d2p1:MaleCommissionPrice>4</d2p1:MaleCommissionPrice> <d2p1:Name>sample string 3</d2p1:Name> <d2p1:RefuseNum>13</d2p1:RefuseNum> <d2p1:TobeAgreeNum>12</d2p1:TobeAgreeNum> <d2p1:UserId>2</d2p1:UserId> </PopMatchmaker> <UserId>2</UserId> </LovePartnerDto>