|
@@ -70,7 +70,7 @@ class UserLevel extends BaseModel
|
|
|
* @throws ModelNotFoundException
|
|
|
* @throws \think\exception\DbException
|
|
|
*/
|
|
|
- public static function setUserLevel($uid, $level_id)
|
|
|
+ /*public static function setUserLevel($uid, $level_id)
|
|
|
{
|
|
|
$vipinfo = SystemUserLevel::get($level_id);
|
|
|
if (!$vipinfo) return false;
|
|
@@ -111,7 +111,7 @@ class UserLevel extends BaseModel
|
|
|
User::where('uid', $uid)->update(['level' => $level_id]);
|
|
|
return $res;
|
|
|
}
|
|
|
- }
|
|
|
+ }*/
|
|
|
|
|
|
/**
|
|
|
* 获取当前用户会员等级返回当前用户等级id
|