Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
杨树贤
/
ic_server_welfare
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Snippets
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit
226640ae
authored
Sep 10, 2019
by
杨树贤
Browse files
Options
_('Browse Files')
Download
Plain Diff
Merge branch 'master' of
ssh://119.23.72.7:22611/mushishixian/ic_server_welfare
parents
05d42acf
0ffbc35b
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
app/Http/Controllers/ExchangesTask.php
app/Http/Controllers/ExchangesTask.php
View file @
226640ae
...
...
@@ -82,10 +82,10 @@ class ExchangesTask extends Task
if
(
!
$result
)
throw
new
\Exception
(
'手机号与金额无法充值'
);
return
true
;
//开始充值
$time
=
date
(
'Ymd'
);
$OrderId
=
$this
->
data
[
'user_id'
]
.
$time
.
'2'
;
//用户ID拼接时间
$OrderId
=
$this
->
data
[
'user_id'
]
.
$time
;
//用户ID拼接时间
$result
=
$RechargeModel
->
Recharge
(
$UserInfo
[
'mobile'
]
,
$this
->
Exchange
[
'amount'
]
,
$OrderId
);
if
(
!
$result
)
throw
new
\Exception
(
'充值失败#'
.
$this
->
data
[
'id'
]);
...
...
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