POST api/Order/GetPay

获取支付信息

Request Information

URI Parameters

None.

Body Parameters

PayParam
NameDescriptionTypeAdditional information
orderid

订单ID

string

None.

count

购买数量

integer

None.

specid

规格ID/商品的goodid

string

None.

addressid

地址ID

integer

None.

Request Formats

application/json, text/json

Sample:
{
  "orderid": "sample string 1",
  "count": 2,
  "specid": "sample string 3",
  "addressid": 4
}

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

获取支付信息

ApiResultModelPayApp
NameDescriptionTypeAdditional information
orderid

订单ID

string

None.

productimg

商品主图

string

None.

producttitle

商品标题

string

None.

productprice

商品价格

string

None.

userAddress

默认收货地址

RerurnUserAddress

None.

order

订单信息

ReturnOrderInPay

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",
  "productimg": "sample string 2",
  "producttitle": "sample string 3",
  "productprice": "sample string 4",
  "userAddress": {
    "id": 1,
    "userid": 2,
    "name": "sample string 3",
    "phone": "sample string 4",
    "province": "sample string 5",
    "city": "sample string 6",
    "area": "sample string 7",
    "street": "sample string 8",
    "isdefault": true,
    "createdate": "2020-08-08T05:22:28.3863709+08:00"
  },
  "order": {
    "userid": 1,
    "orderid": "sample string 2",
    "paystate": 3,
    "payname": "sample string 4",
    "payamount": "sample string 5",
    "orderstate": 6,
    "consignee": "sample string 7",
    "province": "sample string 8",
    "city": "sample string 9",
    "region": "sample string 10",
    "address": "sample string 11",
    "mobile": "sample string 12",
    "totalamount": "sample string 13",
    "productamount": "sample string 14",
    "inviteuserid": 15,
    "totalcount": 16,
    "lessamount": "sample string 17",
    "lessamountreason": "sample string 18",
    "grade": 19,
    "totalfreight": "sample string 20",
    "isfreefreight": true,
    "orderDetailInPayList": [
      {
        "buycount": 1,
        "orderid": "sample string 2",
        "price": "sample string 3",
        "productid": 4,
        "productimage": "sample string 5",
        "productname": "sample string 6",
        "productno": "sample string 7",
        "skuid": 8,
        "skuno": "sample string 9",
        "skuspec": "sample string 10",
        "totalprice": "sample string 11",
        "userid": 12,
        "lessamount": "sample string 13",
        "lessamountreason": "sample string 14"
      },
      {
        "buycount": 1,
        "orderid": "sample string 2",
        "price": "sample string 3",
        "productid": 4,
        "productimage": "sample string 5",
        "productname": "sample string 6",
        "productno": "sample string 7",
        "skuid": 8,
        "skuno": "sample string 9",
        "skuspec": "sample string 10",
        "totalprice": "sample string 11",
        "userid": 12,
        "lessamount": "sample string 13",
        "lessamountreason": "sample string 14"
      }
    ]
  },
  "code": 5,
  "msg": "sample string 6",
  "submsg": "sample string 7",
  "isinvitation": 8
}