shish 4 years ago
parent
commit
08232e0e1b
1 changed files with 1 additions and 0 deletions
  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);
     }