Commit 222aa53f by 任晓松

update

parent bc8b3a41
...@@ -309,9 +309,6 @@ class utilsDeliverSve extends AppServiceBase{ ...@@ -309,9 +309,6 @@ class utilsDeliverSve extends AppServiceBase{
if(!actionBody.name){ if(!actionBody.name){
return system.getResult(null,'name can be not empty'); return system.getResult(null,'name can be not empty');
} }
if(!actionBody.dutyName){
return system.getResult(null,'dutyName can not be empty');
}
if(!actionBody.duty){ if(!actionBody.duty){
return system.getResult(null,'duty can not be empty'); return system.getResult(null,'duty can not be empty');
} }
...@@ -325,7 +322,7 @@ class utilsDeliverSve extends AppServiceBase{ ...@@ -325,7 +322,7 @@ class utilsDeliverSve extends AppServiceBase{
return system.getResult(null, 'num can be not empty'); return system.getResult(null, 'num can be not empty');
} }
let url = this.fileDealUrl + '/gsb/tmassessagent'; let url = this.fileDealUrl + '/gsb/tmassessagent';
let result = this.restPostUrl(actionBody,url); let result =await this.restPostUrl(actionBody,url);
if(result.status !=1){ if(result.status !=1){
return system.getResultFail(-1,'合成失败!'); return system.getResultFail(-1,'合成失败!');
} }
......
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