feat: #100000 字段名称错误修改

This commit is contained in:
赵世界 2022-10-24 14:08:38 +08:00
parent fe50934b7e
commit fc194f9af8

View File

@ -27,7 +27,7 @@ class GroupQueryListener
*/
public function handle(GroupSetEvent $event)
{
$shopId = Groups::query()->where('group_id', $event->groupId)->value('shop_id');
$shopId = Groups::query()->where('id', $event->groupId)->value('shop_id');
$shop = Shop::query()->find($shopId);
$client = BusinessFactory::init()->make($shop['plat_id'])->setShopWithId($shop['id']);
$client->createGroup($event->groupId);