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
87acf19e
Commit
87acf19e
authored
Dec 25, 2020
by
兰国旗
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
laolan
parent
822fe5fa
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
33 additions
and
28 deletions
+33
-28
center-channel/app/base/api/impl/action/regapi.js
+1
-0
center-channel/app/base/api/impl/ic/regCfg.js
+1
-1
center-channel/app/base/service/impl/common/qcCenterOrderSve.js
+0
-0
center-channel/app/base/service/impl/common/regCenterOrderSve.js
+25
-23
center-channel/app/config/businessConfig.js
+6
-4
No files found.
center-channel/app/base/api/impl/action/regapi.js
View file @
87acf19e
...
@@ -29,6 +29,7 @@ class RegAPI extends APIBase {
...
@@ -29,6 +29,7 @@ class RegAPI extends APIBase {
opResult
=
await
this
.
regCenterOrderSve
.
submitRegNeed
(
pobj
,
pobj
.
actionBody
);
opResult
=
await
this
.
regCenterOrderSve
.
submitRegNeed
(
pobj
,
pobj
.
actionBody
);
break
;
break
;
case
"regFeedbackSubmit"
:
//接收方案反馈信息
case
"regFeedbackSubmit"
:
//接收方案反馈信息
pobj
.
actionType
=
"regFeedbackSubmit"
;
opResult
=
await
this
.
regCenterOrderSve
.
regFeedbackSubmit
(
pobj
);
opResult
=
await
this
.
regCenterOrderSve
.
regFeedbackSubmit
(
pobj
);
break
;
break
;
case
"regOrderStatus"
:
//reg方案更新
case
"regOrderStatus"
:
//reg方案更新
...
...
center-channel/app/base/api/impl/ic/regCfg.js
View file @
87acf19e
...
@@ -90,7 +90,7 @@ var regCfg = {
...
@@ -90,7 +90,7 @@ var regCfg = {
"石家庄"
:
"130100"
"石家庄"
:
"130100"
},
},
channelTypeCode
:
{
channelTypeCode
:
{
"GSREG"
:
"baidu.gs
zc
"
,
"GSREG"
:
"baidu.gs
reg
"
,
"KZFW"
:
"baidu.kzfw"
,
"KZFW"
:
"baidu.kzfw"
,
"GSCHANGS"
:
"baidu.gsbg"
,
"GSCHANGS"
:
"baidu.gsbg"
,
"GSNB"
:
"baidu.gsnb"
,
"GSNB"
:
"baidu.gsnb"
,
...
...
center-channel/app/base/service/impl/common/qcCenterOrderSve.js
View file @
87acf19e
This diff is collapsed.
Click to expand it.
center-channel/app/base/service/impl/common/regCenterOrderSve.js
View file @
87acf19e
...
@@ -166,19 +166,19 @@ async regPaySuccess(pobj) {
...
@@ -166,19 +166,19 @@ async regPaySuccess(pobj) {
}
}
return
system
.
getResultSuccess
();
return
system
.
getResultSuccess
();
}
}
/
/ /
**
/**
//
* 获取方案详情
* 获取方案详情
//
* @param {*} pobj
* @param {*} pobj
//
* @param {*} actionBody bizId 渠道方案号
* @param {*} actionBody bizId 渠道方案号
//
*/
*/
//
async getSolutionByChannelOrderNo(pobj, actionBody) {
async
getSolutionByChannelOrderNo
(
pobj
,
actionBody
)
{
//
if (!actionBody.orderNo) {
if
(
!
actionBody
.
orderNo
)
{
//
return system.getResult(null, "actionBody.orderNo can not be empty,100390");
return
system
.
getResult
(
null
,
"actionBody.orderNo can not be empty,100390"
);
//
}
}
//
var reqUrl = this.centerOrderUrl + "action/need/springBoard";
var
reqUrl
=
this
.
centerOrderUrl
+
"action/need/springBoard"
;
//
var itemResult = await this.restPostUrl(pobj, reqUrl);
var
itemResult
=
await
this
.
restPostUrl
(
pobj
,
reqUrl
);
//
return itemResult;
return
itemResult
;
//
}
}
/**
/**
* 获取需求详情
* 获取需求详情
...
@@ -528,28 +528,30 @@ async regFeedbackSubmit(pobj, reqUrl) {
...
@@ -528,28 +528,30 @@ async regFeedbackSubmit(pobj, reqUrl) {
async
regUpdateOrderStatus
(
pobj
)
{
async
regUpdateOrderStatus
(
pobj
)
{
var
res
=
await
this
.
reqCenterOrderApi
(
pobj
,
"action/regapi/springBoard"
);
var
res
=
await
this
.
reqCenterOrderApi
(
pobj
,
"action/regapi/springBoard"
);
console
.
log
(
'推送交付信息/修改订单状态res+++++'
,
res
)
console
.
log
(
'推送交付信息/修改订单状态res+++++'
,
res
)
console
.
log
(
'推送交付信息/修改订单状态baidu++pobj+++'
,
pobj
)
console
.
log
(
'推送交付信息/修改订单状态++pobj+++'
,
pobj
)
if
(
res
&&
res
.
status
==
0
&&
res
.
data
)
{
if
(
res
&&
res
.
status
==
0
&&
res
.
data
)
{
var
needsolution
=
res
.
data
;
//方案信息
var
deliverContent
var
deliverContent
=
{
if
(
pobj
.
actionBody
.
deliverContent
){
applicationFormUrl
:
""
,
//公司注册申请登记表文件
deliverContent
=
{
registDocumentsUrl
:
""
,
//注册文件
applicationFormUrl
:
pobj
.
actionBody
.
deliverContent
.
applicationFormUrl
||
""
,
//公司注册申请登记表文件
baseInfo
:
res
.
data
.
solution
,
//基本信息
registDocumentsUrl
:
pobj
.
actionBody
.
deliverContent
.
registDocumentsUrl
||
""
,
//注册文件
companyInfo
:
""
//公司信息
baseInfo
:
pobj
.
actionBody
.
deliverContent
.
baseInfo
||
{},
//基本信息
companyInfo
:
pobj
.
actionBody
.
deliverContent
.
companyInfo
||
{}
//公司信息
}
}
}
if
(
res
.
data
.
uapp_id
==
regCfg
.
uappId
.
baidu
){
if
(
res
.
data
.
uapp_id
==
regCfg
.
uappId
.
baidu
){
//推送数据至百度
//推送数据至百度
var
BizId
=
needsolution
.
orderChannelNo
;
console
.
log
(
'BizId++'
,
BizId
)
var
pushObj
=
{
var
pushObj
=
{
orderNo
:
res
.
data
.
bizId
,
orderNo
:
res
.
data
.
bizId
,
status
:
res
.
data
.
status
,
status
:
res
.
data
.
deliveryContent
.
status
,
deliverContent
:
deliverContent
deliverContent
:
deliverContent
};
};
var
self
=
this
;
var
self
=
this
;
//推送交付信息/修改订单状态
//推送交付信息/修改订单状态
var
baidu
=
await
self
.
baiduRegClient
.
baiduReqbyget
({
path
:
"/v1/provider/comreg"
,
reqbody
:
pushObj
});
var
baidu
=
await
self
.
baiduRegClient
.
baiduReqbyget
({
path
:
"/v1/provider/comreg"
,
reqbody
:
pushObj
});
console
.
log
(
'推送交付信息/修改订单状态baidu+++'
,
baidu
)
console
.
log
(
'推送交付信息/修改订单状态baidu+++'
,
baidu
)
console
.
log
(
'推送交付信息/修改订单状态pushObj+++'
,
pushObj
)
}
}
console
.
log
(
'rsrsr++++------------++++'
,
res
)
console
.
log
(
'rsrsr++++------------++++'
,
res
)
return
res
return
res
...
...
center-channel/app/config/businessConfig.js
View file @
87acf19e
...
@@ -19,8 +19,9 @@ module.exports = {
...
@@ -19,8 +19,9 @@ module.exports = {
"getParamsFor360"
,
"addOrderWeb"
,
"getPayRecords"
,
"getLoginInfo"
,
"putUserMobileByVcode"
,
"getParamsFor360"
,
"addOrderWeb"
,
"getPayRecords"
,
"getLoginInfo"
,
"putUserMobileByVcode"
,
"putUserPwdByMobile"
,
"icpNotifyNew"
,
"putUserPwdByMobile"
,
"icpNotifyNew"
,
//百度工商注册
//百度工商注册
"regGetInfoByChannelNeedNo"
,
"submitRegNeed"
,
"regFeedbackSubmit"
,
"regOrderStatus"
,
"regOrderClose"
,
"getSolutionByChannelOrderNo"
,
"regGetInfoByChannelNeedNo"
,
"submitRegNeed"
,
"regFeedbackSubmit"
,
"regOrderStatus"
,
"regOrderClose"
,
"regSubmitSolution"
,
"regWriteCommunicationLog"
,
"regQueryExpertCommunicationLogs"
,
"regUpdateOrderStatus"
,
"regNeedClose"
,
"regPaySuccess"
"getSolutionByChannelOrderNo"
,
"getItemByChannelSolutionNo"
,
"regSubmitSolution"
,
"regNeedClose"
,
"regWriteCommunicationLog"
,
"regQueryExpertCommunicationLogs"
,
"regUpdateOrderStatus"
,
"regPaySuccess"
],
],
apiMustUserpinList
:
[
apiMustUserpinList
:
[
"icpOrderClose"
,
"icpOrderClose"
,
...
@@ -29,8 +30,9 @@ module.exports = {
...
@@ -29,8 +30,9 @@ module.exports = {
"ncSubmitMaterial"
,
"ncNotification"
,
"ncSubmitSolution"
,
"ncCloseNeed"
,
"ncClosePlan"
,
"ncSubmitMaterial"
,
"ncNotification"
,
"ncSubmitSolution"
,
"ncCloseNeed"
,
"ncClosePlan"
,
"rtSubmitMaterial"
,
"rtNotification"
,
"rtSubmitSolution"
,
"rtCloseNeed"
,
"rtClosePlan"
,
"rtSubmitMaterial"
,
"rtNotification"
,
"rtSubmitSolution"
,
"rtCloseNeed"
,
"rtClosePlan"
,
//百度工商注册
//百度工商注册
"regGetInfoByChannelNeedNo"
,
"submitRegNeed"
,
"regFeedbackSubmit"
,
"regOrderStatus"
,
"regOrderClose"
,
"getSolutionByChannelOrderNo"
,
"regGetInfoByChannelNeedNo"
,
"submitRegNeed"
,
"regFeedbackSubmit"
,
"regOrderStatus"
,
"regOrderClose"
,
"regSubmitSolution"
,
"regWriteCommunicationLog"
,
"regQueryExpertCommunicationLogs"
,
"regUpdateOrderStatus"
,
"regNeedClose"
,
"regPaySuccess"
"getSolutionByChannelOrderNo"
,
"getItemByChannelSolutionNo"
,
"regSubmitSolution"
,
"regNeedClose"
,
"regWriteCommunicationLog"
,
"regQueryExpertCommunicationLogs"
,
"regUpdateOrderStatus"
,
"regPaySuccess"
],
],
apiSecretPathList
:
[
apiSecretPathList
:
[
"/api/icp/consultation/submit"
,
"/api/icp/consultation/submit"
,
...
...
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