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
e25dabb9
Commit
e25dabb9
authored
Dec 21, 2020
by
王勇飞
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix: icreg bug fix
parent
b9bec908
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
95 additions
and
94 deletions
+95
-94
igirl-channel-gateway/app/base/service/impl/utilsSve/regCenterOrderSve.js
+8
-8
igirl-channel-gateway/app/base/service/impl/utilsSve/regCfg.js
+87
-86
No files found.
igirl-channel-gateway/app/base/service/impl/utilsSve/regCenterOrderSve.js
View file @
e25dabb9
...
...
@@ -90,7 +90,7 @@ class RegCenterOrderService extends AppServiceBase {
}
//带userpin请求
url
=
settings
.
centerChannelUrl
()
+
"/api/action/reg
CenterOrder
/springBoard"
;
url
=
settings
.
centerChannelUrl
()
+
"/api/action/reg
api
/springBoard"
;
var
token
=
tokenInfo
.
data
.
token
;
var
rtn
=
null
;
var
self
=
this
;
...
...
@@ -190,7 +190,7 @@ class RegCenterOrderService extends AppServiceBase {
"actionBody"
:
pobj
}
// getItemByChannelSolutionNo
var
url
=
settings
.
centerChannelUrl
()
+
"/api/action/reg
CenterOrder
/springBoard"
;
var
url
=
settings
.
centerChannelUrl
()
+
"/api/action/reg
api
/springBoard"
;
var
result
=
await
this
.
execlient
.
execPostTK
(
sobj
,
url
,
token
);
if
(
result
.
status
!=
0
)
{
return
{
...
...
@@ -223,7 +223,7 @@ class RegCenterOrderService extends AppServiceBase {
};
}
//regOrderStatus
var
url
=
settings
.
centerChannelUrl
()
+
"/api/action/reg
CenterOrder
/springBoard"
;
var
url
=
settings
.
centerChannelUrl
()
+
"/api/action/reg
api
/springBoard"
;
var
sobj
=
{
"actionType"
:
"regOrderStatus"
,
"actionBody"
:
pobj
...
...
@@ -281,7 +281,7 @@ class RegCenterOrderService extends AppServiceBase {
"actionBody"
:
pobj
}
// getItemByChannelSolutionNo
var
url
=
settings
.
centerChannelUrl
()
+
"/api/action/reg
CenterOrder
/springBoard"
;
var
url
=
settings
.
centerChannelUrl
()
+
"/api/action/reg
api
/springBoard"
;
var
result
=
await
this
.
execlient
.
execPostTK
(
sobj
,
url
,
token
);
if
(
result
.
status
!=
0
||
!
result
.
data
)
{
return
{
...
...
@@ -322,7 +322,7 @@ class RegCenterOrderService extends AppServiceBase {
"actionType"
:
"regOrderClose"
,
"actionBody"
:
pobj
}
var
url
=
settings
.
centerChannelUrl
()
+
"/api/action/reg
CenterOrder
/springBoard"
;
var
url
=
settings
.
centerChannelUrl
()
+
"/api/action/reg
api
/springBoard"
;
var
rtn
=
await
this
.
execlient
.
execDataPostByTokenUserPin
(
closeobj
,
url
,
token
,
userpinResultTmp
.
data
.
userpin
);
if
(
!
rtn
||
!
rtn
.
stdout
)
{
return
{
...
...
@@ -496,7 +496,7 @@ class RegCenterOrderService extends AppServiceBase {
"actionType"
:
"getSolutionByChannelSolutionNo"
,
"actionBody"
:
pobj
}
var
url
=
settings
.
centerChannelUrl
()
+
"/api/action/reg
CenterOrder
/springBoard"
;
var
url
=
settings
.
centerChannelUrl
()
+
"/api/action/reg
api
/springBoard"
;
var
result
=
await
this
.
execlient
.
execPostTK
(
sobj
,
url
,
token
);
if
(
result
.
status
!=
0
)
{
return
{
...
...
@@ -521,7 +521,7 @@ class RegCenterOrderService extends AppServiceBase {
"actionBody"
:
pobj
}
// getItemByChannelSolutionNo
var
url
=
settings
.
centerChannelUrl
()
+
"/api/action/reg
CenterOrder
/springBoard"
;
var
url
=
settings
.
centerChannelUrl
()
+
"/api/action/reg
api
/springBoard"
;
var
result
=
await
this
.
execlient
.
execPostTK
(
sobj
,
url
,
token
);
if
(
result
.
status
!=
0
)
{
return
{
...
...
@@ -551,7 +551,7 @@ class RegCenterOrderService extends AppServiceBase {
};
}
// icpNotify
var
url
=
settings
.
centerChannelUrl
()
+
"/api/action/reg
CenterOrder
/springBoard"
;
var
url
=
settings
.
centerChannelUrl
()
+
"/api/action/reg
api
/springBoard"
;
var
sobj
=
{
"actionType"
:
"icpNotify"
,
"actionBody"
:
pobj
...
...
igirl-channel-gateway/app/base/service/impl/utilsSve/regCfg.js
View file @
e25dabb9
//百度配置
var
regCfg
=
{
var
regCfg
=
{
//工商注册城市对照表
baiduArea
=
{
"310100"
:
"上海"
,
"441900"
:
"东莞"
,
"440600"
:
"佛山"
,
"110100"
:
"北京"
,
"320100"
:
"南京"
,
"360100"
:
"南昌"
,
"320600"
:
"南通"
,
"331000"
:
"台州"
,
"340100"
:
"合肥"
,
"330400"
:
"嘉兴"
,
"210200"
:
"大连"
,
"120100"
:
"天津"
,
"140100"
:
"太原"
,
"330200"
:
"宁波"
,
"320400"
:
"常州"
,
"440100"
:
"广州"
,
"320300"
:
"徐州"
,
"510100"
:
"成都"
,
"321000"
:
"扬州"
,
"320200"
:
"无锡"
,
"530100"
:
"昆明"
,
"330100"
:
"杭州"
,
"420100"
:
"武汉"
,
"210100"
:
"沈阳"
,
"370100"
:
"济南"
,
"440300"
:
"深圳"
,
"330300"
:
"温州"
,
"370600"
:
"烟台"
,
"350100"
:
"福州"
,
"330600"
:
"绍兴"
,
"320500"
:
"苏州"
,
"610100"
:
"西安"
,
"520100"
:
"贵阳"
,
"410100"
:
"郑州"
,
"500100"
:
"重庆"
,
"330700"
:
"金华"
,
"220100"
:
"长春"
,
"430100"
:
"长沙"
,
"370200"
:
"青岛"
,
"230100"
:
"哈尔滨"
,
"130100"
:
"石家庄"
baiduArea
:
{
"310100"
:
"上海"
,
"441900"
:
"东莞"
,
"440600"
:
"佛山"
,
"110100"
:
"北京"
,
"320100"
:
"南京"
,
"360100"
:
"南昌"
,
"320600"
:
"南通"
,
"331000"
:
"台州"
,
"340100"
:
"合肥"
,
"330400"
:
"嘉兴"
,
"210200"
:
"大连"
,
"120100"
:
"天津"
,
"140100"
:
"太原"
,
"330200"
:
"宁波"
,
"320400"
:
"常州"
,
"440100"
:
"广州"
,
"320300"
:
"徐州"
,
"510100"
:
"成都"
,
"321000"
:
"扬州"
,
"320200"
:
"无锡"
,
"530100"
:
"昆明"
,
"330100"
:
"杭州"
,
"420100"
:
"武汉"
,
"210100"
:
"沈阳"
,
"370100"
:
"济南"
,
"440300"
:
"深圳"
,
"330300"
:
"温州"
,
"370600"
:
"烟台"
,
"350100"
:
"福州"
,
"330600"
:
"绍兴"
,
"320500"
:
"苏州"
,
"610100"
:
"西安"
,
"520100"
:
"贵阳"
,
"410100"
:
"郑州"
,
"500100"
:
"重庆"
,
"330700"
:
"金华"
,
"220100"
:
"长春"
,
"430100"
:
"长沙"
,
"370200"
:
"青岛"
,
"230100"
:
"哈尔滨"
,
"130100"
:
"石家庄"
},
baiduAreaCode
=
{
"上海"
:
"310100"
,
"东莞"
:
"441900"
,
"佛山"
:
"440600"
,
"北京"
:
"110100"
,
"南京"
:
"320100"
,
"南昌"
:
"360100"
,
"南通"
:
"320600"
,
"台州"
:
"331000"
,
"合肥"
:
"340100"
,
"嘉兴"
:
"330400"
,
"大连"
:
"210200"
,
"天津"
:
"120100"
,
"太原"
:
"140100"
,
"宁波"
:
"330200"
,
"常州"
:
"320400"
,
"广州"
:
"440100"
,
"徐州"
:
"320300"
,
"成都"
:
"510100"
,
"扬州"
:
"321000"
,
"无锡"
:
"320200"
,
"昆明"
:
"530100"
,
"杭州"
:
"330100"
,
"武汉"
:
"420100"
,
"沈阳"
:
"210100"
,
"济南"
:
"370100"
,
"深圳"
:
"440300"
,
"温州"
:
"330300"
,
"烟台"
:
"370600"
,
"福州"
:
"350100"
,
"绍兴"
:
"330600"
,
"苏州"
:
"320500"
,
"西安"
:
"610100"
,
"贵阳"
:
"520100"
,
"郑州"
:
"410100"
,
"重庆"
:
"500100"
,
"金华"
:
"330700"
,
"长春"
:
"220100"
,
"长沙"
:
"430100"
,
"青岛"
:
"370200"
,
"哈尔滨"
:
"230100"
,
"石家庄"
:
"130100"
}
baiduAreaCode
:
{
"上海"
:
"310100"
,
"东莞"
:
"441900"
,
"佛山"
:
"440600"
,
"北京"
:
"110100"
,
"南京"
:
"320100"
,
"南昌"
:
"360100"
,
"南通"
:
"320600"
,
"台州"
:
"331000"
,
"合肥"
:
"340100"
,
"嘉兴"
:
"330400"
,
"大连"
:
"210200"
,
"天津"
:
"120100"
,
"太原"
:
"140100"
,
"宁波"
:
"330200"
,
"常州"
:
"320400"
,
"广州"
:
"440100"
,
"徐州"
:
"320300"
,
"成都"
:
"510100"
,
"扬州"
:
"321000"
,
"无锡"
:
"320200"
,
"昆明"
:
"530100"
,
"杭州"
:
"330100"
,
"武汉"
:
"420100"
,
"沈阳"
:
"210100"
,
"济南"
:
"370100"
,
"深圳"
:
"440300"
,
"温州"
:
"330300"
,
"烟台"
:
"370600"
,
"福州"
:
"350100"
,
"绍兴"
:
"330600"
,
"苏州"
:
"320500"
,
"西安"
:
"610100"
,
"贵阳"
:
"520100"
,
"郑州"
:
"410100"
,
"重庆"
:
"500100"
,
"金华"
:
"330700"
,
"长春"
:
"220100"
,
"长沙"
:
"430100"
,
"青岛"
:
"370200"
,
"哈尔滨"
:
"230100"
,
"石家庄"
:
"130100"
}
}
module
.
exports
=
regCfg
;
\ No newline at end of file
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