WIN-2308041133\Administrator 3 tháng trước cách đây
mục cha
commit
49c0e49fb0
1 tập tin đã thay đổi với 1 bổ sung2 xóa
  1. 1 2
      app/controller/admin/user/User.php

+ 1 - 2
app/controller/admin/user/User.php

@@ -637,10 +637,9 @@ class User extends BaseController
      * @author xaboy
      * @day 2020-05-07
      */
-    public function changeIntegral($id, UserNowMoneyValidate $validate)
+    public function changeIntegral($id)
     {
         $data = $this->request->params(['now_money', 'type']);
-        $validate->check($data);
         if (!$this->repository->exists($id))
             return app('json')->fail('数据不存在');
         $this->repository->changeIntegral($id, $this->request->adminId(), $data['type'], $data['now_money']);