Commit 1b3beb78 by 王栋源

wdy

parent 535027c1
...@@ -92,7 +92,12 @@ class TmQueryAPI extends WEBBase { ...@@ -92,7 +92,12 @@ class TmQueryAPI extends WEBBase {
opResult = await this.toolSve.icheming(action_body, req); opResult = await this.toolSve.icheming(action_body, req);
break; break;
case "tmreport"://商标报告 case "tmreport"://商标报告
opResult=await this.tmquerySve.tmreport(action_body,req); var rtn=await this.tmquerySve.tmreport(action_body,req);
if(rtn.code>0){
opResult=system.getResultSuccess();
}else{
opResult=system.getResultFail();
}
break; break;
default: default:
opResult = system.getResult(null, "action_type参数错误"); opResult = system.getResult(null, "action_type参数错误");
......
...@@ -2676,6 +2676,6 @@ ...@@ -2676,6 +2676,6 @@
{"status":0,"msg":"success","data":null,"requestId":"3b8c2108ec8743c0a138081c5223f91c"} {"status":0,"msg":"success","data":null,"requestId":"3b8c2108ec8743c0a138081c5223f91c"}
``` ```
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