文档
测试

查询订单

GET
http://localhost:8088/resexplore/order/find?userId=4

请求参数

参数名
类型
描述
必填
userId
int
示例:4
必填

响应参数

参数名
类型
描述
必填
message
string
示例:成功
必填
code
int
示例:200
必填
info
object
示例:null
必填
data
object
数据字典
必填
total
int
示例:1
必填
rows
array
数据列表
必填
id
int
示例:2
必填
orderNumber
string
示例:20201218000001
必填
orderType
int
示例:2
必填
userId
int
示例:4
必填
productId
int
示例:16
必填
state
int
示例:0
必填
quantity
int
示例:2
必填
gainAmount
string
示例:10
必填
createTime
string
示例:2020-12-18T09:08:34.000+0000
必填
updateTime
object
示例:null
必填
payModel
string
示例:微信支付
必填
remark
string
示例:产品备注
必填
logisticsNumber
string
示例:WL20201218
必填
shareAmount
string
示例:2
必填
payAmount
string
示例:100
必填
gainTime
object
示例:null
必填
payUserName
string
示例:张璞
必填
productName
string
示例:任务商品
必填
productType
int
示例:2
必填
unitPrice
string
示例:300
必填
rewardPrice
string
示例:199
必填
conditions
array
数据列表
必填
id
int
示例:17
必填
productId
int
示例:16
必填
condition
string
示例:条件
必填
status
int
示例:0
必填
createTime
string
示例:2020-12-18T05:40:26.000+0000
必填
orderApplies
array
数据列表
必填
id
int
示例:1
必填
orderId
int
示例:2
必填
userId
int
示例:5
必填
bidFlag
int
示例:0
必填
taskFlag
int
示例:0
必填
checkFlag
int
示例:0
必填
createTime
string
示例:2020-12-18T09:40:49.000+0000
必填
updateTime
string
示例:2020-12-18T09:40:49.000+0000
必填
remark
string
示例:备注
必填
checked
int
示例:0
必填

说明 / 示例

{ "message": "成功", "code": 200, "info": null, "data": { "total": 1, "rows": [ { "id": 2, ==订单编号== "orderNumber": "20201218000001", ==订单类型== "orderType": 2, ==用户id== "userId": 4, ==产品id== "productId": 16, ==任务状态== "state": 0, ==数量== "quantity": 2, ==收款金额== "gainAmount": "10", ==创建日期== "createTime": "2020-12-18T09:08:34.000+0000", ==修改日期== "updateTime": null, ==支付模式== "payModel": "微信支付", ==备注== "remark": "产品备注", ==物流== "logisticsNumber": "WL20201218", ==分享金额== "shareAmount": "2", ==支付金额== "payAmount": "100", ==收款时间== "gainTime": null, ==任务条件== "conditions": [ { "id": 17, "productId": 16, ==条件== "condition": "条件", "status": 0, "createTime": "2020-12-18T05:40:26.000+0000" } ], ==参与者== "orderApplies": [ { "id": 1, ==订单id== "orderId": 2, ==用户id== "userId": 5, ==竞标状态== "bidFlag": 0, ==任务状态== "taskFlag": 0, ==验收状态== "checkFlag": 0, "createTime": "2020-12-18T09:40:49.000+0000", "updateTime": "2020-12-18T09:40:49.000+0000", "remark": "备注", ==checked== "checked": 0 }, { "id": 2, "orderId": 2, "userId": 6, "bidFlag": 0, "taskFlag": 0, "checkFlag": 0, "createTime": "2020-12-18T09:41:04.000+0000", "updateTime": "2020-12-18T09:41:04.000+0000", "remark": "备注", "checked": 1 } ], ==付款用户== "payUserName": "张璞", "productName": "任务商品", "productType": 2, "unitPrice": "300", "rewardPrice": "199" } ] } }