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
16d6fa2b
Commit
16d6fa2b
authored
Dec 18, 2020
by
zxf
Browse files
Options
Browse Files
Download
Plain Diff
Merge remote-tracking branch 'origin/igirl-channel-gateway' into igirl-channel-gateway
parents
c80e16f1
e8d5b87f
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
110 additions
and
0 deletions
+110
-0
igirl-channel-gateway/app/base/api/impl/action/intentionapi.js
+17
-0
igirl-channel-gateway/app/base/service/impl/utilsSve/regCenterOrderSve.js
+0
-0
igirl-channel-gateway/app/base/service/impl/utilsSve/regCfg.js
+93
-0
No files found.
igirl-channel-gateway/app/base/api/impl/action/intentionapi.js
View file @
16d6fa2b
...
...
@@ -8,6 +8,8 @@ class TradetransferAPI extends APIBase {
this
.
execlient
=
system
.
getObject
(
"util.execClient"
);
this
.
channelApiUrl
=
settings
.
channelApiUrl
();
this
.
utilsNeedSve
=
system
.
getObject
(
"service.utilsSve.utilsNeedSve"
);
this
.
regCenterOrderSve
=
system
.
getObject
(
"service.utilsSve.regCenterOrderSve"
);
}
/**
...
...
@@ -74,6 +76,21 @@ class TradetransferAPI extends APIBase {
case
"soulutionFeebackAliEsp"
:
// 2020 0928 lin 新增 阿里文网文 服务商侧提供接口2.4 ⽤户⽅案反馈通知服务商
opResult
=
await
this
.
utilsNeedSve
.
soulutionFeebackAliEsp
(
pobj
);
break
;
// -------------提交reg需求--------laolan 2020.12.16-------百度reg接入使用--------start------------------
case
"submitRegNeed"
:
//提交reg需求
opResult
=
await
this
.
regCenterOrderSve
.
reqcenterchannel2
(
pobj
);
break
;
case
"regFeedbackSubmit"
:
//接收方案反馈信息
opResult
=
await
this
.
regCenterOrderSve
.
reqcenterchannel2
(
pobj
);
break
;
case
"regOrderStatus"
:
//接收方案反馈信息
opResult
=
await
this
.
regCenterOrderSve
.
regOrderStatus
(
pobj
);
break
;
case
"regOrderClose"
:
//关闭reg订单
opResult
=
await
this
.
regCenterOrderSve
.
regOrderClose
(
pobj
);
break
;
// -------------提交reg需求--------laolan 2020.12.16-------百度reg接入使用--------end------------------
default
:
opResult
=
system
.
getResult
(
null
,
"action_type参数错误"
);
break
;
...
...
igirl-channel-gateway/app/base/service/impl/utilsSve/regCenterOrderSve.js
0 → 100644
View file @
16d6fa2b
This diff is collapsed.
Click to expand it.
igirl-channel-gateway/app/base/service/impl/utilsSve/regCfg.js
0 → 100644
View file @
16d6fa2b
//百度配置
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"
:
"石家庄"
},
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