Commit a73a433c by 任晓松

腾讯需求导入

parent cf1303ac
...@@ -124,8 +124,8 @@ class Need extends APIBase { ...@@ -124,8 +124,8 @@ class Need extends APIBase {
// break; // break;
break; break;
//-----------接入百度ICP------end---------------------------------- //-----------接入百度ICP------end----------------------------------
case "exportNeeds": case "importNeeds":
opResult = await this.utilsNeedSve.exportNeeds(pobj,req); opResult = await this.utilsNeedSve.importNeeds(pobj,req);
break; break;
default: default:
opResult = system.getResult(null, "action_type参数错误"); opResult = system.getResult(null, "action_type参数错误");
......
...@@ -1581,7 +1581,7 @@ class UtilsNeedService extends AppServiceBase { ...@@ -1581,7 +1581,7 @@ class UtilsNeedService extends AppServiceBase {
} }
//-----------接入百度ICP------end---------------------------------- //-----------接入百度ICP------end----------------------------------
async exportNeeds(pobj,req){ async importNeeds(pobj,req){
let url = this.centerOrderUrl + 'action/need/springBoard'; let url = this.centerOrderUrl + 'action/need/springBoard';
if(!pobj.actionBody.needsArr){ if(!pobj.actionBody.needsArr){
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