Showing
1 changed file
with
24 additions
and
0 deletions
@@ -431,4 +431,28 @@ | @@ -431,4 +431,28 @@ | ||
431 | "evidence_images":"" | 431 | "evidence_images":"" |
432 | }] | 432 | }] |
433 | } | 433 | } |
434 | +``` | ||
435 | + | ||
436 | +## 前台分配订单号 | ||
437 | +ERP可调用此方法从前台分配订单号(/erp/order/getAndOccupyOrderCode) | ||
438 | +| 参数名称 | 参数类型 | 可否为空 | 示例 | 默认值 | 备注 | | ||
439 | +|:-------| -----:|-----:|-----:|-----:|----:| | ||
440 | +|uid|int|否|||用户ID| | ||
441 | + | ||
442 | +请求示例 | ||
443 | +http://dev-service.yohops.com:9999/erp/order/getAndOccupyOrderCode?uid=8050370 | ||
444 | + | ||
445 | +####响应 | ||
446 | +code为200即为成功,否则是失败。 | ||
447 | +响应JSON格式如下所示: | ||
448 | +``` | ||
449 | +{ | ||
450 | + "alg": "SALT_MD5" | ||
451 | + "code": 200 | ||
452 | + "data": { | ||
453 | + "newOrderCode": 160102044 | ||
454 | + } | ||
455 | + "md5": "42dfc10820a38501f231840b3559d0b1" | ||
456 | + "message": "操作成功" | ||
457 | +} | ||
434 | ``` | 458 | ``` |
-
Please register or login to post a comment