mirror of
https://github.com/v2board/v2board.git
synced 2024-11-10 17:49:11 +08:00
update mailsend,frontend
This commit is contained in:
parent
43e7bb6c9f
commit
5cd020ea7a
@ -65,7 +65,9 @@ class UserController extends Controller
|
|||||||
'plan_id',
|
'plan_id',
|
||||||
'commission_rate',
|
'commission_rate',
|
||||||
'discount',
|
'discount',
|
||||||
'is_admin'
|
'is_admin',
|
||||||
|
'u',
|
||||||
|
'd'
|
||||||
]);
|
]);
|
||||||
$user = User::find($request->input('id'));
|
$user = User::find($request->input('id'));
|
||||||
if (!$user) {
|
if (!$user) {
|
||||||
@ -79,7 +81,6 @@ class UserController extends Controller
|
|||||||
} else {
|
} else {
|
||||||
unset($updateData['password']);
|
unset($updateData['password']);
|
||||||
}
|
}
|
||||||
$updateData['transfer_enable'] = $updateData['transfer_enable'] * 1073741824;
|
|
||||||
if (isset($updateData['plan_id'])) {
|
if (isset($updateData['plan_id'])) {
|
||||||
$plan = Plan::find($updateData['plan_id']);
|
$plan = Plan::find($updateData['plan_id']);
|
||||||
if (!$plan) {
|
if (!$plan) {
|
||||||
|
Loading…
Reference in New Issue
Block a user