!109 字段错误修改

Merge pull request !109 from 赵世界/develop
This commit is contained in:
赵世界 2022-10-24 06:03:22 +00:00 committed by Gitee
commit 269d66250e
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F

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('group_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);