Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
xiaozhan
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
冷斌
xiaozhan
Commits
9fa28db3
Commit
9fa28db3
authored
Mar 22, 2020
by
冷斌
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
update
parent
4a677c49
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
7 deletions
+7
-7
alipay/alipay_app/notify_url.php
+7
-7
No files found.
alipay/alipay_app/notify_url.php
View file @
9fa28db3
...
@@ -75,17 +75,17 @@ if($verify_result) {
...
@@ -75,17 +75,17 @@ if($verify_result) {
$link
=
mysql
_connect
(
""
,
""
,
"
"
);
$link
=
mysql
i_connect
(
"mysql"
,
"zhibo"
,
"Rni43v7RpkWUP9FD
"
);
if
(
$link
){
if
(
$link
){
mysql
_select_db
(
"
"
,
$link
);
mysql
i_select_db
(
"zhibo
"
,
$link
);
mysql_query
(
"set names utf8"
);
mysql
i
_query
(
"set names utf8"
);
$result
=
mysql_query
(
"select * from cmf_users_charge where orderno='
$out_trade_no
' and money='
$total_fee
' and status='0' and type='1'"
);
$result
=
mysql
i
_query
(
"select * from cmf_users_charge where orderno='
$out_trade_no
' and money='
$total_fee
' and status='0' and type='1'"
);
$row
=
mysql_fetch_assoc
(
$result
);
$row
=
mysql
i
_fetch_assoc
(
$result
);
$str
=
json_encode
(
$row
);
$str
=
json_encode
(
$row
);
if
(
$row
){
if
(
$row
){
mysql_query
(
"update cmf_users set coin=coin+
{
$row
[
'coin'
]
}
where id='
$row[touid]
'"
);
mysql
i
_query
(
"update cmf_users set coin=coin+
{
$row
[
'coin'
]
}
where id='
$row[touid]
'"
);
mysql_query
(
"update cmf_users_charge set status='1',trade_no='
$trade_no
' where id=
{
$row
[
'id'
]
}
"
);
mysql
i
_query
(
"update cmf_users_charge set status='1',trade_no='
$trade_no
' where id=
{
$row
[
'id'
]
}
"
);
file_put_contents
(
'./logali.txt'
,
date
(
'y-m-d h:i:s'
)
.
' msg:'
.
"支付成功:
\r\n
"
,
FILE_APPEND
);
file_put_contents
(
'./logali.txt'
,
date
(
'y-m-d h:i:s'
)
.
' msg:'
.
"支付成功:
\r\n
"
,
FILE_APPEND
);
...
...
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