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
8cdbe604
Commit
8cdbe604
authored
Nov 16, 2020
by
兰国旗
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
laolan
parent
3feac937
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
52 additions
and
28 deletions
+52
-28
center-channel/app/base/api/impl/action/qcapi.js
+47
-21
center-channel/app/base/service/impl/common/baseCenterOrderSve.js
+0
-0
center-channel/app/base/service/impl/common/ncSve.js
+0
-0
center-channel/app/base/service/impl/common/rtSve.js
+0
-0
center-channel/app/base/utils/baiduClient.js
+0
-3
center-channel/app/config/businessConfig.js
+5
-4
No files found.
center-channel/app/base/api/impl/action/qcapi.js
View file @
8cdbe604
...
@@ -6,6 +6,8 @@ class QcAPI extends APIBase {
...
@@ -6,6 +6,8 @@ class QcAPI extends APIBase {
super
();
super
();
this
.
qcCenterOrderSve
=
system
.
getObject
(
"service.common.qcCenterOrderSve"
);
this
.
qcCenterOrderSve
=
system
.
getObject
(
"service.common.qcCenterOrderSve"
);
this
.
baseOrderSve
=
system
.
getObject
(
"service.common.baseCenterOrderSve"
);
this
.
baseOrderSve
=
system
.
getObject
(
"service.common.baseCenterOrderSve"
);
this
.
ncSve
=
system
.
getObject
(
"service.common.ncSve"
);
this
.
rtSve
=
system
.
getObject
(
"service.common.rtSve"
);
}
}
/**
/**
* 接口跳转-POST请求
* 接口跳转-POST请求
...
@@ -54,40 +56,64 @@ class QcAPI extends APIBase {
...
@@ -54,40 +56,64 @@ class QcAPI extends APIBase {
opResult
=
await
this
.
qcCenterOrderSve
.
closeOrderDelivery
(
pobj
);
opResult
=
await
this
.
qcCenterOrderSve
.
closeOrderDelivery
(
pobj
);
break
;
break
;
// ---------
文
网文 ---------
// --------- 网文 ---------
case
"nc
ServiceSubmitOption"
:
//服务商提交服务操作(文网文)2020-9-26
case
"nc
GetNeedList"
:
//查询需求列表(网文)2020-11-11
opResult
=
await
this
.
qcCenterOrderSve
.
ncServiceSubmitOption
(
pobj
);
opResult
=
await
this
.
ncSve
.
ncGetNeedList
(
pobj
);
break
;
break
;
case
"ncSubmit
Solution"
:
//提交方案(文网文)2020-9-26
case
"ncSubmit
Material"
:
//交付材料提交(网文)2020-11-11
opResult
=
await
this
.
qcCenterOrderSve
.
ncSubmitSolution
(
pobj
);
opResult
=
await
this
.
ncSve
.
ncSubmitMaterial
(
pobj
);
break
;
break
;
case
"nc
CloseNeed"
:
//关闭需求(文网文)2020-9-28
case
"nc
Notification"
:
//状态通知(网文)2020-11-11
opResult
=
await
this
.
qcCenterOrderSve
.
ncCloseNeed
(
pobj
);
opResult
=
await
this
.
ncSve
.
ncNotification
(
pobj
);
break
;
break
;
case
"nc
RecordLog"
:
//提交沟通记录(文网文)2020-9-28
case
"nc
SubmitSolution"
:
//提交方案(网文)2020-11-11
opResult
=
await
this
.
qcCenterOrderSve
.
ncRecordLog
(
pobj
);
opResult
=
await
this
.
ncSve
.
ncSubmitSolution
(
pobj
);
break
;
break
;
case
"ncRecordLogList"
:
//查询沟通记录(文网文)2020-9-29
case
"ncWriteCommunicationRecord"
:
//提交沟通记录(网文)2020-11-11
opResult
=
await
this
.
qcCenterOrderSve
.
ncRecordLogList
(
pobj
);
opResult
=
await
this
.
ncSve
.
ncWriteCommunicationRecord
(
pobj
);
break
;
case
"ncGetCommunicationRecord"
:
//查询沟通记录(网文)2020-11-11
opResult
=
await
this
.
ncSve
.
ncGetCommunicationRecord
(
pobj
);
break
;
case
"ncCloseNeed"
:
//关闭需求(网文)2020-11-11
opResult
=
await
this
.
ncSve
.
ncCloseNeed
(
pobj
);
break
;
case
"ncClosePlan"
:
//关闭方案(网文)2020-11-11
opResult
=
await
this
.
ncSve
.
ncClosePlan
(
pobj
);
break
;
case
"ncCloseOrderDelivery"
:
//关闭交付单(网文)2020-11-11
opResult
=
await
this
.
ncSve
.
ncCloseOrderDelivery
(
pobj
);
break
;
break
;
// --------- 广电 ---------
// --------- 广电 ---------
case
"rtServiceSubmitOption"
:
//服务商提交服务操作(文网文)2020-9-26
case
"rtGetNeedList"
:
//查询需求列表(广电)2020-11-11
opResult
=
await
this
.
qcCenterOrderSve
.
rtServiceSubmitOption
(
pobj
);
opResult
=
await
this
.
rtSve
.
rtGetNeedList
(
pobj
);
break
;
case
"rtSubmitMaterial"
:
//交付材料提交(广电)2020-11-11
opResult
=
await
this
.
rtSve
.
rtSubmitMaterial
(
pobj
);
break
;
case
"rtNotification"
:
//状态通知(广电)2020-11-11
opResult
=
await
this
.
rtSve
.
rtNotification
(
pobj
);
break
;
case
"rtSubmitSolution"
:
//提交方案(广电)2020-11-11
opResult
=
await
this
.
rtSve
.
rtSubmitSolution
(
pobj
);
break
;
case
"rtWriteCommunicationRecord"
:
//提交沟通记录(广电)2020-11-11
opResult
=
await
this
.
rtSve
.
rtWriteCommunicationRecord
(
pobj
);
break
;
break
;
case
"rt
SubmitSolution"
:
//提交方案(文网文)2020-9-26
case
"rt
GetCommunicationRecord"
:
//查询沟通记录(广电)2020-11-11
opResult
=
await
this
.
qcCenterOrderSve
.
rtSubmitSolution
(
pobj
);
opResult
=
await
this
.
rtSve
.
rtGetCommunicationRecord
(
pobj
);
break
;
break
;
case
"rtCloseNeed"
:
//关闭需求(
文网文)2020-9-28
case
"rtCloseNeed"
:
//关闭需求(
广电)2020-11-11
opResult
=
await
this
.
qcCenterOrder
Sve
.
rtCloseNeed
(
pobj
);
opResult
=
await
this
.
rt
Sve
.
rtCloseNeed
(
pobj
);
break
;
break
;
case
"rt
RecordLog"
:
//提交沟通记录(文网文)2020-9-28
case
"rt
ClosePlan"
:
//关闭方案(广电)2020-11-11
opResult
=
await
this
.
qcCenterOrderSve
.
rtRecordLog
(
pobj
);
opResult
=
await
this
.
rtSve
.
rtClosePlan
(
pobj
);
break
;
break
;
case
"rt
RecordLogList"
:
//查询沟通记录(文网文)2020-9-29
case
"rt
CloseOrderDelivery"
:
//关闭交付单(广电)2020-11-11
opResult
=
await
this
.
qcCenterOrderSve
.
rtRecordLogList
(
pobj
);
opResult
=
await
this
.
rtSve
.
rtCloseOrderDelivery
(
pobj
);
break
;
break
;
default
:
default
:
...
...
center-channel/app/base/service/impl/common/baseCenterOrderSve.js
View file @
8cdbe604
This diff is collapsed.
Click to expand it.
center-channel/app/base/service/impl/common/ncSve.js
View file @
8cdbe604
This diff is collapsed.
Click to expand it.
center-channel/app/base/service/impl/common/rtSve.js
View file @
8cdbe604
This diff is collapsed.
Click to expand it.
center-channel/app/base/utils/baiduClient.js
View file @
8cdbe604
const
co
=
require
(
"co"
);
var
request
=
require
(
"request"
);
const
crypto
=
require
(
'crypto'
);
const
crypto
=
require
(
'crypto'
);
const
sha256
=
require
(
'sha256'
);
const
sha256
=
require
(
'sha256'
);
var
urlencode
=
require
(
'urlencode'
);
const
system
=
require
(
"../system"
);
const
system
=
require
(
"../system"
);
class
baiduClient
{
class
baiduClient
{
constructor
()
{
constructor
()
{
...
...
center-channel/app/config/businessConfig.js
View file @
8cdbe604
...
@@ -14,15 +14,16 @@ module.exports = {
...
@@ -14,15 +14,16 @@ module.exports = {
"orderTotalSum"
,
"collect"
,
"reg"
,
"orderCheck"
,
"getReOrderList"
,
"getOfficalList"
,
"addReviewList"
,
"opSubmitNeed"
,
"opNeedClose"
,
"opNeedList"
,
"orderTotalSum"
,
"collect"
,
"reg"
,
"orderCheck"
,
"getReOrderList"
,
"getOfficalList"
,
"addReviewList"
,
"opSubmitNeed"
,
"opNeedClose"
,
"opNeedList"
,
"getItemByNeedNo"
,
"opNeedDetailByChannelNo"
,
"getNeedListUser"
,
"manualEvaluation"
,
"diagnosisInfo"
,
"check"
,
"enterpriseInfo"
,
"diagnosisDetail"
,
"getItemByNeedNo"
,
"opNeedDetailByChannelNo"
,
"getNeedListUser"
,
"manualEvaluation"
,
"diagnosisInfo"
,
"check"
,
"enterpriseInfo"
,
"diagnosisDetail"
,
"submitIcpIntention"
,
"queryIntentionList"
,
"confirmIcpIntention"
,
"tmAccept"
,
"tmStatus"
,
"needBatchUpload"
,
"submitIcpIntention"
,
"queryIntentionList"
,
"confirmIcpIntention"
,
"tmAccept"
,
"tmStatus"
,
"needBatchUpload"
,
"ncServiceSubmitOption"
,
"ncSubmitSolution"
,
"ncCloseNeed"
,
"ncWriteCommunicationRecord"
,
"ncGetCommunicationRecord"
,
"rtServiceSubmitOption"
,
"rtSubmitSolution"
,
"ncSubmitMaterial"
,
"ncNotification"
,
"ncSubmitSolution"
,
"ncWriteCommunicationRecord"
,
"ncGetCommunicationRecord"
,
"ncCloseNeed"
,
"ncClosePlan"
,
"ncCloseOrderDelivery"
,
"rtCloseNeed"
,
"rtWriteCommunicationRecord"
,
"rtGetCommunicationRecord"
,
"getParamsFor360"
,
"addOrderWeb"
,
"getPayRecords"
,
"getLoginInfo"
,
"putUserMobileByVcode"
,
"rtSubmitMaterial"
,
"rtNotification"
,
"rtSubmitSolution"
,
"rtWriteCommunicationRecord"
,
"rtGetCommunicationRecord"
,
"rtCloseNeed"
,
"rtClosePlan"
,
"rtCloseOrderDelivery"
,
"getParamsFor360"
,
"addOrderWeb"
,
"getPayRecords"
,
"getLoginInfo"
,
"putUserMobileByVcode"
,
"putUserPwdByMobile"
,
"icpNotifyNew"
"putUserPwdByMobile"
,
"icpNotifyNew"
],
],
apiMustUserpinList
:
[
apiMustUserpinList
:
[
"submitNeed"
,
"paySuccess"
,
"icpNotify"
,
"getLoginInfo"
,
"icpNotifyNew"
,
"submitIcpProgramme"
,
"serviceProviderSubmitMaterial"
,
"abolishIcpProgramme"
,
"submitNeed"
,
"paySuccess"
,
"icpNotify"
,
"getLoginInfo"
,
"icpNotifyNew"
,
"submitIcpProgramme"
,
"serviceProviderSubmitMaterial"
,
"abolishIcpProgramme"
,
"submitService"
,
"serviceProviderNotification"
,
"submitService"
,
"serviceProviderNotification"
,
"nc
ServiceSubmitOption"
,
"ncSubmitSolution"
,
"ncCloseNeed"
,
"ncWriteCommunicationRecord"
,
"ncGetCommunicationRecord"
,
"rtServiceSubmitOption"
,
"rtSubmitSolution
"
,
"nc
GetNeedList"
,
"ncSubmitMaterial"
,
"ncNotification"
,
"ncSubmitSolution"
,
"ncWriteCommunicationRecord"
,
"ncGetCommunicationRecord"
,
"ncCloseNeed"
,
"ncClosePlan"
,
"ncCloseOrderDelivery
"
,
"rt
CloseNeed"
,
"rtWriteCommunicationRecord"
,
"rtGetCommunicationRecord
"
,
"rt
GetNeedList"
,
"rtSubmitMaterial"
,
"rtNotification"
,
"rtSubmitSolution"
,
"rtWriteCommunicationRecord"
,
"rtGetCommunicationRecord"
,
"rtCloseNeed"
,
"rtClosePlan"
,
"rtCloseOrderDelivery
"
,
],
],
apiSecretPathList
:
[
"/api/icp/consultation/submit"
,
"/api/icp/feedback/submit"
,
"/api/icp/order/notify"
,
"/api/opreceive/service/create"
,
"/api/icp/order/close"
,
"/api/opreceive/service/notify"
]
apiSecretPathList
:
[
"/api/icp/consultation/submit"
,
"/api/icp/feedback/submit"
,
"/api/icp/order/notify"
,
"/api/opreceive/service/create"
,
"/api/icp/order/close"
,
"/api/opreceive/service/notify"
]
}
}
...
...
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