diff --git a/app/api/logic/user/UserLogic.php b/app/api/logic/user/UserLogic.php index 4c72f1b12..8e609df0d 100644 --- a/app/api/logic/user/UserLogic.php +++ b/app/api/logic/user/UserLogic.php @@ -82,7 +82,7 @@ class UserLogic extends BaseLogic } - public static function info($uid,$params) + public static function info($uid,$params=[]) { $data = User::with(['userShip'])->where('id',$uid) ->field('id,avatar,real_name,nickname,account,mobile,sex,login_ip,now_money,total_recharge_amount,user_ship