shish 4 лет назад
Родитель
Сommit
08232e0e1b
1 измененных файлов с 1 добавлено и 0 удалено
  1. 1 0
      app-ghs/controllers/ShopAdminController.php

+ 1 - 0
app-ghs/controllers/ShopAdminController.php

@@ -62,6 +62,7 @@ class ShopAdminController extends BaseController
         $adminInfo = ['name' => $name, 'mobile' => $mobile, 'style' => $ptStyle,];
         $fromApp = dict::getDict('userSourceGetId', 'app', 'id');
         $admin = AdminService::replaceAdmin($adminInfo, $fromApp);
+        $post['shopId'] = $this->shopId;
         $respond = ShopAdminService::appGenerateStaff($post, $admin);
         util::success($respond);
     }