"ID", 'store_id' => "商城ID", ]; } public function getPromotions() { return $this->hasMany(WeChatSharer::class, ['sharer_appid' => 'sharer_appid']) ->viaTable(WeChatSharerLiveQrCode::tableName(), ['export_id' => 'export_id']); } public function getProducts() { return $this->hasMany(WeChatSharerProduct::class, ['talent_appid' => 'talent_appid']); } public function getTalent() { return $this->hasOne(PromoterTalent::class, ['talent_appid' => 'talent_appid']); } }