Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
I
introducer
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
sugar
introducer
Commits
47457d55
Commit
47457d55
authored
Feb 24, 2024
by
董先生
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
sousuo
parent
8b30b8d2
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
2 deletions
+6
-2
application/api/controller/Users.php
application/api/controller/Users.php
+6
-2
No files found.
application/api/controller/Users.php
View file @
47457d55
...
...
@@ -171,6 +171,10 @@ class Users extends Api
if
(
$userinfo
[
'equity'
]
>
0
)
{
$userinfo
[
'shareholder'
]
=
1
;
}
$userinfo
[
'withdraw_rule1'
]
=
'1、每日提现审核服务时间【10:00-15:00】'
;
$userinfo
[
'withdraw_rule2'
]
=
'2、单个账户日提现金额不超过5000元,单笔提现金额不超过500元(整数提现)'
;
$userinfo
[
'withdraw_rule3'
]
=
'3、单笔提现手续费1%'
;
$this
->
success
(
'获取用户信息成功'
,
[
'userinfo'
=>
$userinfo
,
'shareholder'
=>
$userinfo
[
'shareholder'
]]);
}
...
...
@@ -275,8 +279,8 @@ class Users extends Api
$this
->
error
(
"输入金额不可大于钱包金额"
);
}
$withdrawcount
=
Withdraw
::
where
([
'user_id'
=>
$user_id
,
'status'
=>
[
'neq'
,
-
1
]])
->
whereTime
(
'start_time'
,
'today'
)
->
count
();
if
(
$withdrawcount
>=
2
0
)
{
$this
->
error
(
"每天提现不能超过
2
0次"
);
if
(
$withdrawcount
>=
1
0
)
{
$this
->
error
(
"每天提现不能超过
1
0次"
);
}
$data
=
[
'cash_sn'
=>
getOrdersn
(
'withdraw'
),
...
...
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