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
357d5758
Commit
357d5758
authored
Apr 10, 2020
by
庄冰
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
icp
parent
4fa85af3
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
23 additions
and
20 deletions
+23
-20
center-channel/app/base/api/impl/action/icpapi.js
+1
-1
center-channel/app/base/service/impl/common/centerorderSve.js
+4
-4
center-channel/app/config/routes/api.js
+1
-0
center-channel/app/front/entry/public/apidoc/platform/icpOrder.md
+17
-15
No files found.
center-channel/app/base/api/impl/action/icpapi.js
View file @
357d5758
...
...
@@ -38,7 +38,7 @@ class IcpAPI extends APIBase {
opResult
=
await
this
.
centerorderSve
.
submitIcpMaterial
(
pobj
);
break
;
case
"acceptIcpPartnerNotification"
:
//icp通知状态变更
opResult
=
await
this
.
centerorderSve
.
updateStausByRefundOrder
(
pobj
);
opResult
=
await
this
.
centerorderSve
.
acceptIcpPartnerNotification
(
pobj
);
break
;
case
"abolishIcpProgramme"
:
//服务商icp方案关闭
opResult
=
await
this
.
centerorderSve
.
abolishIcpProgramme
(
pobj
);
...
...
center-channel/app/base/service/impl/common/centerorderSve.js
View file @
357d5758
...
...
@@ -200,7 +200,7 @@ class CenterorderService {
//--------------------------阿里ICP---start--------------------------------------------------------
//提交公司注册方案
async
submitIcpProgramme
(
pobj
)
{
var
res
=
await
this
.
reqCenterOrderApi
(
pobj
);
var
res
=
await
this
.
reqCenterOrderApi
(
pobj
,
"action/icpapi/springBoard"
);
if
(
res
&&
res
.
status
==
0
&&
res
.
data
&&
res
.
data
.
needinfo
&&
res
.
data
.
needsolution
){
var
needinfo
=
res
.
data
.
needinfo
;
//需求信息
var
needsolution
=
res
.
data
.
needsolution
;
//方案信息
...
...
@@ -225,7 +225,7 @@ class CenterorderService {
}
//icp材料提交
async
submitIcpMaterial
(
pobj
)
{
var
res
=
await
this
.
reqCenterOrderApi
(
pobj
);
var
res
=
await
this
.
reqCenterOrderApi
(
pobj
,
"action/icpapi/springBoard"
);
if
(
res
&&
res
.
status
==
0
&&
res
.
data
){
var
needsolution
=
res
.
data
;
//方案信息
var
ab
=
pobj
.
actionBody
;
...
...
@@ -260,7 +260,7 @@ class CenterorderService {
}
//icp通知状态变更
async
acceptIcpPartnerNotification
(
pobj
){
var
res
=
await
this
.
reqCenterOrderApi
(
pobj
);
var
res
=
await
this
.
reqCenterOrderApi
(
pobj
,
"action/icpapi/springBoard"
);
if
(
res
&&
res
.
status
==
0
&&
res
.
data
){
var
ab
=
pobj
.
actionBody
;
//推送数据至阿里
...
...
@@ -273,7 +273,7 @@ class CenterorderService {
}
//服务商icp方案关闭
async
abolishIcpProgramme
(
pobj
){
var
res
=
await
this
.
reqCenterOrderApi
(
pobj
);
var
res
=
await
this
.
reqCenterOrderApi
(
pobj
,
"action/icpapi/springBoard"
);
if
(
res
&&
res
.
status
==
0
&&
res
.
data
){
var
needsolution
=
res
.
data
;
//方案信息
var
ab
=
pobj
.
actionBody
;
...
...
center-channel/app/config/routes/api.js
View file @
357d5758
...
...
@@ -110,6 +110,7 @@ module.exports = function (app) {
req
.
body
.
appInfo
=
result
.
data
;
req
.
body
.
actionProcess
=
result
.
data
.
app_code
;
var
lst
=
[
"tmConfirm"
,
"submitIcpProgramme"
,
"submitIcpMaterial"
,
"acceptIcpPartnerNotification"
,
"abolishIcpProgramme"
,
"addOrder"
,
"getH5PayUrl"
,
"getOrderQrCode"
,
"queryOrderStatus"
,
"getOrderInfo"
,
"getOrderDeliveryInfo"
,
"getOrderDetails"
,
"getOrderDeliveryFlowInfo"
,
"getOrderDeliveryFlowList"
,
"getOrderLogInfo"
,
"updateContacts"
,
"updateTmOrder"
,
"delOrder"
,
"submitProgramme"
,
"getProgrammeListByUser"
,
"getProgrammeInfoByNeedNo"
,
"abolishProgramme"
,
"getAliPayInfo"
...
...
center-channel/app/front/entry/public/apidoc/platform/icpOrder.md
View file @
357d5758
...
...
@@ -19,20 +19,19 @@
{
"actionType"
:
"submitIcpProgramme"
,
"actionBody"
:{
"needNo"
:
"
N202003231329BDuvTHP
"
,
"needNo"
:
"
I20200320201737000zhb
"
,
"solutionContent"
:{
"bizType"
:
"
产品类型
"
,
"bizType"
:
"
gszc
"
,
"solution"
:{
"CompanyName"
:
"公司名"
,
"CompanyAddress"
:
"公司地址"
,
"Area"
:
"区域"
,
"Note"
:
"备注"
,
}
,
"Note"
:
"备注"
}
}
}
}
```
#### 返回结果
...
...
@@ -59,11 +58,11 @@
{
"actionType"
:
"submitIcpMaterial"
,
"actionBody"
:{
"BizId"
:
"
渠道方案id
"
,
"BizId"
:
"
S20200323174838000zhb
"
,
"material"
:{
"Domain"
:
"备案域名"
,
"CorporateName"
:
"法人名称"
,
"IncludeForeignInvestment"
:
false
or
true
,
//是否包含外贸
"IncludeForeignInvestment"
:
true
,
"PartnerBusinessLicense"
:
"营业执照"
,
"PartnerIdCardList"
:[
"相关人员身份证"
],
"PartnerDomainCertificate"
:
"域名证书"
,
...
...
@@ -75,7 +74,7 @@
"PartnerSignOtherList"
:[
"需要签字,只能传递1个zip包"
],
"PartnerSignAndStampOtherList"
:[
"需要盖章,只能传递1个zip包"
]
}
}
}
...
...
@@ -148,10 +147,13 @@
```
javascript
{
"BizId"
:
"渠道方案id"
,
"OfficialFileUrl"
:
"官⽂下载地址"
,
"ApplicationStatus"
:
"通知状态"
}
"actionType"
:
"acceptIcpPartnerNotification"
,
"actionBody"
:{
"BizId"
:
"S20200323174838000zhb"
,
"OfficialFileUrl"
:
"官⽂下载地址"
,
"ApplicationStatus"
:
"507"
}
}
ApplicationStatus
:
507
,
"完成账户注册"
508
,
"服务商完成提交资料到⼯信部"
...
...
@@ -183,9 +185,9 @@ ApplicationStatus:
```
javascript
{
"actionType"
:
"
submitIcpMaterial
"
,
"actionType"
:
"
abolishIcpProgramme
"
,
"actionBody"
:{
"BizId"
:
"
渠道方案id
"
,
"BizId"
:
"
S20200323174838000zhb
"
,
"Note"
:
"备注"
}
}
...
...
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