public function getGoodsCategories() { return Goods::find()->select('category_id')->where(['store_id' => $this->id, 'status' => Goods::STATUS_NORMAL])->distinct()->column(); }