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
3ccd47a7
Commit
3ccd47a7
authored
Mar 23, 2020
by
庄冰
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
pushSubmitSolution
parent
ff258937
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
38 additions
and
5 deletions
+38
-5
center-channel/app/base/service/impl/common/centerorderSve.js
+38
-5
No files found.
center-channel/app/base/service/impl/common/centerorderSve.js
View file @
3ccd47a7
...
...
@@ -37,7 +37,7 @@ class CenterorderService {
};
var
self
=
this
;
//推送方案
this
.
pushSubmitSolution
(
pushObj
,
self
);
this
.
pushSubmitSolution
(
pushObj
,
needsolution
.
solutionNo
,
pobj
,
appInfo
,
self
);
// this.aliclient.reqbyget({action:"SubmitSolution",reqbody:pushObj}).then(pushRes=>{
// if(pushRes && pushRes.status==0 && pushRes.data){
// var resData = pushRes.data;
...
...
@@ -62,18 +62,20 @@ class CenterorderService {
return
system
.
getResultSuccess
();
}
//推送方案
async
pushSubmitSolution
(
pushObj
,
self
){
async
pushSubmitSolution
(
pushObj
,
s
olutionNo
,
appInfo
,
s
elf
){
var
pushRes
=
await
self
.
aliclient
.
reqbyget
({
action
:
"SubmitSolution"
,
reqbody
:
pushObj
});
if
(
pushRes
&&
pushRes
.
status
==
0
&&
pushRes
.
data
){
var
resData
=
pushRes
.
data
;
var
reqObj2
=
{
actionType
:
"receiveProgrammeNo"
,
appInfo
:
appInfo
,
actionBody
:{
solutionNo
:
needsolution
.
solutionNo
,
solutionNo
:
solutionNo
,
solutionBizId
:
resData
.
SolutionBizId
}
};
await
self
.
reqCenterOrderApi
(
reqObj2
);
//保存渠道方案id
var
a
=
await
self
.
reqCenterOrderApi
(
reqObj2
);
//保存渠道方案id
return
a
;
}
}
//服务商方案作废
...
...
@@ -238,7 +240,38 @@ module.exports = CenterorderService;
// "userpin":"c49330125e0445019d1ea5acfcb41927"
// }
// };
// task.submitProgramme(pobj).then(d=>{
// var self = task;
// var pushObj = {
// status:0,
// data:{
// "RequestId":"771F6CB6-9FA0-4DE7-AB49-8B41B0F5D45D",
// "ErrorMsg":"",
// "ErrorCode":"",
// "SolutionBizId":"S20200323174838000001",
// "Success":true
// }
// };
// var appInfo={
// "id":17,
// "app_hosts":"gsbweb.qifu.gongsibao.com",
// "app_code":"gsbweb",
// "app_name":"公司宝官网web应用",
// "uapp_id":"22",
// "uapp_key":"201912141625",
// "uapp_secret":"8cbb846776874167b5c7e01cd0116c66",
// "contact_name":"宋毅",
// "contact_mobile":"15010929366",
// "contact_email":null,
// "is_enabled":1,
// "is_sign":0,
// "pay_type":"10",
// "delivery_type":"10",
// "created_at":"2020-03-11T22:13:48.000Z",
// "version":0,
// "token":"d23241c188814e12af41d7c9032712d3"
// };
//推送方案
// task.pushSubmitSolution(pushObj,"NS202003231748T0zBlC",appInfo,self).then(d=>{
// console.log(d,"!!!!!!!!!!!!!!!!!!!!!!!!!!!!!");
// })
// 提方案-SubmitSolution
...
...
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