Kirin 3 年之前
父节点
当前提交
ab84668323
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      app/admin/controller/user/User.php

+ 1 - 1
app/admin/controller/user/User.php

@@ -88,7 +88,7 @@ class User extends AuthController
     public function set_store($uid = 0)
     {
         if (!$uid) return $this->failed('缺少参数');
-        $stores = SystemStore::where('id', 'not in', UserStorePromoter::where('uid', $uid)->column('store_id'))->select();
+        $stores = \app\models\system\SystemStore::where('id', 'not in', UserStorePromoter::where('uid', $uid)->column('store_id'))->select();
         $field[] = Form::select('store_id', '代理门店')->setOptions(function () use ($stores) {
             $menus = [];
             foreach ($stores as $menu) {