Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in
Toggle navigation
M
my-yaf-project
Project
Project
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
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
chenchuanwen
my-yaf-project
Commits
7000ef49
Commit
7000ef49
authored
Dec 26, 2018
by
chenchuanwen
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'master_dev' of git.shenbd.com:qm-develop/shenbd into ccw
parents
44db944f
427e17de
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
2 deletions
+4
-2
Pay.php
application/library/Payment/Pay.php
+2
-1
TencentPay.php
application/library/Payment/TencentPay.php
+2
-1
No files found.
application/library/Payment/Pay.php
View file @
7000ef49
...
...
@@ -46,7 +46,8 @@ class Pay {
$wxLitePay
=
WxLitePay
::
getInstance
();
$return
=
$wxLitePay
->
doPay
(
$orderInfo
);
$prepayId
=
$wxLitePay
->
getPrepayId
();
file_put_contents
(
$this
->
baseDir
.
\Our\PathConst
::
ktestTime
,
$prepayId
.
'|'
.
$orderInfo
[
'paySn'
]
);
file_put_contents
(
\Our\Common
::
getConfig
(
'out.config'
)
.
\Our\PathConst
::
ktestTime
,
$prepayId
.
'|'
.
$orderInfo
[
'paySn'
]
);
if
(
$prepayId
)
{
$dbName
=
\Our\DbNameConst
::
masterDBConnectName
;
...
...
application/library/Payment/TencentPay.php
View file @
7000ef49
...
...
@@ -104,6 +104,7 @@ class TencentPay {
{
$this
->
postXml
();
$this
->
result
=
$this
->
xmlToArray
(
$this
->
response
);
\Our\Log
::
getInstance
()
->
write
(
json_encode
(
$this
->
result
),
'/data/log/apptest'
);
$prepay_id
=
isset
(
$this
->
result
[
"prepay_id"
])
?
$this
->
result
[
"prepay_id"
]
:
\Our\ApiConst
::
zero
;
return
$prepay_id
;
}
...
...
@@ -445,4 +446,4 @@ class TencentPay {
}
}
\ 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