董荣正 1 ماه پیش
والد
کامیت
162febf65a
1فایلهای تغییر یافته به همراه1 افزوده شده و 1 حذف شده
  1. 1 1
      application/common/model/UserModel.php

+ 1 - 1
application/common/model/UserModel.php

@@ -191,7 +191,7 @@ class UserModel extends Model
         }
         //
         return self::where('id', $uid)->update(['address_level'=> $addressLevel+1, 'is_super'=>self::Super]);
-        } catch (\Throwable $e) {
+        } catch (\Exception $e) {
             Log::error($e->getMessage(),'updateUserLevel');
         }
     }