...
|
...
|
@@ -431,4 +431,28 @@ |
|
|
"evidence_images":""
|
|
|
}]
|
|
|
}
|
|
|
```
|
|
|
|
|
|
## 前台分配订单号
|
|
|
ERP可调用此方法从前台分配订单号(/erp/order/getAndOccupyOrderCode)
|
|
|
| 参数名称 | 参数类型 | 可否为空 | 示例 | 默认值 | 备注 |
|
|
|
|:-------| -----:|-----:|-----:|-----:|----:|
|
|
|
|uid|int|否|||用户ID|
|
|
|
|
|
|
请求示例
|
|
|
http://dev-service.yohops.com:9999/erp/order/getAndOccupyOrderCode?uid=8050370
|
|
|
|
|
|
####响应
|
|
|
code为200即为成功,否则是失败。
|
|
|
响应JSON格式如下所示:
|
|
|
```
|
|
|
{
|
|
|
"alg": "SALT_MD5"
|
|
|
"code": 200
|
|
|
"data": {
|
|
|
"newOrderCode": 160102044
|
|
|
}
|
|
|
"md5": "42dfc10820a38501f231840b3559d0b1"
|
|
|
"message": "操作成功"
|
|
|
}
|
|
|
``` |
|
|
\ No newline at end of file |
...
|
...
|
|