Commit 634249ed by 朱继来

调整列表领取次数

parent ec149fa3
Showing with 1 additions and 1 deletions
...@@ -18,7 +18,7 @@ class UserInfoModel extends Model ...@@ -18,7 +18,7 @@ class UserInfoModel extends Model
{ {
$user_info = $this->where('user_id', $user_id)->select('apply_count')->first(); $user_info = $this->where('user_id', $user_id)->select('apply_count')->first();
if (!$user_info) return false; if (!$user_info) return 0;
return $user_info->apply_count; return $user_info->apply_count;
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment