瀏覽代碼

默认的

Kirin 4 年之前
父節點
當前提交
7401bb6415
共有 1 個文件被更改,包括 1 次插入0 次删除
  1. 1 0
      app/admin/controller/user/User.php

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

@@ -835,6 +835,7 @@ class User extends AuthController
         $info->status = 1;
         $info->check_time = time();
         $info->valid_time = strtotime('+' . $grade_info['year'] . 'year');
+        $info->check_id = MemberCheck::max('check_id') + 1;
         $res = $info->save();
         if ($res) {
             Json::success('已通过');