Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
haishi
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
冷斌
haishi
Commits
f46dcf8a
Commit
f46dcf8a
authored
May 07, 2020
by
冷斌
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
update
parent
debfac44
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
1 deletions
+6
-1
application/Admin/Controller/CustomerController.class.php
+5
-0
wxpay/pay/notify_jsapi.php
+1
-1
No files found.
application/Admin/Controller/CustomerController.class.php
View file @
f46dcf8a
...
...
@@ -124,6 +124,11 @@ class CustomerController extends AdminbaseController{
}
$v
[
'total_votes'
]
=
$total_votes
;
$results
=
DI
()
->
notorm
->
users_coinrecord
->
where
(
"uid =
{
$v
[
'id'
]
}
and type='expend' and action in ('sendgift','sendbarrage')"
)
->
sum
(
'totalcoin'
);
$v
[
'consumption'
]
=
(
int
)
$results
;
$proxy
=
M
(
'users_proxy'
)
->
field
(
'path'
)
->
where
([
'uid'
=>
$v
[
'id'
]])
...
...
wxpay/pay/notify_jsapi.php
View file @
f46dcf8a
...
...
@@ -52,7 +52,7 @@ class PayNotifyCallBack extends WxPayNotify
}
else
{
$link
=
mysql_connect
(
"mysql"
,
"zhibo"
,
"Rni43v7RpkWUP9FD"
);
if
(
$link
){
mysql_select_db
(
""
,
$link
);
mysql_select_db
(
"
zhibo
"
,
$link
);
mysql_query
(
"set names utf8"
);
$result
=
mysql_query
(
"select * from cmf_users_charge where orderno='
{
$out_trade_no
}
' and status='0' and type='2'"
);
Log
::
DEBUG
(
"select * from cmf_users_charge where orderno='
{
$out_trade_no
}
' and status='0' and type='2'"
);
...
...
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