POST api/Order/CreateOrder

创建订单

Request Information

URI Parameters

None.

Body Parameters

CreateAppOrderParam
NameDescriptionTypeAdditional information
mess

买家留言

string

None.

paymentmethod

支付方式:货到付款

string

None.

goodid

商品id

integer

None.

addressid

收货地址id

integer

None.

Request Formats

application/json, text/json

Sample:
{
  "mess": "sample string 1",
  "paymentmethod": "sample string 2",
  "goodid": 3,
  "addressid": 4
}

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

创建订单

ApiResultModel
NameDescriptionTypeAdditional information
code

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

integer

None.

msg

string

None.

submsg

输出的错误信息

string

None.

isinvitation

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

integer

None.

Response Formats

application/json, text/json

Sample:
{
  "code": 1,
  "msg": "sample string 2",
  "submsg": "sample string 3",
  "isinvitation": 4
}