GET api/UserSkill/GetUserSkillList?CookCode={CookCode}&CustID={CustID}&cityCode={cityCode}&parentSkillId={parentSkillId}&skillId={skillId}&PageIndex={PageIndex}&PageSize={PageSize}

【可用】获取达人技能首页列表和分类首页列表

Request Information

URI Parameters

NameDescriptionTypeAdditional information
CookCode

登录Token

string

Default value is

CustID

用户ID

string

Default value is 0

cityCode

服务城市,原CityID(null:全部;非null:服务城市Code)

string

Default value is 0

parentSkillId

一级技能ID

string

Default value is 0

skillId

二级技能ID

string

Default value is 0

PageIndex

页索引

integer

Default value is 1

PageSize

显示数量

integer

Default value is 10

Body Parameters

None.

Response Information

Resource Description

RequestResultOfUserSkillPageMoel
NameDescriptionTypeAdditional information
ResultCode

integer

None.

Message

string

None.

Data

UserSkillPageMoel

None.

Response Formats

application/json, text/json

Sample:
{
  "ResultCode": 1,
  "Message": "sample string 2",
  "Data": {
    "userSkillList": [
      {
        "Id": 1,
        "PersonId": 2,
        "ParentSkillId": 3,
        "SkillId": 4,
        "CityCode": "sample string 5",
        "Title": "sample string 6",
        "SkillContent": "sample string 7",
        "Picture": "sample string 8",
        "Pictures": [
          "sample string 1",
          "sample string 2"
        ],
        "ThumbPictures": [
          "sample string 1",
          "sample string 2"
        ],
        "Price": 9.0,
        "Remark": "sample string 10",
        "ViewCount": 11,
        "FinishOrder": 12,
        "IsAudit": 13,
        "CreateTime": "2020-10-29T06:43:39.9178716+08:00",
        "AuditTime": "2020-10-29T06:43:39.9178716+08:00",
        "IsValid": 16,
        "UpdateTime": "2020-10-29T06:43:39.9178716+08:00",
        "AuditDescription": "sample string 18",
        "RealName": "sample string 19",
        "NickName": "sample string 20",
        "SkillName": "sample string 21",
        "ParentSkillName": "sample string 22",
        "City": "sample string 23",
        "Sex": "sample string 24",
        "Gender": 25,
        "Age": 26,
        "Avatar": "sample string 27",
        "headPicture": "sample string 28",
        "AvatarType": 29,
        "CollectId": 30,
        "IsCollected": true
      },
      {
        "Id": 1,
        "PersonId": 2,
        "ParentSkillId": 3,
        "SkillId": 4,
        "CityCode": "sample string 5",
        "Title": "sample string 6",
        "SkillContent": "sample string 7",
        "Picture": "sample string 8",
        "Pictures": [
          "sample string 1",
          "sample string 2"
        ],
        "ThumbPictures": [
          "sample string 1",
          "sample string 2"
        ],
        "Price": 9.0,
        "Remark": "sample string 10",
        "ViewCount": 11,
        "FinishOrder": 12,
        "IsAudit": 13,
        "CreateTime": "2020-10-29T06:43:39.9178716+08:00",
        "AuditTime": "2020-10-29T06:43:39.9178716+08:00",
        "IsValid": 16,
        "UpdateTime": "2020-10-29T06:43:39.9178716+08:00",
        "AuditDescription": "sample string 18",
        "RealName": "sample string 19",
        "NickName": "sample string 20",
        "SkillName": "sample string 21",
        "ParentSkillName": "sample string 22",
        "City": "sample string 23",
        "Sex": "sample string 24",
        "Gender": 25,
        "Age": 26,
        "Avatar": "sample string 27",
        "headPicture": "sample string 28",
        "AvatarType": 29,
        "CollectId": 30,
        "IsCollected": true
      }
    ],
    "totalCount": 1,
    "totalPages": 2,
    "currentPage": 3
  }
}

text/html

Sample:
{"ResultCode":1,"Message":"sample string 2","Data":{"userSkillList":[{"Id":1,"PersonId":2,"ParentSkillId":3,"SkillId":4,"CityCode":"sample string 5","Title":"sample string 6","SkillContent":"sample string 7","Picture":"sample string 8","Pictures":["sample string 1","sample string 2"],"ThumbPictures":["sample string 1","sample string 2"],"Price":9.0,"Remark":"sample string 10","ViewCount":11,"FinishOrder":12,"IsAudit":13,"CreateTime":"2020-10-29T06:43:39.9178716+08:00","AuditTime":"2020-10-29T06:43:39.9178716+08:00","IsValid":16,"UpdateTime":"2020-10-29T06:43:39.9178716+08:00","AuditDescription":"sample string 18","RealName":"sample string 19","NickName":"sample string 20","SkillName":"sample string 21","ParentSkillName":"sample string 22","City":"sample string 23","Sex":"sample string 24","Gender":25,"Age":26,"Avatar":"sample string 27","headPicture":"sample string 28","AvatarType":29,"CollectId":30,"IsCollected":true},{"Id":1,"PersonId":2,"ParentSkillId":3,"SkillId":4,"CityCode":"sample string 5","Title":"sample string 6","SkillContent":"sample string 7","Picture":"sample string 8","Pictures":["sample string 1","sample string 2"],"ThumbPictures":["sample string 1","sample string 2"],"Price":9.0,"Remark":"sample string 10","ViewCount":11,"FinishOrder":12,"IsAudit":13,"CreateTime":"2020-10-29T06:43:39.9178716+08:00","AuditTime":"2020-10-29T06:43:39.9178716+08:00","IsValid":16,"UpdateTime":"2020-10-29T06:43:39.9178716+08:00","AuditDescription":"sample string 18","RealName":"sample string 19","NickName":"sample string 20","SkillName":"sample string 21","ParentSkillName":"sample string 22","City":"sample string 23","Sex":"sample string 24","Gender":25,"Age":26,"Avatar":"sample string 27","headPicture":"sample string 28","AvatarType":29,"CollectId":30,"IsCollected":true}],"totalCount":1,"totalPages":2,"currentPage":3}}

application/xml, text/xml

Sample:
<RequestResultOfUserSkillPageMoel9YWRqD_Pw xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/MF.Common">
  <Data xmlns:d2p1="http://schemas.datacontract.org/2004/07/MF.Models">
    <d2p1:currentPage>3</d2p1:currentPage>
    <d2p1:totalCount>1</d2p1:totalCount>
    <d2p1:totalPages>2</d2p1:totalPages>
    <d2p1:userSkillList>
      <d2p1:UserSkill>
        <d2p1:Age>26</d2p1:Age>
        <d2p1:AuditDescription>sample string 18</d2p1:AuditDescription>
        <d2p1:AuditTime>2020-10-29T06:43:39.9178716+08:00</d2p1:AuditTime>
        <d2p1:Avatar>sample string 27</d2p1:Avatar>
        <d2p1:AvatarType>29</d2p1:AvatarType>
        <d2p1:City>sample string 23</d2p1:City>
        <d2p1:CityCode>sample string 5</d2p1:CityCode>
        <d2p1:CollectId>30</d2p1:CollectId>
        <d2p1:CreateTime>2020-10-29T06:43:39.9178716+08:00</d2p1:CreateTime>
        <d2p1:FinishOrder>12</d2p1:FinishOrder>
        <d2p1:Gender>25</d2p1:Gender>
        <d2p1:Id>1</d2p1:Id>
        <d2p1:IsAudit>13</d2p1:IsAudit>
        <d2p1:IsCollected>true</d2p1:IsCollected>
        <d2p1:IsValid>16</d2p1:IsValid>
        <d2p1:NickName>sample string 20</d2p1:NickName>
        <d2p1:ParentSkillId>3</d2p1:ParentSkillId>
        <d2p1:ParentSkillName>sample string 22</d2p1:ParentSkillName>
        <d2p1:PersonId>2</d2p1:PersonId>
        <d2p1:Picture>sample string 8</d2p1:Picture>
        <d2p1:Pictures xmlns:d5p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
          <d5p1:string>sample string 1</d5p1:string>
          <d5p1:string>sample string 2</d5p1:string>
        </d2p1:Pictures>
        <d2p1:Price>9</d2p1:Price>
        <d2p1:RealName>sample string 19</d2p1:RealName>
        <d2p1:Remark>sample string 10</d2p1:Remark>
        <d2p1:Sex>sample string 24</d2p1:Sex>
        <d2p1:SkillContent>sample string 7</d2p1:SkillContent>
        <d2p1:SkillId>4</d2p1:SkillId>
        <d2p1:SkillName>sample string 21</d2p1:SkillName>
        <d2p1:ThumbPictures xmlns:d5p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
          <d5p1:string>sample string 1</d5p1:string>
          <d5p1:string>sample string 2</d5p1:string>
        </d2p1:ThumbPictures>
        <d2p1:Title>sample string 6</d2p1:Title>
        <d2p1:UpdateTime>2020-10-29T06:43:39.9178716+08:00</d2p1:UpdateTime>
        <d2p1:ViewCount>11</d2p1:ViewCount>
        <d2p1:headPicture>sample string 28</d2p1:headPicture>
      </d2p1:UserSkill>
      <d2p1:UserSkill>
        <d2p1:Age>26</d2p1:Age>
        <d2p1:AuditDescription>sample string 18</d2p1:AuditDescription>
        <d2p1:AuditTime>2020-10-29T06:43:39.9178716+08:00</d2p1:AuditTime>
        <d2p1:Avatar>sample string 27</d2p1:Avatar>
        <d2p1:AvatarType>29</d2p1:AvatarType>
        <d2p1:City>sample string 23</d2p1:City>
        <d2p1:CityCode>sample string 5</d2p1:CityCode>
        <d2p1:CollectId>30</d2p1:CollectId>
        <d2p1:CreateTime>2020-10-29T06:43:39.9178716+08:00</d2p1:CreateTime>
        <d2p1:FinishOrder>12</d2p1:FinishOrder>
        <d2p1:Gender>25</d2p1:Gender>
        <d2p1:Id>1</d2p1:Id>
        <d2p1:IsAudit>13</d2p1:IsAudit>
        <d2p1:IsCollected>true</d2p1:IsCollected>
        <d2p1:IsValid>16</d2p1:IsValid>
        <d2p1:NickName>sample string 20</d2p1:NickName>
        <d2p1:ParentSkillId>3</d2p1:ParentSkillId>
        <d2p1:ParentSkillName>sample string 22</d2p1:ParentSkillName>
        <d2p1:PersonId>2</d2p1:PersonId>
        <d2p1:Picture>sample string 8</d2p1:Picture>
        <d2p1:Pictures xmlns:d5p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
          <d5p1:string>sample string 1</d5p1:string>
          <d5p1:string>sample string 2</d5p1:string>
        </d2p1:Pictures>
        <d2p1:Price>9</d2p1:Price>
        <d2p1:RealName>sample string 19</d2p1:RealName>
        <d2p1:Remark>sample string 10</d2p1:Remark>
        <d2p1:Sex>sample string 24</d2p1:Sex>
        <d2p1:SkillContent>sample string 7</d2p1:SkillContent>
        <d2p1:SkillId>4</d2p1:SkillId>
        <d2p1:SkillName>sample string 21</d2p1:SkillName>
        <d2p1:ThumbPictures xmlns:d5p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
          <d5p1:string>sample string 1</d5p1:string>
          <d5p1:string>sample string 2</d5p1:string>
        </d2p1:ThumbPictures>
        <d2p1:Title>sample string 6</d2p1:Title>
        <d2p1:UpdateTime>2020-10-29T06:43:39.9178716+08:00</d2p1:UpdateTime>
        <d2p1:ViewCount>11</d2p1:ViewCount>
        <d2p1:headPicture>sample string 28</d2p1:headPicture>
      </d2p1:UserSkill>
    </d2p1:userSkillList>
  </Data>
  <Message>sample string 2</Message>
  <ResultCode>1</ResultCode>
</RequestResultOfUserSkillPageMoel9YWRqD_Pw>