POST api/TreasureCoin/SubmitOrder

提交礼包订单

Request Information

URI Parameters

None.

Body Parameters

TreasureCoinSubmitOrderParamModel
NameDescriptionTypeAdditional information
paytype

支付方式 1:微信支付 2:支付宝支付

integer

None.

giftid

礼包id

integer

None.

Request Formats

application/json, text/json

Sample:
{
  "paytype": 1,
  "giftid": 2
}

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

提交礼包订单

ApiResultTreasureCoinSubmitOrderModel
NameDescriptionTypeAdditional information
orderid

礼包订单号

string

None.

orderinfo

订单信息 根据支付方式返回(用于唤醒支付宝或微信支付)

string

None.

points

赠送捕币数量

integer

None.

treasurecoins

礼品卡金额 单位:元

decimal number

None.

code

0:正确 100:错误 403:需要重新登录

integer

None.

msg

string

None.

submsg

输出的错误信息

string

None.

isinvitation

登陆时候是否需要弹窗填些邀请码 1:需要

integer

None.

Response Formats

application/json, text/json

Sample:
{
  "orderid": "sample string 1",
  "orderinfo": "sample string 2",
  "points": 3,
  "treasurecoins": 4.0,
  "code": 5,
  "msg": "sample string 6",
  "submsg": "sample string 7",
  "isinvitation": 8
}