Commit f6762d84 by 庄冰

jdtm2qft

parent e65ff565
......@@ -118,6 +118,9 @@ class OrderAPI extends APIBase {
case "receiveAliTmOrder"://接收阿里商标订单
opResult = await this.orderinfoSve.receiveAliTmOrder(pobj);
break;
case "receiveFqbossTmOrder"://接收fqboss商标订单
opResult = await this.orderinfoSve.receiveFqbossTmOrder(pobj);
break;
case "receiveAliTmStatus"://接收阿里商标状态
opResult = await this.orderinfoSve.receiveAliTmStatus(pobj);
break;
......
......@@ -2543,6 +2543,15 @@ class OrderInfoService extends ServiceBase {
* @param {*} pobj
*/
async receiveAliTmOrder(pobj) {
var res = await this.receiveFqbossTmOrder(pobj);
return res;
}
/**
* 接收fqboss商标订单信息
* @param {*} pobj
*/
async receiveFqbossTmOrder(pobj) {
var res = await this.checkAndPackageAliTmOrderParams(pobj);
if (!res || res.status != 0) {
return res;
......@@ -2606,16 +2615,16 @@ class OrderInfoService extends ServiceBase {
return system.getResult(null, "未知用户信息,100500");
}
if (!pobj.actionBody.channelOrderNo) {
return system.getResult(null, "阿里订单号不能为空,100110");
return system.getResult(null, "渠道方订单号不能为空,100110");
}
if (!pobj.actionBody.serviceOrderNo) {
if (!pobj.actionBody.serviceOrderNo && pobj.appInfo.uapp_id!=31 ) {
return system.getResult(null, "蜂擎订单号不能为空,100120");
}
if (!pobj.actionBody.serviceNo) {
return system.getResult(null, "服务单号不能为空,100130");
}
if (!pobj.actionBody.needNo) {
return system.getResult(null, "阿里需求号不能为空,100110");
if (!pobj.actionBody.needNo && pobj.appInfo.uapp_id!=31) {
return system.getResult(null, "渠道方需求号不能为空,100110");
}
if (!pobj.actionBody.created_at) {
return system.getResult(null, "商标创建时间不能为空,100190");
......
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