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
9481d46d
Commit
9481d46d
authored
Mar 17, 2020
by
庄冰
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ic2
parent
38ee957b
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
8 additions
and
6 deletions
+8
-6
center-channel/app/base/service/impl/common/centerorderSve.js
+6
-5
center-channel/app/config/routes/api.js
+2
-1
No files found.
center-channel/app/base/service/impl/common/centerorderSve.js
View file @
9481d46d
...
@@ -25,10 +25,10 @@ class CenterorderService{
...
@@ -25,10 +25,10 @@ class CenterorderService{
var
needinfo
=
res
.
data
.
needinfo
;
//需求信息
var
needinfo
=
res
.
data
.
needinfo
;
//需求信息
var
needsolution
=
res
.
data
.
needsolution
;
//方案信息
var
needsolution
=
res
.
data
.
needsolution
;
//方案信息
//推送数据至阿
//推送数据至阿
var
bizType
=
pobj
.
actionBody
.
solutionContent
.
bizType
||
""
;
//业务类型里
//
var bizType = pobj.actionBody.solutionContent.bizType || "";//业务类型里
var
pushObj
=
{
//
var pushObj = {
intentionBizId
:
needinfo
.
channelNeedNo
,
bizType
:
bizType
,
solution
:
ab
.
solutionContent
.
solution
//
intentionBizId:needinfo.channelNeedNo,bizType:bizType,solution:ab.solutionContent.solution
};
//
};
// var pushRes = await this.aliclient.reqbyget({action:"",reqbody:pushObj});
// var pushRes = await this.aliclient.reqbyget({action:"",reqbody:pushObj});
// if(pushRes && pushRes.SolutionBizId){
// if(pushRes && pushRes.SolutionBizId){
// var reqObj2 = {
// var reqObj2 = {
...
@@ -40,8 +40,9 @@ class CenterorderService{
...
@@ -40,8 +40,9 @@ class CenterorderService{
// };
// };
// await this.reqCenterOrderApi(reqObj2);//保存渠道方案id
// await this.reqCenterOrderApi(reqObj2);//保存渠道方案id
// }
// }
return
system
.
getResultSuccess
();
}
}
return
system
.
getResultSuccess
()
;
return
res
;
}
}
//服务商方案作废
//服务商方案作废
async
abolishProgramme
(
pobj
){
async
abolishProgramme
(
pobj
){
...
...
center-channel/app/config/routes/api.js
View file @
9481d46d
...
@@ -93,7 +93,8 @@ module.exports = function (app) {
...
@@ -93,7 +93,8 @@ module.exports = function (app) {
"tmConfirm"
,
"updateTmInfo"
,
"tmConfirm"
,
"updateTmInfo"
,
"updateNclInfo"
,
"updateContacts"
,
"updateNclInfo"
,
"updateContacts"
,
"updateCustomerInfo"
,
"addOrderAndDelivery"
,
"updateCustomerInfo"
,
"addOrderAndDelivery"
,
"updateOrderPayStatus"
,
"getPolicyNeedList"
,
"submitPolicyNeedNotes"
"updateOrderPayStatus"
,
"getPolicyNeedList"
,
"submitPolicyNeedNotes"
,
"submitProgramme"
,
"getProgrammeInfoByNeedNo"
,
"abolishProgramme"
];
];
if
(
lst
.
indexOf
(
req
.
body
.
actionType
)
>=
0
)
{
if
(
lst
.
indexOf
(
req
.
body
.
actionType
)
>=
0
)
{
var
userpin
=
req
.
headers
[
"userpin"
]
||
""
;
var
userpin
=
req
.
headers
[
"userpin"
]
||
""
;
...
...
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