作者 Cool

用户首页接口调整

... ... @@ -159,7 +159,7 @@ class User extends Api
->where('is_read_user',2)
->count(),
// 是否入驻店铺
'is_store' => \app\api\model\Store::where('id',$this->auth->id)->value('status')
'is_store' => \app\api\model\Store::where('id',$this->auth->id)->order('id','DESC')->value('status')
];
$user = $user->visible([
'id',
... ...