增加用户付款日志

URL地址:api/App/PayLog/InsertPayLog

请求方式:POST

传递参数

None.

传递对象

PayLogEntity (用户付款日志对象)
名   称描   述参数类型附加信息
Id

编号

integer

None.

Uid

用户ID

integer

None.

UName

用户名

string

None.

WxName

微信昵称

string

None.

OpenId

微信服务器返回的唯一标识

string

None.

Type

操作类型

integer

None.

TransactionId

微信订单号

string

None.

OutTradeNo

商户订单号

string

None.

OutRefundNo

商户退款单号

string

None.

RefundId

微信退款单号

string

None.

RefundFee

退款金额

decimal number

None.

TotalFee

订单金额

decimal number

None.

Remark

备注

string

None.

ReTime

录入时间

date

None.

RefundTime

退款时间

date

None.

application/json, text/json

Sample:
{
  "Id": 1,
  "Uid": 2,
  "UName": "sample string 3",
  "WxName": "sample string 4",
  "OpenId": "sample string 5",
  "Type": 6,
  "TransactionId": "sample string 7",
  "OutTradeNo": "sample string 8",
  "OutRefundNo": "sample string 9",
  "RefundId": "sample string 10",
  "RefundFee": 11.0,
  "TotalFee": 12.0,
  "Remark": "sample string 13",
  "ReTime": "2021-03-08T18:01:48.7820396+08:00",
  "RefundTime": "2021-03-08T18:01:48.7820396+08:00"
}

application/xml, text/xml

Sample:
<PayLogEntity xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/WeChat.Api.Models">
  <Id>1</Id>
  <OpenId>sample string 5</OpenId>
  <OutRefundNo>sample string 9</OutRefundNo>
  <OutTradeNo>sample string 8</OutTradeNo>
  <ReTime>2021-03-08T18:01:48.7820396+08:00</ReTime>
  <RefundFee>11</RefundFee>
  <RefundId>sample string 10</RefundId>
  <RefundTime>2021-03-08T18:01:48.7820396+08:00</RefundTime>
  <Remark>sample string 13</Remark>
  <TotalFee>12</TotalFee>
  <TransactionId>sample string 7</TransactionId>
  <Type>6</Type>
  <UName>sample string 3</UName>
  <Uid>2</Uid>
  <WxName>sample string 4</WxName>
</PayLogEntity>

application/x-www-form-urlencoded

Sample:

Sample not available.

返回对象

HttpResultMessageOfBoolean (bool)
名   称描   述参数类型附加信息
StatusCode

HttpStatusCode

None.

Errors

Dictionary of string [key] and string [value]

None.

Msg

string

None.

message

string

None.

Result

boolean

None.

返回对象格式

application/json, text/json

Sample:
{
  "StatusCode": 100,
  "Errors": {
    "sample string 1": "sample string 2",
    "sample string 3": "sample string 4"
  },
  "Msg": "sample string 1",
  "message": "sample string 2",
  "Result": true
}

application/xml, text/xml

Sample:
<HttpResultMessageOfboolean xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/WeChat.Api.Models">
  <Errors xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
    <d2p1:KeyValueOfstringstring>
      <d2p1:Key>sample string 1</d2p1:Key>
      <d2p1:Value>sample string 2</d2p1:Value>
    </d2p1:KeyValueOfstringstring>
    <d2p1:KeyValueOfstringstring>
      <d2p1:Key>sample string 3</d2p1:Key>
      <d2p1:Value>sample string 4</d2p1:Value>
    </d2p1:KeyValueOfstringstring>
  </Errors>
  <Msg>sample string 1</Msg>
  <Result>true</Result>
  <StatusCode>Continue</StatusCode>
  <message>sample string 2</message>
</HttpResultMessageOfboolean>