Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
T
token
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
JIRA
JIRA
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
wallet
token
Commits
f47dae56
Commit
f47dae56
authored
Sep 21, 2018
by
rlgy
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
update
parent
d13972a7
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
2 deletions
+3
-2
CoinReleaseCheckController.php
backend/controllers/CoinReleaseCheckController.php
+2
-1
GuodunController.php
h5/controllers/GuodunController.php
+1
-1
No files found.
backend/controllers/CoinReleaseCheckController.php
View file @
f47dae56
...
@@ -102,7 +102,6 @@ class CoinReleaseCheckController extends BaseController
...
@@ -102,7 +102,6 @@ class CoinReleaseCheckController extends BaseController
$check_ids
=
array_unique
(
array_values
(
array_merge
(
$check_ids
,
array_column
(
$datas
,
'check_second_uid'
))));
$check_ids
=
array_unique
(
array_values
(
array_merge
(
$check_ids
,
array_column
(
$datas
,
'check_second_uid'
))));
//获取所有管理员
//获取所有管理员
$admins
=
$this
->
getAccessAdmins
();
$admins
=
$this
->
getAccessAdmins
();
foreach
(
$datas
as
$key
=>
&
$value
)
{
foreach
(
$datas
as
$key
=>
&
$value
)
{
$value
[
'check_first_uid'
]
=
$admins
[
$value
[
'check_first_uid'
]];
$value
[
'check_first_uid'
]
=
$admins
[
$value
[
'check_first_uid'
]];
$value
[
'check_second_uid'
]
=
$admins
[
$value
[
'check_second_uid'
]];
$value
[
'check_second_uid'
]
=
$admins
[
$value
[
'check_second_uid'
]];
...
@@ -145,6 +144,8 @@ class CoinReleaseCheckController extends BaseController
...
@@ -145,6 +144,8 @@ class CoinReleaseCheckController extends BaseController
return
[
'code'
=>
-
1
,
'msg'
=>
'初审未通过'
];
return
[
'code'
=>
-
1
,
'msg'
=>
'初审未通过'
];
}
}
}
elseif
(
self
::
STEP_CANCEL
==
$step
)
{
}
elseif
(
self
::
STEP_CANCEL
==
$step
)
{
$model
->
check_first_uid
=
Yii
::
$app
->
user
->
id
;
$model
->
check_second_uid
=
Yii
::
$app
->
user
->
id
;
$model
->
status
=
CoinReleaseCheck
::
STATUS_CANCEL
;
$model
->
status
=
CoinReleaseCheck
::
STATUS_CANCEL
;
}
}
if
(
$model
->
save
(
false
))
{
if
(
$model
->
save
(
false
))
{
...
...
h5/controllers/GuodunController.php
View file @
f47dae56
...
@@ -80,7 +80,7 @@ class GuodunController extends BaseController
...
@@ -80,7 +80,7 @@ class GuodunController extends BaseController
$user_asset
=
CoinReleaseMember
::
findOne
([
$id
]);
$user_asset
=
CoinReleaseMember
::
findOne
([
$id
]);
//判断余额师傅充足
//判断余额师傅充足
if
(
$user_asset
->
release
<
$amount
*
1e
5
)
{
if
(
$user_asset
->
release
<
$amount
*
1e
8
)
{
$response
->
build
(
-
1
,
'余额不足!'
);
$response
->
build
(
-
1
,
'余额不足!'
);
return
$response
;
return
$response
;
}
}
...
...
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