"待审核", self::state_success=>"审核通过", self::state_hide=>"隐藏", ]; } public static function allType(){ return [ self::type_text=>"文本", self::type_img=>"图片", self::type_voice=>"语音", ]; } public function account() { return $this->hasOne(Account::class,"user_code","user_code"); } public function business() { return $this->hasOne(Business::class,"code","business_code"); } }