|
|
@@ -312,13 +312,13 @@ class Member extends BaseController
|
|
|
return app('json')->fail('用户不存在,请输入正确的用户uid');
|
|
|
}
|
|
|
if ($post['type'] == 1)
|
|
|
- $bool = (new UserScoreDetailModel)->adminAddMoney($userData['uid'], intval($post['into']), $request->adminInfo['id'],$post['othen']);
|
|
|
+ $bool = (new UserScoreDetailModel)->adminAddMoney($userData['uid'], intval($post['into']), $request->adminInfo['id']);
|
|
|
|
|
|
if ($post['type'] == -1){
|
|
|
if($userData["score"]-$post['into']<0){
|
|
|
return app('json')->fail('剩余积分不足');
|
|
|
}
|
|
|
- $bool = (new UserScoreDetailModel)->adminCutMoney($userData['uid'], intval($post['into']), $request->adminInfo['id'],$post['othen']);
|
|
|
+ $bool = (new UserScoreDetailModel)->adminCutMoney($userData['uid'], intval($post['into']), $request->adminInfo['id']);
|
|
|
}
|
|
|
|
|
|
|