mall_id = $mall_id; $this->customer_num = $customer_num; if (!empty($shop_id)) { $this->shop_id = $shop_id; // 读取店铺ID $this->config = WechatVideoShop::getOne([ ['id' => $shop_id] ], true); // 现在需要通过店铺去获取配置信息 // $this->config = \Yii::$app->services->setting->addons->get($mall_id, WechatVideoShopEnums::ADDONS_NAME, 'basic') ?? []; } } }