Commit 56925d03 by 宋毅

Merge branch 'center-channel' of gitlab.gongsibao.com:jiangyong/zhichan into center-channel

parents 53200b9c a73a433c
...@@ -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参数错误");
......
...@@ -115,7 +115,7 @@ class SignService{ ...@@ -115,7 +115,7 @@ class SignService{
} }
module.exports = SignService; module.exports = SignService;
var task = new SignService(); // var task = new SignService();
// var obj = { // var obj = {
// "actionType": "serviceProviderSubmitMaterial", // "actionType": "serviceProviderSubmitMaterial",
// "actionBody": { // "actionBody": {
......
...@@ -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