Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
Z
zhichan
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
蒋勇
zhichan
Commits
f2f11dc2
Commit
f2f11dc2
authored
Nov 06, 2020
by
宋毅
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
tj
parent
a8dc991e
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
23 additions
and
23 deletions
+23
-23
center-channel/app/base/api/impl/action/qcapi.js
+21
-21
center-channel/app/base/service/impl/common/qcCenterOrderSve.js
+2
-2
No files found.
center-channel/app/base/api/impl/action/qcapi.js
View file @
f2f11dc2
...
...
@@ -4,7 +4,7 @@ var settings = require("../../../../config/settings");
class
QcAPI
extends
APIBase
{
constructor
()
{
super
();
this
.
centero
rderSve
=
system
.
getObject
(
"service.common.qcCenterOrderSve"
);
this
.
qcCenterO
rderSve
=
system
.
getObject
(
"service.common.qcCenterOrderSve"
);
}
/**
* 接口跳转-POST请求
...
...
@@ -23,70 +23,70 @@ class QcAPI extends APIBase {
var
opResult
=
null
;
switch
(
action_type
)
{
case
"getNeedSolutionDetailByUser"
:
//获取方案详情
opResult
=
await
this
.
centero
rderSve
.
reqCenterOrderApi
(
pobj
,
"action/qcapi/springBoard"
);
opResult
=
await
this
.
qcCenterO
rderSve
.
reqCenterOrderApi
(
pobj
,
"action/qcapi/springBoard"
);
break
;
case
"submitIcpProgramme"
:
//icp方案提交
opResult
=
await
this
.
centero
rderSve
.
submitIcpProgramme
(
pobj
);
opResult
=
await
this
.
qcCenterO
rderSve
.
submitIcpProgramme
(
pobj
);
break
;
case
"receiveProgrammeNo"
:
//接收渠道方案号(测试)
opResult
=
await
this
.
centero
rderSve
.
reqCenterOrderApi
(
pobj
);
opResult
=
await
this
.
qcCenterO
rderSve
.
reqCenterOrderApi
(
pobj
);
break
;
// case "submitIcpMaterial"://icp材料提交
// opResult = await this.
centero
rderSve.submitIcpMaterial(pobj);
// opResult = await this.
qcCenterO
rderSve.submitIcpMaterial(pobj);
// break;
// case "acceptIcpPartnerNotification"://icp通知状态变更
// opResult = await this.
centero
rderSve.acceptIcpPartnerNotification(pobj);
// opResult = await this.
qcCenterO
rderSve.acceptIcpPartnerNotification(pobj);
// break;
case
"abolishIcpProgramme"
:
//服务商icp方案关闭
opResult
=
await
this
.
centero
rderSve
.
abolishIcpProgramme
(
pobj
);
opResult
=
await
this
.
qcCenterO
rderSve
.
abolishIcpProgramme
(
pobj
);
break
;
case
"getProgrammeInfoByChannelNeedNo"
:
//获取需求方案列表
opResult
=
await
this
.
centero
rderSve
.
reqCenterOrderApi
(
pobj
,
"action/qcapi/springBoard"
);
opResult
=
await
this
.
qcCenterO
rderSve
.
reqCenterOrderApi
(
pobj
,
"action/qcapi/springBoard"
);
break
;
case
"serviceProviderSubmitMaterial"
:
//交付商提交材料信息
opResult
=
await
this
.
centero
rderSve
.
serviceProviderSubmitMaterial
(
pobj
);
opResult
=
await
this
.
qcCenterO
rderSve
.
serviceProviderSubmitMaterial
(
pobj
);
break
;
case
"serviceProviderNotification"
:
//交付商通知状态变更
opResult
=
await
this
.
centero
rderSve
.
serviceProviderNotification
(
pobj
);
opResult
=
await
this
.
qcCenterO
rderSve
.
serviceProviderNotification
(
pobj
);
break
;
case
"closeOrderDelivery"
:
//交付商关闭交付单
opResult
=
await
this
.
centero
rderSve
.
closeOrderDelivery
(
pobj
);
opResult
=
await
this
.
qcCenterO
rderSve
.
closeOrderDelivery
(
pobj
);
break
;
// --------- 文网文 ---------
case
"serviceSubmitOption"
:
//服务商提交服务操作(文网文)2020-9-26
opResult
=
await
this
.
centero
rderSve
.
serviceSubmitOption
(
pobj
);
opResult
=
await
this
.
qcCenterO
rderSve
.
serviceSubmitOption
(
pobj
);
break
;
case
"submitWangwenSolution"
:
//提交方案(文网文)2020-9-26
opResult
=
await
this
.
centero
rderSve
.
submitWangwenSolution
(
pobj
);
opResult
=
await
this
.
qcCenterO
rderSve
.
submitWangwenSolution
(
pobj
);
break
;
case
"closeNeed"
:
//关闭需求(文网文)2020-9-28
opResult
=
await
this
.
centero
rderSve
.
closeNeed
(
pobj
);
opResult
=
await
this
.
qcCenterO
rderSve
.
closeNeed
(
pobj
);
break
;
case
"recordLog"
:
//提交沟通记录(文网文)2020-9-28
opResult
=
await
this
.
centero
rderSve
.
recordLog
(
pobj
);
opResult
=
await
this
.
qcCenterO
rderSve
.
recordLog
(
pobj
);
break
;
case
"recordLogList"
:
//查询沟通记录(文网文)2020-9-29
opResult
=
await
this
.
centero
rderSve
.
recordLogList
(
pobj
);
opResult
=
await
this
.
qcCenterO
rderSve
.
recordLogList
(
pobj
);
break
;
// --------- 食品 ---------
case
"foodServiceSubmitOption"
:
//服务商提交服务操作(文网文)2020-9-26
opResult
=
await
this
.
centero
rderSve
.
foodServiceSubmitOption
(
pobj
);
opResult
=
await
this
.
qcCenterO
rderSve
.
foodServiceSubmitOption
(
pobj
);
break
;
case
"submitFoodSolution"
:
//提交方案(文网文)2020-9-26
opResult
=
await
this
.
centero
rderSve
.
submitFoodSolution
(
pobj
);
opResult
=
await
this
.
qcCenterO
rderSve
.
submitFoodSolution
(
pobj
);
break
;
case
"foodCloseNeed"
:
//关闭需求(文网文)2020-9-28
opResult
=
await
this
.
centero
rderSve
.
foodCloseNeed
(
pobj
);
opResult
=
await
this
.
qcCenterO
rderSve
.
foodCloseNeed
(
pobj
);
break
;
case
"foodRecordLog"
:
//提交沟通记录(文网文)2020-9-28
opResult
=
await
this
.
centero
rderSve
.
foodRecordLog
(
pobj
);
opResult
=
await
this
.
qcCenterO
rderSve
.
foodRecordLog
(
pobj
);
break
;
case
"foodRecordLogList"
:
//查询沟通记录(文网文)2020-9-29
opResult
=
await
this
.
centero
rderSve
.
foodRecordLogList
(
pobj
);
opResult
=
await
this
.
qcCenterO
rderSve
.
foodRecordLogList
(
pobj
);
break
;
default
:
...
...
center-channel/app/base/service/impl/common/qcCenterOrderSve.js
View file @
f2f11dc2
...
...
@@ -660,8 +660,8 @@ async foodRecordLogList(pobj) {
return
system
.
getResult
(
null
,
"interface_params can not be empty,100400"
);
}
let
interface_params_info
=
JSON
.
parse
(
pobj
.
interface_params
);
if
(
!
interface_params_info
||
!
interface_params_info
.
pushUrl
||
!
interface_params_info
.
action
||
interface_params_info
.
apiVersion
)
{
return
system
.
getResult
(
null
,
"interface_params(
pushUrl、
action、apiVersion) can not be empty,100430"
);
if
(
!
interface_params_info
||
!
interface_params_info
.
action
||
interface_params_info
.
apiVersion
)
{
return
system
.
getResult
(
null
,
"interface_params(action、apiVersion) can not be empty,100430"
);
}
let
pushObj
=
{
BizId
:
pobj
.
pushObj
.
BizId
,
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment