Commit bb862da4 by 宋毅

tj

parent ab580420
......@@ -45,6 +45,13 @@ class TmOrderAPI extends APIBase {
action_body.app = req.app;
action_body.user = req.user;
var opResult = null;
if (["subTmOrder", "getTmOrderList", "getTmOrderInfo", "getTmApplyInfo", "getTmNclList", "getNeedInfo",
"tmConfirm", "updateTmInfo", "updateNclInfo", "updateContacts", "updateCustomerInfo",
"updateCustomerInfo"].indexOf(action_type) >= 0) {
if (!action_body.channelUserId) {
return system.getResult(null, "channelUserId is not empty");
}
}
switch (action_type) {
// sy
case "test"://测试
......@@ -63,7 +70,7 @@ class TmOrderAPI extends APIBase {
case "get1688ChannelOrderInfo"://获取渠道订单信息
opResult = await this.ordertmproductSve.get1688ChannelOrder(action_body);
break;
case "subTmOrder"://商标提报
case "subTmOrder"://商标提报
opResult = await this.ordertmproductSve.addTmOrder(action_body);
if (opResult && opResult.status == 0 && opResult.data) {
var returnTms = opResult.data.tm;
......
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