user(); } public function sellerId() { return $this->seller()->id; } public function shopId() { return $this->seller()->shop_id; } public function checkMasterNext() { ThrowException::isTrue($this->seller()->level != SellerLevel::MASTER, '权限不足!'); } }