Commit 8bdc0d80 by 宋毅

tj

parent c442ea95
......@@ -61,7 +61,7 @@ class OrderAPI extends APIBase {
async addOrder(pobj, actionBody) {
if (!actionBody.product_info) {
return system.getResult(null, "产品信息有误,20010");
return system.getResult(null, "产品信息有误,20000");
}
var interface_info = null;
var interface_list = actionBody.product_info.interface_info;
......@@ -80,13 +80,13 @@ class OrderAPI extends APIBase {
}//使用默认的其他订单
if (!interface_info) {
return system.getResult(null, "产品接口信息有误,20030");
return system.getResult(null, "产品接口信息有误,20010");
}
if (!interface_info.interface_type) {
return system.getResult(null, "产品接口类型信息有误,20050");
return system.getResult(null, "产品接口类型信息有误,20020");
}
if (!interface_info.interface_url) {
return system.getResult(null, "产品接口地址信息有误,20080");
return system.getResult(null, "产品接口地址信息有误,20030");
}
var refOpResult = await this.reflexAction(interface_info, pobj);
return refOpResult;
......@@ -95,11 +95,11 @@ class OrderAPI extends APIBase {
var refResult = null;
if (interface_info.interface_type == "bd") {
if (!interface_info.method_name) {
return system.getResult(null, "产品接口参数信息有误,20110");
return system.getResult(null, "产品接口参数信息有误,20040");
}//操作的方法名称
var invokeObj = system.getObject(interface_info.interface_url);
if (!invokeObj[interface_info.method_name]) {
return system.getResult(null, "产品接口参数方法信息有误,20130");
return system.getResult(null, "产品接口参数方法信息有误,20050");
}
pobj.interface_params = interface_info.params;
var params = [pobj];
......
已经使用的编码汇总:
已经使用的编码汇总:
1.对订单操作修改
30000
30010
30020
30030
30040
30050
30060
30070
30080
30090
30100
30110
30120
30130
30140
30150
========================================================
2.添加订单操作
20000
20010
20020
20030
20040
20050
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment