POST api/Dynamic/Reward?CookCode={CookCode}&DynamicId={DynamicId}&LoginUserID={LoginUserID}&CustIDs={CustIDs}&Amount={Amount}&MchID={MchID}&Sign={Sign}

【可用】登录用户--打赏,多个用户是平均打赏

Request Information

URI Parameters

NameDescriptionTypeAdditional information
CookCode

登录Token

string

Required

DynamicId

帖子ID

integer

Required

LoginUserID

登录用户ID

string

Required

CustIDs

被打赏用户ID, 多个ID, 以逗号分隔

string

Required

Amount

打赏金额:单位为分,整数表示

integer

Required

MchID

商户号

string

Required

Sign

签名,对LoginUserID+CustIDs+Amount+MchID+Key进行签名,Key由服务器颁发,此处使用的是私钥签名,签名算法参照文档1.3

string

Required

Body Parameters

None.

Response Information

Resource Description

RequestResult
NameDescriptionTypeAdditional information
ResultCode

integer

None.

Message

string

None.

Data

Object

None.

Response Formats

application/json, text/json

Sample:
{
  "ResultCode": 1,
  "Message": "sample string 2",
  "Data": {}
}

text/html

Sample:
{"ResultCode":1,"Message":"sample string 2","Data":{}}

application/xml, text/xml

Sample:
<RequestResult xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/MF.Common">
  <Data />
  <Message>sample string 2</Message>
  <ResultCode>1</ResultCode>
</RequestResult>