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

This commit is contained in:
赵世界 2022-10-24 14:02:21 +08:00
parent 6409be5ec9
commit fe50934b7e

View File

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