mirror of
https://gitee.com/hzchunfen/erp.git
synced 2025-12-01 14:40:44 +00:00
feat: #100000 字段名称错误修改
This commit is contained in:
parent
fe50934b7e
commit
fc194f9af8
@ -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('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);
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user