dever 3 年之前
父節點
當前提交
99b452ea71
共有 2 個文件被更改,包括 2 次插入2 次删除
  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) {
             Dever::alert('门店不存在');
         }
+
+        $this->shop['coord_address'] = '';
     }
 
     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['shop'] = $this->shop;
 
-        $this->data['shop']['coord_address'] = '';
-
         return $this->data;
     }