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
1dfa4f5b
Commit
1dfa4f5b
authored
Apr 17, 2020
by
王栋源
Browse files
Options
Browse Files
Download
Plain Diff
wdy
parents
f3e6a2ba
6585e2cb
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
20 additions
and
12 deletions
+20
-12
center-channel/app/base/service/impl/common/centerorderSve.js
+12
-7
center-channel/app/front/entry/public/apidoc/platform/icpOrder.md
+8
-5
No files found.
center-channel/app/base/service/impl/common/centerorderSve.js
View file @
1dfa4f5b
...
...
@@ -287,7 +287,7 @@ class CenterorderService extends AppServiceBase {
};
var
self
=
this
;
//推送方案
//
this.pushIcpSolution(pushObj,needsolution.solutionNo,pobj.appInfo,self);
this
.
pushIcpSolution
(
pushObj
,
needsolution
.
solutionNo
,
pobj
.
appInfo
,
self
);
return
system
.
getResultSuccess
();
}
return
res
;
...
...
@@ -310,7 +310,7 @@ class CenterorderService extends AppServiceBase {
var
a
=
await
self
.
reqCenterOrderApi
(
reqObj2
);
//保存渠道方案id
if
(
a
&&
a
.
status
==
0
)
{
//推送方案确认信息
await
self
.
aliclient
.
reqbyget
({
action
:
"ConfirmIntention"
,
reqbody
:
{
BizId
:
resData
.
BizId
}
});
await
self
.
aliclient
.
reqbyget
({
action
:
"ConfirmIntention"
,
reqbody
:{
BizId
:
pushObj
.
IntentionBizId
},
apiVersion
:
"2019-05-08"
});
}
}
}
...
...
@@ -356,7 +356,7 @@ class CenterorderService extends AppServiceBase {
};
var
self
=
this
;
//推送方案材料
// self.aliclient.reqbyget({action:"SavePartnerSubmitMaterial",reqbody:pushObj
});
self
.
aliclient
.
reqbyget
({
action
:
"SavePartnerSubmitMaterial"
,
reqbody
:
pushObj
,
apiVersion
:
"2019-05-08"
});
return
system
.
getResultSuccess
();
}
return
res
;
...
...
@@ -367,9 +367,14 @@ class CenterorderService extends AppServiceBase {
if
(
res
&&
res
.
status
==
0
&&
res
.
data
)
{
var
ab
=
pobj
.
actionBody
;
//推送数据至阿里
var
pushObj
=
res
.
data
;
// var pushObj = res.data;
var
pushObj
=
{
BizId
:
res
.
data
.
BizId
,
OfficialFileURL
:
res
.
data
.
OfficialFileURL
,
ApplicationStatus
:
res
.
data
.
ApplicationStatus
};
//推送方案
//this.aliclient.reqbyget({action:"AcceptPartnerNotification",reqbody:pushObj
});
this
.
aliclient
.
reqbyget
({
action
:
"AcceptPartnerNotification"
,
reqbody
:
pushObj
,
apiVersion
:
"2019-05-08"
});
return
system
.
getResultSuccess
();
}
return
res
;
...
...
@@ -387,8 +392,8 @@ class CenterorderService extends AppServiceBase {
var
pushObj
=
{
BizId
:
ab
.
BizId
,
Note
:
ab
.
Note
};
//
推送
方案
//this.aliclient.reqbyget({action:"CloseIcpProduce",reqbody:pushObj
});
//
关闭
方案
this
.
aliclient
.
reqbyget
({
action
:
"CloseIcpProduce"
,
reqbody
:
pushObj
,
apiVersion
:
"2019-05-08"
});
return
system
.
getResultSuccess
();
}
return
res
;
...
...
center-channel/app/front/entry/public/apidoc/platform/icpOrder.md
View file @
1dfa4f5b
...
...
@@ -406,7 +406,7 @@ ApplicationStatus:
## **<a name="getNeedSolutionDetailByUser"> 获取方案详情</a>**
[
返回到目录
](
#menu
)
##### URL
[
/web/action/icapi/springBoard
]
[
/web/action/ic
p
api/springBoard
]
#### 参数格式 `JSON`
#### HTTP请求方式 `POST`
#### 请求头中需要增加userpin(用户登录后的凭证)的值
...
...
@@ -427,14 +427,18 @@ ApplicationStatus:
{
"status"
:
0
,
"msg"
:
"success"
,
"data"
:[
{
"data"
:{
"id"
:
230
,
"channelNeedNo"
:
"I20200320201737000221"
,
//渠道需求号
"needNo"
:
"N202004111217gD5T8TJ"
,
//需求号
"solutionNo"
:
"NS202004131349EAWwSV"
,
//方案号
"channelSolutionNo"
:
"S20200323174838000zhb7"
,
//渠道方案号 同BizId
"orderNo"
:
null
,
//服务订单号
"needinfo"
:{
//需求信息 ---- 联系人信息
"publishName"
:
"云武"
,
"publishMobile"
:
"13800138000"
,
"channelUserId"
:
"13800138000"
},
"solutionContent"
:{
//方案交付信息
"notes"
:
""
,
//用户反馈备注
"status"
:
"ACCOUNT_REGISTERED"
,
//方案流程状态
...
...
@@ -504,8 +508,7 @@ ApplicationStatus:
"updated_at"
:
"2020-04-13T05:51:08.000Z"
,
"deleted_at"
:
null
,
"version"
:
0
}
],
},
"requestId"
:
"1594aa8fabfd42eba332160263b2597e"
}
```
...
...
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