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
3d4e0959
Commit
3d4e0959
authored
Mar 29, 2021
by
宋毅
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
增加产品id
parent
dfea7fbf
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
9 changed files
with
195 additions
and
32 deletions
+195
-32
center-channel/app/base/service/impl/common/regCenterOrderSve.js
+5
-5
center-channel/app/base/service/impl/utilsSve/utilsFqAliyunSve.js
+0
-0
center-channel/app/base/service/impl/utilsSve/utilsNeedCommSve.js
+70
-0
center-channel/app/base/service/impl/utilsSve/utilsNeedSve.js
+14
-6
center-channel/app/base/service/impl/utilsSve/utilsNeedSve2.js
+11
-4
center-channel/app/base/service/impl/utilsSve/utilsOpNeedSve.js
+5
-3
center-channel/app/base/service/impl/utilsSve/utilsOrderSve.js
+1
-1
center-channel/app/config/businessConfig.js
+88
-12
center-channel/app/config/routes/api.js
+1
-1
No files found.
center-channel/app/base/service/impl/common/regCenterOrderSve.js
View file @
3d4e0959
...
...
@@ -217,13 +217,15 @@ class RegCenterOrderService extends AppServiceBase {
var
url
=
settings
.
centerAppUrl
()
+
"action/opProduct/springBoard"
;
var
rtn
=
await
this
.
execClient
.
execPost
(
sobj
,
url
);
if
(
!
rtn
||
!
rtn
.
stdout
)
{
return
system
.
getResultFail
(
-
5015
,
"需求
類
型查询失败"
);
return
system
.
getResultFail
(
-
5015
,
"需求
类
型查询失败"
);
}
var
data
=
JSON
.
parse
(
rtn
.
stdout
);
if
(
data
.
status
!=
0
)
{
return
system
.
getResultFail
(
-
5016
,
"需求
類
型查询失败"
);
return
system
.
getResultFail
(
-
5016
,
"需求
类
型查询失败"
);
}
pobj
.
actionBody
.
service_product_id
=
data
.
data
.
service_product_id
;
pobj
.
actionBody
.
productId
=
data
.
data
.
service_product_id
;
pobj
.
actionBody
.
appName
=
pobj
.
appInfo
.
app_name
;
pobj
.
actionBody
.
type_code
=
data
.
data
.
type_code
;
pobj
.
actionBody
.
type_name
=
data
.
data
.
type_name
;
pobj
.
actionBody
.
channel_type_code
=
data
.
data
.
channel_type_code
;
...
...
@@ -263,8 +265,6 @@ class RegCenterOrderService extends AppServiceBase {
pobj
.
actionBody
.
idempotentId
=
pobj
.
actionBody
.
intentionBizId
;
// pobj.actionBody.idempotentSource = pobj.actionBody.type;
pobj
.
actionBody
.
customerName
=
pobj
.
actionBody
.
userName
;
//2021-1-21 laolan add new
pobj
.
actionBody
.
appName
=
pobj
.
appInfo
.
app_name
||
''
,
this
.
utilsPushSve
.
baiduBusiness2Fq
(
pobj
,
"pushNeedICPBusinessNew"
);
}
return
result
;
...
...
center-channel/app/base/service/impl/utilsSve/utilsFqAliyunSve.js
View file @
3d4e0959
This diff is collapsed.
Click to expand it.
center-channel/app/base/service/impl/utilsSve/utilsNeedCommSve.js
0 → 100644
View file @
3d4e0959
var
system
=
require
(
"../../../system"
);
var
settings
=
require
(
"../../../../config/settings"
);
const
AppServiceBase
=
require
(
"../../app.base"
);
const
fs
=
require
(
"fs"
);
const
{
json
}
=
require
(
"sequelize"
);
const
{
getResult
,
getResultSuccess
}
=
require
(
"../../../system"
);
//需求操作类----操作类型-公用的
class
UtilsNeedCommService
extends
AppServiceBase
{
constructor
()
{
super
();
this
.
centerOrderUrl
=
settings
.
centerOrderUrl
();
this
.
utilsPushSve
=
system
.
getObject
(
"service.utilsSve.utilsPushSve"
);
this
.
aliclient
=
system
.
getObject
(
"util.aliyunClient"
);
this
.
ossClient
=
system
.
getObject
(
"util.ossClient"
);
this
.
restClient
=
system
.
getObject
(
"util.restClient"
);
this
.
utilsOrderSve
=
system
.
getObject
(
"service.utilsSve.utilsOrderSve"
);
this
.
qcCenterOrderSve
=
system
.
getObject
(
"service.common.qcCenterOrderSve"
);
this
.
opPushQueueUrl
=
settings
.
opPushQueueUrl
();
this
.
utilsAuthSve
=
system
.
getObject
(
"service.utilsSve.utilsAuthSve"
);
}
/**
* 提交需求
* @param {*} pobj
* @param {*} actionBody
*/
async
submitNeed
(
pobj
,
actionBody
)
{
if
(
actionBody
.
type
==
"esp.wangwen"
||
actionBody
.
type
==
"esp.food"
)
{
actionBody
.
area
=
this
.
wangwenAreaChange
(
actionBody
.
area
)
}
if
(
!
actionBody
.
type
&&
actionBody
.
consultType
)
actionBody
.
type
=
actionBody
.
consultType
if
(
!
actionBody
.
intentionBizId
)
{
return
system
.
getResult
(
null
,
"actionBody.intentionBizId can not be empty,100380"
);
}
var
sobj
=
pobj
;
sobj
.
actionType
=
"getProductTypeInfo"
;
var
url
=
settings
.
centerAppUrl
()
+
"action/opProduct/springBoard"
;
var
rtn
=
await
this
.
execClient
.
execPost
(
sobj
,
url
);
if
(
!
rtn
||
!
rtn
.
stdout
)
{
return
system
.
getResultFail
(
-
5015
,
"需求类型查询失败"
);
}
var
data
=
JSON
.
parse
(
rtn
.
stdout
);
if
(
data
.
status
!=
0
)
{
return
system
.
getResultFail
(
-
5015
,
"需求类型查询失败"
);
}
pobj
.
actionBody
.
service_product_id
=
data
.
data
.
service_product_id
;
pobj
.
actionBody
.
productId
=
data
.
data
.
service_product_id
;
pobj
.
actionBody
.
appName
=
pobj
.
appInfo
.
app_name
;
pobj
.
actionBody
.
type_code
=
data
.
data
.
type_code
;
pobj
.
actionBody
.
type_name
=
data
.
data
.
type_name
;
pobj
.
actionBody
.
channel_type_code
=
data
.
data
.
channel_type_code
;
pobj
.
actionBody
.
channel_type_name
=
data
.
data
.
channel_type_name
;
pobj
.
actionBody
.
type
=
pobj
.
actionBody
.
channel_type_code
;
pobj
.
actionBody
.
phone
=
pobj
.
actionBody
.
phone
||
pobj
.
actionBody
.
mobile
;
pobj
.
actionBody
.
idempotentId
=
pobj
.
actionBody
.
intentionBizId
;
pobj
.
actionBody
.
idempotentSourceName
=
pobj
.
appInfo
.
app_name
;
pobj
.
actionType
=
"submitNeed"
;
var
reqUrl
=
this
.
centerOrderUrl
+
"action/need/springBoard"
;
var
result
=
await
this
.
restPostUrl
(
pobj
,
reqUrl
);
if
(
result
.
status
==
0
)
{
//做推送信息
}
return
result
;
}
}
module
.
exports
=
UtilsNeedCommService
;
center-channel/app/base/service/impl/utilsSve/utilsNeedSve.js
View file @
3d4e0959
...
...
@@ -39,19 +39,21 @@ class UtilsNeedService extends AppServiceBase {
var
url
=
settings
.
centerAppUrl
()
+
"action/opProduct/springBoard"
;
var
rtn
=
await
this
.
execClient
.
execPost
(
sobj
,
url
);
if
(
!
rtn
||
!
rtn
.
stdout
)
{
return
system
.
getResultFail
(
-
5015
,
"需求
類
型查询失败"
);
return
system
.
getResultFail
(
-
5015
,
"需求
类
型查询失败"
);
}
var
data
=
JSON
.
parse
(
rtn
.
stdout
);
if
(
data
.
status
!=
0
)
{
return
system
.
getResultFail
(
-
5015
,
"需求
類
型查询失败"
);
return
system
.
getResultFail
(
-
5015
,
"需求
类
型查询失败"
);
}
pobj
.
actionBody
.
service_product_id
=
data
.
data
.
service_product_id
;
pobj
.
actionBody
.
productId
=
data
.
data
.
service_product_id
;
pobj
.
actionBody
.
appName
=
pobj
.
appInfo
.
app_name
;
pobj
.
actionBody
.
type_code
=
data
.
data
.
type_code
;
pobj
.
actionBody
.
type_name
=
data
.
data
.
type_name
;
pobj
.
actionBody
.
channel_type_code
=
data
.
data
.
channel_type_code
;
pobj
.
actionBody
.
channel_type_name
=
data
.
data
.
channel_type_name
;
pobj
.
actionBody
.
type
=
pobj
.
actionBody
.
channel_type_code
;
pobj
.
actionBody
.
phone
=
pobj
.
actionBody
.
phone
||
pobj
.
actionBody
.
mobile
;
pobj
.
actionBody
.
appName
=
pobj
.
appInfo
.
app_name
;
pobj
.
actionBody
.
idempotentId
=
pobj
.
actionBody
.
intentionBizId
;
pobj
.
actionBody
.
idempotentSourceName
=
pobj
.
appInfo
.
app_name
;
if
(
pobj
.
actionBody
.
channel_type_code
==
5
)
{
...
...
@@ -145,13 +147,15 @@ class UtilsNeedService extends AppServiceBase {
if
(
data
.
status
!=
0
)
{
return
system
.
getResultFail
(
-
5015
,
"需求类型查询失败"
);
}
pobj
.
actionBody
.
service_product_id
=
data
.
data
.
service_product_id
;
pobj
.
actionBody
.
productId
=
data
.
data
.
service_product_id
;
pobj
.
actionBody
.
appName
=
pobj
.
appInfo
.
app_name
;
pobj
.
actionBody
.
type_code
=
data
.
data
.
type_code
;
pobj
.
actionBody
.
type_name
=
data
.
data
.
type_name
;
pobj
.
actionBody
.
channel_type_code
=
data
.
data
.
channel_type_code
;
pobj
.
actionBody
.
channel_type_name
=
data
.
data
.
channel_type_name
;
pobj
.
actionBody
.
type
=
pobj
.
actionBody
.
channel_type_code
;
pobj
.
actionBody
.
phone
=
pobj
.
actionBody
.
phone
||
pobj
.
actionBody
.
mobile
;
pobj
.
actionBody
.
appName
=
pobj
.
appInfo
.
app_name
;
pobj
.
actionBody
.
idempotentId
=
pobj
.
actionBody
.
intentionBizId
;
pobj
.
actionBody
.
idempotentSourceName
=
pobj
.
appInfo
.
app_name
;
if
(
pobj
.
actionBody
.
channel_type_code
==
5
)
{
...
...
@@ -294,6 +298,9 @@ class UtilsNeedService extends AppServiceBase {
if
(
data
.
status
!=
0
)
{
return
system
.
getResultFail
(
-
5015
,
"需求类型查询失败"
);
}
pobj
.
actionBody
.
service_product_id
=
data
.
data
.
service_product_id
;
pobj
.
actionBody
.
productId
=
data
.
data
.
service_product_id
;
pobj
.
actionBody
.
appName
=
pobj
.
appInfo
.
app_name
;
pobj
.
actionBody
.
type_code
=
data
.
data
.
type_code
;
pobj
.
actionBody
.
type_name
=
data
.
data
.
type_name
;
pobj
.
actionBody
.
channel_type_code
=
data
.
data
.
channel_type_code
;
...
...
@@ -1533,6 +1540,9 @@ class UtilsNeedService extends AppServiceBase {
if
(
data
.
status
!=
0
)
{
return
system
.
getResultFail
(
-
5015
,
"需求類型查询失败"
);
}
pobj
.
actionBody
.
service_product_id
=
data
.
data
.
service_product_id
;
pobj
.
actionBody
.
productId
=
data
.
data
.
service_product_id
;
pobj
.
actionBody
.
appName
=
pobj
.
appInfo
.
app_name
;
pobj
.
actionBody
.
type_code
=
data
.
data
.
type_code
;
pobj
.
actionBody
.
type_name
=
data
.
data
.
type_name
;
pobj
.
actionBody
.
channel_type_code
=
data
.
data
.
channel_type_code
;
...
...
@@ -1607,8 +1617,6 @@ class UtilsNeedService extends AppServiceBase {
pobj
.
actionBody
.
idempotentId
=
pobj
.
actionBody
.
intentionBizId
;
// pobj.actionBody.idempotentSource = pobj.actionBody.type;
pobj
.
actionBody
.
customerName
=
pobj
.
actionBody
.
userName
;
//2021-1-21 laolan add new
pobj
.
actionBody
.
appName
=
pobj
.
appInfo
.
app_name
||
''
,
this
.
utilsPushSve
.
baiduBusiness2Fq
(
pobj
,
"pushNeedICPBusinessNew"
);
}
}
...
...
center-channel/app/base/service/impl/utilsSve/utilsNeedSve2.js
View file @
3d4e0959
...
...
@@ -53,12 +53,14 @@ class UtilsNeedService2 extends AppServiceBase {
if
(
data
.
status
!=
0
)
{
return
system
.
getResultFail
(
-
5015
,
"需求類型查询失败"
);
}
pobj
.
actionBody
.
service_product_id
=
data
.
data
.
service_product_id
;
pobj
.
actionBody
.
productId
=
data
.
data
.
service_product_id
;
pobj
.
actionBody
.
appName
=
pobj
.
appInfo
.
app_name
;
pobj
.
actionBody
.
type_code
=
data
.
data
.
type_code
;
pobj
.
actionBody
.
type_name
=
data
.
data
.
type_name
;
pobj
.
actionBody
.
channel_type_code
=
data
.
data
.
channel_type_code
;
pobj
.
actionBody
.
channel_type_name
=
data
.
data
.
channel_type_name
;
pobj
.
actionBody
.
type
=
pobj
.
actionBody
.
channel_type_code
;
pobj
.
actionBody
.
appName
=
pobj
.
appInfo
.
app_name
;
if
(
pobj
.
actionBody
.
channel_type_code
==
5
)
{
pobj
.
actionBody
.
type
=
"ali.icp"
;
}
else
if
(
pobj
.
actionBody
.
channel_type_code
==
7
)
{
...
...
@@ -147,6 +149,9 @@ class UtilsNeedService2 extends AppServiceBase {
if
(
data
.
status
!=
0
)
{
return
system
.
getResultFail
(
-
5015
,
"需求类型查询失败"
);
}
pobj
.
actionBody
.
service_product_id
=
data
.
data
.
service_product_id
;
pobj
.
actionBody
.
productId
=
data
.
data
.
service_product_id
;
pobj
.
actionBody
.
appName
=
pobj
.
appInfo
.
app_name
;
pobj
.
actionBody
.
type_code
=
data
.
data
.
type_code
;
pobj
.
actionBody
.
type_name
=
data
.
data
.
type_name
;
pobj
.
actionBody
.
channel_type_code
=
data
.
data
.
channel_type_code
;
...
...
@@ -1401,18 +1406,20 @@ class UtilsNeedService2 extends AppServiceBase {
var
url
=
settings
.
centerAppUrl
()
+
"action/opProduct/springBoard"
;
var
rtn
=
await
this
.
execClient
.
execPost
(
sobj
,
url
);
if
(
!
rtn
||
!
rtn
.
stdout
)
{
return
system
.
getResultFail
(
-
5015
,
"需求
類
型查询失败"
);
return
system
.
getResultFail
(
-
5015
,
"需求
类
型查询失败"
);
}
var
data
=
JSON
.
parse
(
rtn
.
stdout
);
if
(
data
.
status
!=
0
)
{
return
system
.
getResultFail
(
-
5015
,
"需求
類
型查询失败"
);
return
system
.
getResultFail
(
-
5015
,
"需求
类
型查询失败"
);
}
pobj
.
actionBody
.
service_product_id
=
data
.
data
.
service_product_id
;
pobj
.
actionBody
.
productId
=
data
.
data
.
service_product_id
;
pobj
.
actionBody
.
appName
=
pobj
.
appInfo
.
app_name
;
pobj
.
actionBody
.
type_code
=
data
.
data
.
type_code
;
pobj
.
actionBody
.
type_name
=
data
.
data
.
type_name
;
pobj
.
actionBody
.
channel_type_code
=
data
.
data
.
channel_type_code
;
pobj
.
actionBody
.
channel_type_name
=
data
.
data
.
channel_type_name
;
pobj
.
actionBody
.
type
=
pobj
.
actionBody
.
channel_type_code
;
pobj
.
actionBody
.
appName
=
pobj
.
appInfo
.
app_name
;
if
(
pobj
.
actionBody
.
channel_type_code
==
5
)
{
pobj
.
actionBody
.
type
=
"baidu.icp"
;
}
else
if
(
pobj
.
actionBody
.
channel_type_code
==
7
)
{
...
...
center-channel/app/base/service/impl/utilsSve/utilsOpNeedSve.js
View file @
3d4e0959
...
...
@@ -18,7 +18,7 @@ class UtilsOpNeedService extends AppServiceBase {
}
/**
* 提交需求 h5/pc 通用
* 提交需求 h5/pc 通用
提交需求接口
* @param {*} pobj
* @param {*} actionBody
*/
...
...
@@ -32,18 +32,20 @@ class UtilsOpNeedService extends AppServiceBase {
if
(
opResult
.
status
!=
0
)
{
return
system
.
getResultFail
(
-
5015
,
"需求类型查询失败"
);
}
pobj
.
actionBody
.
service_product_id
=
opResult
.
data
.
service_product_id
;
pobj
.
actionBody
.
productId
=
opResult
.
data
.
service_product_id
;
pobj
.
actionBody
.
appName
=
pobj
.
appInfo
.
app_name
;
pobj
.
actionBody
.
type_code
=
opResult
.
data
.
type_code
;
pobj
.
actionBody
.
type_name
=
opResult
.
data
.
type_name
;
pobj
.
actionBody
.
channel_type_code
=
opResult
.
data
.
channel_type_code
;
pobj
.
actionBody
.
channel_type_name
=
opResult
.
data
.
channel_type_name
;
pobj
.
actionBody
.
appName
=
pobj
.
appInfo
.
app_name
;
}
// 提交需求 暂未做推送
pobj
.
actionType
=
"opSubmitNeed"
;
var
reqUrl
=
this
.
centerOrderUrl
+
"action/opNeed/springBoard"
;
var
result
=
await
this
.
restPostUrl
(
pobj
,
reqUrl
);
if
(
result
.
status
==
0
)
{
if
(
pobj
.
actionBody
.
channel_type_code
==
"esp.companyreg"
)
{
if
(
pobj
.
actionBody
.
channel_type_code
==
"esp.companyreg"
||
pobj
.
actionBody
.
channel_type_code
==
"esp.companyreg_cloud"
)
{
this
.
utilsPushSve
.
aliBusiness2Fq
(
pobj
,
"pushNeedBusiness"
);
}
}
...
...
center-channel/app/base/service/impl/utilsSve/utilsOrderSve.js
View file @
3d4e0959
...
...
@@ -808,7 +808,7 @@ class UtilsOrderService extends AppServiceBase {
}
}
async
opH5AliDingPayBackNotify
(
parmas
,
client_ip
)
{
//操作回调业务逻辑
async
opH5AliDingPayBackNotify
(
parmas
,
client_ip
)
{
//操作回调业务逻辑
-钉钉接入的搁浅
try
{
//日志记录
this
.
logCtl
.
info
({
...
...
center-channel/app/config/businessConfig.js
View file @
3d4e0959
...
...
@@ -17,25 +17,25 @@ module.exports = {
"ncSubmitMaterial"
,
"ncNotification"
,
"ncSubmitSolution"
,
"ncCloseNeed"
,
"ncClosePlan"
,
"rtSubmitMaterial"
,
"rtNotification"
,
"rtSubmitSolution"
,
"rtCloseNeed"
,
"rtClosePlan"
,
"getParamsFor360"
,
"addOrderWeb"
,
"getPayRecords"
,
"getLoginInfo"
,
"putUserMobileByVcode"
,
"putUserPwdByMobile"
,
"icpNotifyNew"
,
"getOrderStatisticsByUappId"
,
"getOrderStatisticsByProduct"
,
"getOrdersComparison"
,
"getOrdersComparisonList"
,
"importOrders"
,
"importNeeds"
,
"receiveAliTmOrder"
,
"receiveAliTmOrderRefund"
,
"putUserPwdByMobile"
,
"icpNotifyNew"
,
"getOrderStatisticsByUappId"
,
"getOrderStatisticsByProduct"
,
"getOrdersComparison"
,
"getOrdersComparisonList"
,
"importOrders"
,
"importNeeds"
,
"receiveAliTmOrder"
,
"receiveAliTmOrderRefund"
,
//百度工商注册
"regGetInfoByChannelNeedNo"
,
"submitRegNeed"
,
"regFeedbackSubmit"
,
"regOrderStatus"
,
"regOrderClose"
,
"getSolutionByChannelOrderNo"
,
"regSubmitSolution"
,
"regNeedClose"
,
"regWriteCommunicationLog"
,
"regQueryExpertCommunicationLogs"
,
"regUpdateOrderStatus"
,
"regPaySuccess"
,
"regGetInfoByChannelNeedNo"
,
"submitRegNeed"
,
"regFeedbackSubmit"
,
"regOrderStatus"
,
"regOrderClose"
,
"getSolutionByChannelOrderNo"
,
"regSubmitSolution"
,
"regNeedClose"
,
"regWriteCommunicationLog"
,
"regQueryExpertCommunicationLogs"
,
"regUpdateOrderStatus"
,
"regPaySuccess"
,
//yiming/ename
"eNameCloseOrder"
,
],
apiMustUserpinList
:
[
"icpOrderClose"
,
"submitNeed"
,
"paySuccess"
,
"icpNotify"
,
"getLoginInfo"
,
"icpNotifyNew"
,
"submitIcpProgramme"
,
"serviceProviderSubmitMaterial"
,
"abolishIcpProgramme"
,
"submitService"
,
"serviceProviderNotification"
,
"ncSubmitMaterial"
,
"ncNotification"
,
"ncSubmitSolution"
,
"ncCloseNeed"
,
"ncClosePlan"
,
"rtSubmitMaterial"
,
"rtNotification"
,
"rtSubmitSolution"
,
"rtCloseNeed"
,
"rtClosePlan"
,
"submitNeed"
,
"paySuccess"
,
"icpNotify"
,
"getLoginInfo"
,
"icpNotifyNew"
,
"submitIcpProgramme"
,
"serviceProviderSubmitMaterial"
,
"abolishIcpProgramme"
,
"submitService"
,
"serviceProviderNotification"
,
"ncSubmitMaterial"
,
"ncNotification"
,
"ncSubmitSolution"
,
"ncCloseNeed"
,
"ncClosePlan"
,
"rtSubmitMaterial"
,
"rtNotification"
,
"rtSubmitSolution"
,
"rtCloseNeed"
,
"rtClosePlan"
,
//百度工商注册
"regGetInfoByChannelNeedNo"
,
"submitRegNeed"
,
"regFeedbackSubmit"
,
"regOrderStatus"
,
"regOrderClose"
,
"getSolutionByChannelOrderNo"
,
"regSubmitSolution"
,
"regNeedClose"
,
"regWriteCommunicationLog"
,
"regQueryExpertCommunicationLogs"
,
"regUpdateOrderStatus"
,
"regPaySuccess"
,
"regGetInfoByChannelNeedNo"
,
"submitRegNeed"
,
"regFeedbackSubmit"
,
"regOrderStatus"
,
"regOrderClose"
,
"getSolutionByChannelOrderNo"
,
"regSubmitSolution"
,
"regNeedClose"
,
"regWriteCommunicationLog"
,
"regQueryExpertCommunicationLogs"
,
"regUpdateOrderStatus"
,
"regPaySuccess"
,
//yiming/ename
"eNameCloseOrder"
,
],
...
...
@@ -59,5 +59,81 @@ module.exports = {
"/api/tm/tmcase/nbtzreceiveAssistTmData"
,
"/api/tm/tmcase/nbtzreceiveEditAssistTmData"
]
},
AREACOMM
:
{
areaTransform
:
{
"上海"
:
"上海市"
,
"东莞"
:
"东莞市"
,
"佛山"
:
"佛山市"
,
"北京"
:
"北京市"
,
"南京"
:
"南京市"
,
"南昌"
:
"南昌市"
,
"南通"
:
"南通市"
,
"台州"
:
"台州市"
,
"合肥"
:
"合肥市"
,
"嘉兴"
:
"嘉兴市"
,
"大连"
:
"大连市"
,
"天津"
:
"天津市"
,
"太原"
:
"太原市"
,
"宁波"
:
"宁波市"
,
"常州"
:
"常州市"
,
"广州"
:
"广州市"
,
"徐州"
:
"徐州市"
,
"成都"
:
"成都市"
,
"扬州"
:
"扬州市"
,
"无锡"
:
"无锡市"
,
"昆明"
:
"昆明市"
,
"杭州"
:
"杭州市"
,
"武汉"
:
"武汉市"
,
"沈阳"
:
"沈阳市"
,
"济南"
:
"济南市"
,
"深圳"
:
"深圳市"
,
"温州"
:
"温州市"
,
"烟台"
:
"烟台市"
,
"福州"
:
"福州市"
,
"绍兴"
:
"绍兴市"
,
"苏州"
:
"苏州市"
,
"西安"
:
"西安市"
,
"贵阳"
:
"贵阳市"
,
"郑州"
:
"郑州市"
,
"重庆"
:
"重庆市"
,
"金华"
:
"金华市"
,
"长春"
:
"长春市"
,
"长沙"
:
"长沙市"
,
"青岛"
:
"青岛市"
,
"开封"
:
"开封市"
,
"哈尔滨"
:
"哈尔滨市"
,
"石家庄"
:
"石家庄市"
,
"福建"
:
"福建省"
,
"广西"
:
"广西"
,
"广东"
:
"广东省"
,
"安徽"
:
"安徽省"
,
"河南"
:
"河南省"
,
"湖北"
:
"湖北省"
,
"浙江"
:
"浙江省"
,
"江苏"
:
"江苏省"
,
"山东"
:
"山东省"
,
"陕西"
:
"陕西省"
,
"宁夏"
:
"宁夏"
,
"甘肃"
:
"甘肃省"
,
"新疆"
:
"新疆"
,
"青海"
:
"青海省"
,
"河北"
:
"河北省"
,
"山西"
:
"山西省"
,
"辽宁"
:
"辽宁省"
,
"吉林"
:
"吉林省"
,
"黑龙江"
:
"黑龙江省"
,
"江西"
:
"江西省"
,
"湖南"
:
"湖南省"
,
"四川"
:
"四川省"
,
"贵州"
:
"贵州省"
,
"云南"
:
"云南省"
,
"内蒙古"
:
"内蒙古"
,
"西藏"
:
"西藏"
,
"含外资"
:
"含外资"
,
"全外资"
:
"全外资"
,
"香港"
:
"香港"
,
"海南"
:
"海南省"
,
}
}
}
center-channel/app/config/routes/api.js
View file @
3d4e0959
...
...
@@ -12,7 +12,7 @@ const settings = require("../../config/settings");
module
.
exports
=
function
(
app
)
{
//-----------------------新的模式---------web---------开始
app
.
use
(
'/tlpay/aliPayNotify'
,
async
function
(
req
,
res
)
{
app
.
use
(
'/tlpay/aliPayNotify'
,
async
function
(
req
,
res
)
{
//钉钉接入的搁浅
try
{
var
client_ip
=
system
.
get_client_ip
(
req
);
var
result
=
await
utilsOrderSve
.
opH5AliDingPayBackNotify
(
req
.
body
,
client_ip
);
...
...
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