auth = $auth->guard('user'); // 读取商户 $this->seller = model('common/Seller')->getBy(['user_id' => $this->auth->user()['id']]); } }