dever 3 lat temu
rodzic
commit
22c0715899
1 zmienionych plików z 1 dodań i 1 usunięć
  1. 1 1
      service/agent/src/My.php

+ 1 - 1
service/agent/src/My.php

@@ -75,7 +75,7 @@ class My extends Core
     # 设置门店
     public function setShop()
     {
-        $id = Dever::input('id');
+        $id = Dever::input('id', $this->uid);
         $shop_id = Dever::input('shop_id');
         $this->data['info'] = Dever::db('agent/member')->find($id);
         if ($this->data['info'] && $this->data['info']['idcard'] == $this->user['idcard']) {