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
27836cce
Commit
27836cce
authored
Mar 01, 2020
by
宋毅
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
tj
parent
c4627238
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
14 additions
and
17 deletions
+14
-17
igirl-web/app/base/service/impl/utilstlbankSve.js
+9
-12
igirl-web/app/config/localsettings.js
+5
-5
No files found.
igirl-web/app/base/service/impl/utilstlbankSve.js
View file @
27836cce
...
...
@@ -350,7 +350,7 @@ class utilsTlBankSve {
result
=
"回调cusorderid参数错误,没有_标识"
;
return
result
;
}
if
(
attachList
[
0
]
&&
attachList
[
0
].
substr
(
0
,
3
)
==
"qft"
)
{
if
(
attachList
[
0
]
&&
attachList
[
0
].
substr
(
0
,
3
)
==
"qft"
tmpResult
)
{
var
p
=
{
"actionProcess"
:
"actionProcess参数不"
,
"actionType"
:
"receiveCallBackNotify"
,
...
...
@@ -359,8 +359,8 @@ class utilsTlBankSve {
};
var
qftstr
=
await
this
.
restClient
.
execPost
(
p
,
this
.
centerChannelUrl
+
"web/payment/paymentApi/springBoard"
);
var
qftjson
=
JSON
.
parse
(
qftstr
.
stdout
);
if
(
qftjson
.
status
>-
1
)
{
result
=
"success"
if
(
qftjson
.
status
>
-
1
)
{
result
=
"success"
}
return
result
;
}
else
{
...
...
@@ -368,8 +368,8 @@ class utilsTlBankSve {
var
payParam
=
await
this
.
companypayparamDao
.
getOneByCompanyId
(
tmpCompanyId
,
1
);
if
(
!
payParam
)
{
result
.
return_msg
=
"回调公司没有对应的支付凭证"
;
return
jsonBuilder
.
buildObject
(
result
)
;
result
=
"回调公司没有对应的支付凭证"
;
return
result
;
}
var
signResult
=
await
this
.
resultSign
(
parmas
,
payParam
.
pay_key
);
if
(
signResult
.
code
!=
1
)
{
...
...
@@ -384,17 +384,14 @@ class utilsTlBankSve {
if
(
parmas
.
other_company_id
&&
Number
(
parmas
.
other_company_id
)
>
0
)
{
var
otherPayParam
=
await
this
.
companypayparamDao
.
getOneByCompanyId
(
parmas
.
other_company_id
,
1
);
if
(
!
otherPayParam
)
{
result
.
return_msg
=
"回调其他公司公司没有对应的配置信息"
;
return
jsonBuilder
.
buildObject
(
result
)
;
result
=
"回调其他公司公司没有对应的配置信息"
;
return
result
;
}
return
await
this
.
opOtherCompanyNotify
(
otherPayParam
.
notifyUrl
,
parmas
,
"通联回调"
);
}
//是别的公司则进行回调别的接口信息
else
{
var
backResult
=
await
this
.
opBackNotify
(
parmas
,
"通联回调"
);
if
(
backResult
.
code
!=
1
)
{
result
=
backResult
.
msg
;
return
result
;
}
result
=
backResult
.
msg
;
return
result
;
}
}
...
...
@@ -522,7 +519,7 @@ class utilsTlBankSve {
其余为事务处理会抛出异常
*/
async
notifyOpDb
(
obj
)
{
var
notifyResult
=
{
code
:
1
,
msg
:
"
ok
"
};
var
notifyResult
=
{
code
:
1
,
msg
:
"
success
"
};
var
account_type_list
=
uiconfig
.
config
.
pdict
.
accountType
;
var
account_type_name
=
account_type_list
[
obj
.
req_accountType
];
obj
.
account_type_name
=
account_type_name
;
...
...
igirl-web/app/config/localsettings.js
View file @
27836cce
...
...
@@ -7,11 +7,11 @@ var settings={
},
database
:{
dbname
:
"igirl"
,
user
:
"write"
,
password
:
"write"
,
config
:
{
host
:
'43.247.184.35'
,
port
:
8899
,
user
:
"write"
,
password
:
"write"
,
config
:
{
host
:
'43.247.184.35'
,
port
:
8899
,
dialect
:
'mysql'
,
operatorsAliases
:
false
,
pool
:
{
...
...
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