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
5435e5b6
Commit
5435e5b6
authored
Jul 16, 2021
by
宋毅
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'center-channel' of gitlab.gongsibao.com:jiangyong/zhichan into center-channel
parents
0f723b9e
90a62a28
Show whitespace changes
Inline
Side-by-side
Showing
9 changed files
with
173 additions
and
103 deletions
+173
-103
center-channel/app/base/api/impl/action/opNeed.js
+10
-0
center-channel/app/base/api/impl/action/product.js
+9
-0
center-channel/app/base/api/impl/opaction/360tmOrder.js
+3
-0
center-channel/app/base/service/impl/trademark/icbcSve.js
+2
-8
center-channel/app/base/service/impl/utilsSve/utils360Sve.js
+46
-0
center-channel/app/base/service/impl/utilsSve/utilsOpNeedSve.js
+68
-70
center-channel/app/config/businessConfig.js
+4
-2
center-channel/app/config/routes/api.js
+3
-2
center-channel/app/config/settings.js
+28
-21
No files found.
center-channel/app/base/api/impl/action/opNeed.js
View file @
5435e5b6
...
...
@@ -77,5 +77,14 @@ class OpNeed extends APIBase {
}
return
opResult
;
}
async
opSubmitNeed
(
pobj
,
qobj
,
req
)
{
pobj
.
actionBody
=
{
type
:
pobj
.
type
,
mobile
:
pobj
.
mobile
,
userName
:
pobj
.
userName
}
return
await
this
.
utilsOpNeedSve
.
opSubmitNeed
(
pobj
,
pobj
.
actionBody
);
}
}
module
.
exports
=
OpNeed
;
\ No newline at end of file
center-channel/app/base/api/impl/action/product.js
View file @
5435e5b6
...
...
@@ -68,5 +68,13 @@ class ProductAPI extends WEBBase {
return
opResult
;
}
async
getProductList
(
pobj
,
action_type
,
req
)
{
pobj
.
actionBody
=
{
pathCode
:
pobj
.
pathCode
}
return
await
this
.
utilsProductSve
.
getProductList
(
pobj
,
pobj
);
}
}
module
.
exports
=
ProductAPI
;
\ No newline at end of file
center-channel/app/base/api/impl/opaction/360tmOrder.js
View file @
5435e5b6
...
...
@@ -29,6 +29,9 @@ class ProductAPI extends WEBBase {
case
"getParamsFor360"
:
opResult
=
await
this
.
utils360Sve
.
getParamsFor360
(
pobj
,
pobj
.
actionBody
);
break
;
case
"pushTmOrderStatus"
:
opResult
=
await
this
.
utils360Sve
.
pushTmOrderStatus
(
pobj
.
actionBody
);
break
;
default
:
opResult
=
system
.
getResult
(
null
,
"action_type参数错误"
);
break
;
...
...
center-channel/app/base/service/impl/trademark/icbcSve.js
View file @
5435e5b6
...
...
@@ -81,10 +81,7 @@ class IcbcService extends AppServiceBase {
}
//获取token
let
url
=
settings
.
icNameUrl
()
+
'openPlatform/platform/getToken'
;
let
params
=
{
"accessKey"
:
"111"
,
"accessSecret"
:
"222"
}
let
params
=
settings
.
openPlatformAK
();
req
.
headers
.
token
=
'sss'
let
ret
=
await
this
.
opReqResult
(
url
,
params
,
req
);
if
(
ret
.
status
!=
1
)
{
...
...
@@ -133,10 +130,7 @@ class IcbcService extends AppServiceBase {
async
getLicenseList
(
obj
,
req
){
let
companyName
=
obj
.
companyName
;
let
url
=
settings
.
icNameUrl
()
+
'openPlatform/platform/getToken'
;
let
params
=
{
"accessKey"
:
"111"
,
"accessSecret"
:
"222"
}
let
params
=
settings
.
openPlatformAK
();
req
.
headers
.
token
=
'sss'
let
ret
=
await
this
.
opReqResult
(
url
,
params
,
req
);
if
(
ret
.
status
!=
1
)
{
...
...
center-channel/app/base/service/impl/utilsSve/utils360Sve.js
View file @
5435e5b6
...
...
@@ -143,6 +143,52 @@ class utils360Sve extends AppServiceBase {
return
system
.
getResultSuccess
(
result
.
data
);
}
async
pushTmOrderStatus
(
pobj
){
let
token
=
await
this
.
utilsAuthSve
.
get360Token
();
let
url
=
settings
.
pushUrl360
()
+
'api/v1/eshop/GsbOrderUpdate?token='
+
token
.
access_token
;
let
order_id
=
pobj
.
orderNo
;
let
sub_status
=
pobj
.
sub_status
;
let
status
=
pobj
.
status
;
let
pushObj
=
{
order_id
,
status
,
sub_status
:
sub_status
}
let
result
=
await
this
.
restPostUrl
(
pushObj
,
url
);
if
(
result
.
code
==
200
)
{
this
.
pushlogSve
.
createDb
({
op
:
"360-pushTMOrderStatus"
,
content
:
JSON
.
stringify
(
pushObj
),
//推送的参数信息
resultInfo
:
JSON
.
stringify
(
result
),
returnType
:
'1'
,
logLevel
:
1
,
opTitle
:
"推送360信息返回成功"
});
}
else
{
this
.
logCtl
.
error
({
appid
:
pobj
.
appInfo
?
pobj
.
appInfo
.
uapp_id
||
""
:
""
,
appkey
:
pobj
.
appInfo
?
pobj
.
appInfo
.
uapp_key
||
""
:
""
,
requestId
:
pobj
.
requestId
||
""
,
op
:
"utilsSve/utils360Sve/pushTMOrderStatus"
,
content
:
"error:"
+
result
.
msg
,
// clientIp: pobj.clientIp,
optitle
:
pobj
.
opType
+
"推送操作异常status->pushTMOrderStatus"
,
});
}
console
.
log
(
result
,
'-------------push360-----------------'
)
return
result
;
}
catch
(
e
)
{
this
.
logCtl
.
error
({
appid
:
pobj
.
appInfo
?
pobj
.
appInfo
.
uapp_id
||
""
:
""
,
appkey
:
pobj
.
appInfo
?
pobj
.
appInfo
.
uapp_key
||
""
:
""
,
requestId
:
pobj
.
requestId
||
""
,
op
:
"utilsSve/utils360Sve/pushTMOrderStatus"
,
content
:
"error:"
+
e
.
stack
,
// clientIp: pobj.clientIp,
optitle
:
pobj
.
opType
+
"推送操作异常status->pushOrderStatus"
,
});
}
}
module
.
exports
=
utils360Sve
;
center-channel/app/base/service/impl/utilsSve/utilsOpNeedSve.js
View file @
5435e5b6
...
...
@@ -32,7 +32,7 @@ class UtilsOpNeedService extends AppServiceBase {
if
(
opResult
.
status
!=
0
)
{
return
system
.
getResultFail
(
-
5015
,
"需求类型查询失败"
);
}
pobj
.
actionBody
.
service_product_id
=
opResult
.
data
.
service_product_id
;
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
;
...
...
@@ -45,10 +45,8 @@ class UtilsOpNeedService extends AppServiceBase {
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"
||
pobj
.
actionBody
.
channel_type_code
==
"esp.companyreg_cloud"
)
{
this
.
utilsPushSve
.
business2Channel
(
pobj
,
"pushNeedBusiness"
);
}
}
return
result
;
}
...
...
@@ -94,7 +92,7 @@ class UtilsOpNeedService extends AppServiceBase {
return
result
;
}
async
getNeedList
(
pobj
,
actionBody
){
async
getNeedList
(
pobj
,
actionBody
)
{
// pobj.
var
reqUrl
=
this
.
centerOrderUrl
+
"action/need/springBoard"
;
var
result
=
await
this
.
restPostUrl
(
pobj
,
reqUrl
);
...
...
@@ -242,47 +240,47 @@ class UtilsOpNeedService extends AppServiceBase {
* @param pobj
* @returns {Promise<void>}
*/
async
getStatisticsByUappId
(
pobj
){
async
getStatisticsByUappId
(
pobj
)
{
let
url
=
this
.
centerOrderUrl
+
"action/opNeed/springBoard"
;
let
result
=
await
this
.
restPostUrl
(
pobj
,
url
);
if
(
result
.
status
!=
0
)
{
if
(
result
.
status
!=
0
)
{
return
system
.
getResultFail
(
-
1
);
}
let
data
=
result
.
data
;
let
temp
=
0
;
let
temp
=
0
;
let
arr
=
[];
let
reArr
=
[];
for
(
let
i
=
0
;
i
<
data
.
length
;
i
++
)
{
if
((
temp
!=
data
[
i
].
uapp_id
&&
temp
!=
0
))
{
for
(
let
i
=
0
;
i
<
data
.
length
;
i
++
)
{
if
((
temp
!=
data
[
i
].
uapp_id
&&
temp
!=
0
))
{
let
obj
=
{
uapp_id
:
temp
,
data
:
arr
uapp_id
:
temp
,
data
:
arr
}
reArr
.
push
(
obj
);
arr
=
[];
arr
=
[];
}
let
dArr
=
{
time
:
data
[
i
].
time
,
count
:
data
[
i
].
count
time
:
data
[
i
].
time
,
count
:
data
[
i
].
count
}
arr
.
push
(
dArr
);
temp
=
data
[
i
].
uapp_id
;
if
(
i
==
data
.
length
-
1
)
{
if
(
i
==
data
.
length
-
1
)
{
let
obj
=
{
uapp_id
:
temp
,
data
:
arr
uapp_id
:
temp
,
data
:
arr
}
reArr
.
push
(
obj
);
}
}
reArr
.
sort
((
a
,
b
)
=>
{
reArr
.
sort
((
a
,
b
)
=>
{
return
a
.
uapp_id
-
b
.
uapp_id
;
})
let
temp2
=
0
;
let
arr2
=
[];
let
arr2
=
[];
let
final
=
[];
for
(
let
i
=
0
;
i
<
reArr
.
length
;
i
++
)
{
if
((
temp2
!=
reArr
[
i
].
uapp_id
&&
temp2
!=
0
))
{
for
(
let
i
=
0
;
i
<
reArr
.
length
;
i
++
)
{
if
((
temp2
!=
reArr
[
i
].
uapp_id
&&
temp2
!=
0
))
{
let
o
=
{
uapp_id
:
temp2
,
data
:
arr2
...
...
@@ -293,10 +291,10 @@ class UtilsOpNeedService extends AppServiceBase {
console
.
log
(
reArr
[
i
].
data
)
arr2
=
arr2
.
concat
(
reArr
[
i
].
data
);
temp2
=
reArr
[
i
].
uapp_id
;
if
(
i
==
reArr
.
length
-
1
)
{
if
(
i
==
reArr
.
length
-
1
)
{
let
obj
=
{
uapp_id
:
temp2
,
data
:
arr2
uapp_id
:
temp2
,
data
:
arr2
}
final
.
push
(
obj
);
}
...
...
@@ -309,7 +307,7 @@ class UtilsOpNeedService extends AppServiceBase {
* @param pobj
* @returns {Promise<void>}
*/
async
getNeedFunnelStatistics
(
pobj
){
async
getNeedFunnelStatistics
(
pobj
)
{
let
url
=
this
.
centerOrderUrl
+
"action/opNeed/springBoard"
;
let
result
=
await
this
.
restPostUrl
(
pobj
,
url
);
return
result
;
...
...
@@ -320,35 +318,35 @@ class UtilsOpNeedService extends AppServiceBase {
* @param pobj
* @returns {Promise<void>}
*/
async
getStatisticsByProduct
(
pobj
){
async
getStatisticsByProduct
(
pobj
)
{
let
url
=
this
.
centerOrderUrl
+
"action/opNeed/springBoard"
;
let
result
=
await
this
.
restPostUrl
(
pobj
,
url
);
if
(
result
.
status
!=
0
)
{
if
(
result
.
status
!=
0
)
{
return
system
.
getResultFail
(
-
1
);
}
let
data
=
result
.
data
;
let
temp
=
""
;
let
temp
=
""
;
let
arr
=
[];
let
reArr
=
[];
for
(
let
i
=
0
;
i
<
data
.
length
;
i
++
)
{
if
((
temp
!=
data
[
i
].
typeCode
&&
temp
!=
""
))
{
for
(
let
i
=
0
;
i
<
data
.
length
;
i
++
)
{
if
((
temp
!=
data
[
i
].
typeCode
&&
temp
!=
""
))
{
let
obj
=
{
type_code
:
temp
,
data
:
arr
type_code
:
temp
,
data
:
arr
}
reArr
.
push
(
obj
);
arr
=
[];
arr
=
[];
}
let
dArr
=
{
uapp_id
:
data
[
i
].
uapp_id
,
count
:
data
[
i
].
count
uapp_id
:
data
[
i
].
uapp_id
,
count
:
data
[
i
].
count
}
arr
.
push
(
dArr
);
temp
=
data
[
i
].
typeCode
;
if
(
i
==
data
.
length
-
1
)
{
if
(
i
==
data
.
length
-
1
)
{
let
obj
=
{
type_code
:
temp
,
data
:
arr
type_code
:
temp
,
data
:
arr
}
reArr
.
push
(
obj
);
}
...
...
@@ -361,35 +359,35 @@ class UtilsOpNeedService extends AppServiceBase {
* @param pobj
* @returns {Promise<void>}
*/
async
getStatisticsByChannel
(
pobj
){
async
getStatisticsByChannel
(
pobj
)
{
let
url
=
this
.
centerOrderUrl
+
"action/opNeed/springBoard"
;
let
result
=
await
this
.
restPostUrl
(
pobj
,
url
);
if
(
result
.
status
!=
0
)
{
if
(
result
.
status
!=
0
)
{
return
system
.
getResultFail
(
-
1
);
}
let
data
=
result
.
data
;
let
temp
=
""
;
let
temp
=
""
;
let
arr
=
[];
let
reArr
=
[];
for
(
let
i
=
0
;
i
<
data
.
length
;
i
++
)
{
if
((
temp
!=
data
[
i
].
uapp_id
&&
temp
!=
""
))
{
for
(
let
i
=
0
;
i
<
data
.
length
;
i
++
)
{
if
((
temp
!=
data
[
i
].
uapp_id
&&
temp
!=
""
))
{
let
obj
=
{
uapp_id
:
temp
,
data
:
arr
uapp_id
:
temp
,
data
:
arr
}
reArr
.
push
(
obj
);
arr
=
[];
arr
=
[];
}
let
dArr
=
{
typeCode
:
data
[
i
].
typeCode
,
count
:
data
[
i
].
count
typeCode
:
data
[
i
].
typeCode
,
count
:
data
[
i
].
count
}
arr
.
push
(
dArr
);
temp
=
data
[
i
].
uapp_id
;
if
(
i
==
data
.
length
-
1
)
{
if
(
i
==
data
.
length
-
1
)
{
let
obj
=
{
uapp_id
:
temp
,
data
:
arr
uapp_id
:
temp
,
data
:
arr
}
reArr
.
push
(
obj
);
}
...
...
@@ -402,10 +400,10 @@ class UtilsOpNeedService extends AppServiceBase {
* @param pobj
* @returns {Promise<void>}
*/
async
getNeedProductType
(
pobj
){
async
getNeedProductType
(
pobj
)
{
let
url
=
this
.
centerOrderUrl
+
"action/opNeed/springBoard"
;
let
result
=
await
this
.
restPostUrl
(
pobj
,
url
);
if
(
result
.
status
!=
0
)
{
if
(
result
.
status
!=
0
)
{
return
system
.
getResultFail
(
-
1
);
}
return
result
;
...
...
@@ -416,10 +414,10 @@ class UtilsOpNeedService extends AppServiceBase {
* @param pobj
* @returns {Promise<void>}
*/
async
getNeedComparison
(
pobj
){
async
getNeedComparison
(
pobj
)
{
let
url
=
this
.
centerOrderUrl
+
"action/opNeed/springBoard"
;
let
result
=
await
this
.
restPostUrl
(
pobj
,
url
);
if
(
result
.
status
!=
0
)
{
if
(
result
.
status
!=
0
)
{
return
system
.
getResultFail
(
-
1
);
}
return
result
;
...
...
@@ -430,35 +428,35 @@ class UtilsOpNeedService extends AppServiceBase {
* @param pobj
* @returns {Promise<void>}
*/
async
getStatisticsByArea
(
pobj
){
async
getStatisticsByArea
(
pobj
)
{
let
url
=
this
.
centerOrderUrl
+
"action/opNeed/springBoard"
;
let
result
=
await
this
.
restPostUrl
(
pobj
,
url
);
if
(
result
.
status
!=
0
)
{
if
(
result
.
status
!=
0
)
{
return
system
.
getResultFail
(
-
1
);
}
let
data
=
result
.
data
;
let
temp
=
""
;
let
temp
=
""
;
let
arr
=
[];
let
reArr
=
[];
for
(
let
i
=
0
;
i
<
data
.
length
;
i
++
)
{
if
((
temp
!=
data
[
i
].
province
&&
temp
!=
""
))
{
for
(
let
i
=
0
;
i
<
data
.
length
;
i
++
)
{
if
((
temp
!=
data
[
i
].
province
&&
temp
!=
""
))
{
let
obj
=
{
province
:
temp
,
data
:
arr
province
:
temp
,
data
:
arr
}
reArr
.
push
(
obj
);
arr
=
[];
arr
=
[];
}
let
dArr
=
{
type_code
:
data
[
i
].
typeCode
,
count
:
data
[
i
].
count
type_code
:
data
[
i
].
typeCode
,
count
:
data
[
i
].
count
}
arr
.
push
(
dArr
);
temp
=
data
[
i
].
province
;
if
(
i
==
data
.
length
-
1
)
{
if
(
i
==
data
.
length
-
1
)
{
let
obj
=
{
province
:
temp
,
data
:
arr
province
:
temp
,
data
:
arr
}
reArr
.
push
(
obj
);
}
...
...
@@ -471,7 +469,7 @@ class UtilsOpNeedService extends AppServiceBase {
* @param pobj
* @returns {Promise<void>}
*/
async
getNeedComparisonList
(
pobj
){
async
getNeedComparisonList
(
pobj
)
{
let
url
=
this
.
centerOrderUrl
+
"action/opNeed/springBoard"
;
let
result
=
await
this
.
restPostUrl
(
pobj
,
url
);
return
result
;
...
...
@@ -488,7 +486,7 @@ class UtilsOpNeedService extends AppServiceBase {
return
jsonarr
;
}
//2020 0826 lin 测试使用
async
test
(
pobj
,
actionBody
){
async
test
(
pobj
,
actionBody
)
{
pobj
.
actionType
=
"receiveIcpStatusNotify"
;
var
url
=
settings
.
centerOrderUrl
()
+
"action/qcapi/springBoard"
;
var
rtn
=
await
this
.
restPostUrl
(
pobj
,
url
);
...
...
center-channel/app/config/businessConfig.js
View file @
5435e5b6
...
...
@@ -18,7 +18,7 @@ module.exports = {
"rtSubmitMaterial"
,
"rtNotification"
,
"rtSubmitSolution"
,
"rtCloseNeed"
,
"rtClosePlan"
,
"getParamsFor360"
,
"addOrderWeb"
,
"getPayRecords"
,
"getLoginInfo"
,
"putUserMobileByVcode"
,
"putUserPwdByMobile"
,
"icpNotifyNew"
,
"getOrderStatisticsByUappId"
,
"getOrderStatisticsByProduct"
,
"getOrdersComparison"
,
"getOrdersComparisonList"
,
"importOrders"
,
"importNeeds"
,
"receiveAliTmOrder"
,
"receiveFqbossTmOrder"
,
"receiveAliTmOrderRefund"
,
"receiveAliTmStatus"
,
"importOrders"
,
"importNeeds"
,
"receiveAliTmOrder"
,
"receiveFqbossTmOrder"
,
"receiveAliTmOrderRefund"
,
"receiveAliTmStatus"
,
//百度工商注册
"regGetInfoByChannelNeedNo"
,
"submitRegNeed"
,
"regFeedbackSubmit"
,
"regOrderStatus"
,
"regOrderClose"
,
"getSolutionByChannelOrderNo"
,
"regSubmitSolution"
,
"regNeedClose"
,
...
...
@@ -57,7 +57,9 @@ module.exports = {
"/api/tm/feedback/submit"
,
"/api/tm/status/notify"
,
"/api/tm/tmcase/nbtzreceiveAssistTmData"
,
"/api/tm/tmcase/nbtzreceiveEditAssistTmData"
"/api/tm/tmcase/nbtzreceiveEditAssistTmData"
,
"/api/action/product/getProductList"
,
"/api/action/opNeed/opSubmitNeed"
],
apiAliSendKeyPathList
:
[
"/api/opreceive/pushAliInfo/tmNote"
,
...
...
center-channel/app/config/routes/api.js
View file @
5435e5b6
...
...
@@ -6,7 +6,7 @@ const utilsFeishuSve = system.getObject("service.utilsSve.utilsFeishuSve");
const
signSve
=
system
.
getObject
(
"service.common.signSve"
);
const
xml2js
=
require
(
'xml2js'
);
const
jwt
=
require
(
'jsonwebtoken'
);
const
{
PDICT
}
=
require
(
"../../config/businessConfig"
);
const
{
PDICT
}
=
require
(
"../../config/businessConfig"
);
const
settings
=
require
(
"../../config/settings"
);
module
.
exports
=
function
(
app
)
{
...
...
@@ -416,7 +416,7 @@ module.exports = function (app) {
res
.
end
(
JSON
.
stringify
(
result
));
return
;
}
console
.
log
(
req
.
originalUrl
,
"sy-------------------------------00001
"
);
console
.
log
(
req
.
originalUrl
,
"sy-------------------------------00001---yy
"
);
if
(
PDICT
.
apiAliSendKeyPathList
.
indexOf
(
req
.
originalUrl
)
>=
0
)
{
//验证数据key
var
appkey
=
req
.
headers
[
"appkey"
]
||
""
;
...
...
@@ -437,6 +437,7 @@ module.exports = function (app) {
}
if
(
PDICT
.
apiSecretPathList
.
indexOf
(
req
.
originalUrl
)
>=
0
)
{
//验证数据签名
console
.
log
(
"apiSecretPathList"
,
req
.
headers
)
var
appkey
=
req
.
headers
[
"appkey"
]
||
""
;
if
(
!
appkey
)
{
result
.
msg
=
"req headers appkey can not be empty"
;
...
...
center-channel/app/config/settings.js
View file @
5435e5b6
...
...
@@ -30,10 +30,10 @@ var settings = {
}
return
"http://43.247.184.94:7200/center_channel_req_log/_doc?pretty"
;
},
enameClientUrl
:
function
()
{
enameClientUrl
:
function
()
{
if
(
this
.
env
==
'dev'
)
{
return
"https://ote.ename.com/icp/"
;
//开发
}
else
{
}
else
{
return
"https://api.ename.com/icp/"
;
//线上
}
},
...
...
@@ -41,38 +41,38 @@ var settings = {
baiduClientParams
:
function
()
{
if
(
this
.
env
==
'dev'
)
{
return
{
domain
:
"https://gwgp-mwnn9gk4o4e.i.bdcloudapi.com"
,
//开发
accessKey
:
"ed0f5c4c7c2d4e87aa335d9b07bf9bd4"
,
secretKey
:
"f600c4e91f6d43998d637401e6e34ef9"
,
host
:
"gwgp-mwnn9gk4o4e.i.bdcloudapi.com"
domain
:
"https://gwgp-mwnn9gk4o4e.i.bdcloudapi.com"
,
//开发
accessKey
:
"ed0f5c4c7c2d4e87aa335d9b07bf9bd4"
,
secretKey
:
"f600c4e91f6d43998d637401e6e34ef9"
,
host
:
"gwgp-mwnn9gk4o4e.i.bdcloudapi.com"
};
}
return
{
domain
:
"https://gwgp-nbzljnwusrw.i.bdcloudapi.com"
,
//线上
accessKey
:
"0e5abf33ef07457f8dbd779287747c0c"
,
secretKey
:
"9d86f04a85db4cdfa95ba8ad28009188"
,
host
:
"gwgp-nbzljnwusrw.i.bdcloudapi.com"
domain
:
"https://gwgp-nbzljnwusrw.i.bdcloudapi.com"
,
//线上
accessKey
:
"0e5abf33ef07457f8dbd779287747c0c"
,
secretKey
:
"9d86f04a85db4cdfa95ba8ad28009188"
,
host
:
"gwgp-nbzljnwusrw.i.bdcloudapi.com"
};
},
//百度工商注册
baiduRegClientParams
:
function
()
{
if
(
this
.
env
==
'dev'
)
{
return
{
domain
:
"https://gwgp-fpxfeempcfz.i.bdcloudapi.com"
,
//开发
domain
:
"https://gwgp-fpxfeempcfz.i.bdcloudapi.com"
,
//开发
//2021-5-20废弃
// accessKey:"047935a96ee14ca7a79529fe0688f7dc",
// secretKey:"2290966ca6ef4b308c90d720263ec9f7",
//2021-5-20新增
accessKey
:
"aa3e1adec5644053ba29918fbbbd91c1"
,
secretKey
:
"15ce98c24b5b4c95b456530a0891e521"
,
host
:
"gwgp-fpxfeempcfz.i.bdcloudapi.com"
accessKey
:
"aa3e1adec5644053ba29918fbbbd91c1"
,
secretKey
:
"15ce98c24b5b4c95b456530a0891e521"
,
host
:
"gwgp-fpxfeempcfz.i.bdcloudapi.com"
};
}
return
{
domain
:
"https://gwgp-rqmgxmmgt8y.i.bdcloudapi.com"
,
//线上
accessKey
:
"0e5abf33ef07457f8dbd779287747c0c"
,
secretKey
:
"9d86f04a85db4cdfa95ba8ad28009188"
,
host
:
"gwgp-rqmgxmmgt8y.i.bdcloudapi.com"
domain
:
"https://gwgp-rqmgxmmgt8y.i.bdcloudapi.com"
,
//线上
accessKey
:
"0e5abf33ef07457f8dbd779287747c0c"
,
secretKey
:
"9d86f04a85db4cdfa95ba8ad28009188"
,
host
:
"gwgp-rqmgxmmgt8y.i.bdcloudapi.com"
};
},
//工商核名请求接口配置
...
...
@@ -282,7 +282,7 @@ var settings = {
return
"https://fqgirl.gongsibao.com/"
;
}
},
fqbossTmUrl
:
function
()
{
fqbossTmUrl
:
function
()
{
if
(
this
.
env
==
"dev"
)
{
return
"https://fqgirlstage.gongsibao.com/api/tmsub/channelTmNotify"
}
else
{
...
...
@@ -332,6 +332,13 @@ var settings = {
return
"https://fq.gongsibao.com/"
}
},
openPlatformAK
:
function
()
{
if
(
this
.
env
==
"dev"
)
{
return
{
"accessKey"
:
"111"
,
"accessSecret"
:
"222"
}
}
else
{
return
{
"accessKey"
:
"202101121716"
,
"accessSecret"
:
"12bb846776874167b5c7e01cd0116c12"
}
}
},
apiconfig
:
{
opLogUrl
:
function
()
{
return
settings
.
reqEsAddr
()
+
"center_channel_log/_doc?pretty"
;
...
...
@@ -431,7 +438,7 @@ var settings = {
return
"15754717260"
;
// 7.7修改正式环境优客 辅助/担保订单推送业务员手机号 刘文悦
}
},
pannongServiceConfig
:
function
()
{
pannongServiceConfig
:
function
()
{
if
(
this
.
env
==
"dev"
)
{
return
{
appid
:
"10015683988"
,
...
...
@@ -446,7 +453,7 @@ var settings = {
}
}
},
pannongUrl
:
function
()
{
pannongUrl
:
function
()
{
if
(
this
.
env
==
"dev"
)
{
return
"http://39.101.172.142:8980/"
}
else
{
...
...
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