dever 3 years ago
parent
commit
99b452ea71
2 changed files with 2 additions and 2 deletions
  1. 2 0
      app/mshop/lib/Core.php
  2. 0 2
      app/mshop/src/My.php

+ 2 - 0
app/mshop/lib/Core.php

@@ -36,6 +36,8 @@ class Core
         if (!$this->shop) {
         if (!$this->shop) {
             Dever::alert('门店不存在');
             Dever::alert('门店不存在');
         }
         }
+
+        $this->shop['coord_address'] = '';
     }
     }
 
 
     public function checkLogin()
     public function checkLogin()

+ 0 - 2
app/mshop/src/My.php

@@ -38,8 +38,6 @@ class My extends Core
         $this->data['user'] = $this->user;
         $this->data['user'] = $this->user;
         $this->data['shop'] = $this->shop;
         $this->data['shop'] = $this->shop;
 
 
-        $this->data['shop']['coord_address'] = '';
-
         return $this->data;
         return $this->data;
     }
     }