文档
测试

新增订单

POST
http://47.115.18.242:8787/order/addcart

请求参数

参数名
类型
描述
必填
good_id
string
示例:5f096da352764f9c42d6c7d8
必填
user_id
string
示例:5f09a93e55a60f07a805a6ea
必填
title
string
示例:scds
必填
shop
string
示例:popo
必填

响应参数

参数名
类型
描述
必填
code
int
示例:2000
必填
flag
boolean
示例:true
必填
message
string
示例:add cart success
必填
code
int
示例:2000
必填
flag
boolean
示例:true
必填
message
string
示例:add cart success
必填

说明 / 示例

失败用例没有将数据保存到数据库,注意请求参数的传递方式