commit
3d1b59ac14
@ -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);
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user