stanley-king 7 anos atrás
pai
commit
547aacf03b
1 arquivos alterados com 5 adições e 6 exclusões
  1. 5 6
      mobile/control/mshop.php

+ 5 - 6
mobile/control/mshop.php

@@ -29,7 +29,7 @@ class mshopControl extends specialControl
     public function indexOp()
     {
         $sversion = shop_version();
-        $url = BASE_SITE_URL . "/mobile/index.html?v={$sversion}#";
+        $url = BASE_SITE_URL . "/mobile/index.html?{$sversion}#";
 
         if(session_helper::need_wechat_author())
         {
@@ -74,10 +74,10 @@ class mshopControl extends specialControl
         $sversion = shop_version();
         $goods_id = intval($_GET['goods_id']);
         if($goods_id <= 0) {
-            $url = BASE_SITE_URL . "/mobile/index.html?v={$sversion}#";
+            $url = BASE_SITE_URL . "/mobile/index.html?{$sversion}#";
         }
         else {
-            $url = BASE_SITE_URL . "/mobile/index.html?v={$sversion}#/goods_detail?goods_id={$goods_id}";
+            $url = BASE_SITE_URL . "/mobile/index.html?{$sversion}#/goods_detail?goods_id={$goods_id}";
         }
         if(session_helper::need_wechat_author())
         {
@@ -93,11 +93,10 @@ class mshopControl extends specialControl
     public function specialOp()
     {
         $sversion = shop_version();
-        $sversion = shop_version();
         $special_id = intval($_GET['special_id']);
         $title = $_GET['title'];
         if($special_id <= 0) {
-            $url = BASE_SITE_URL . "/mobile/index.html?v={$sversion}v={$sversion}#";
+            $url = BASE_SITE_URL . "/mobile/index.html?{$sversion}#";
         }
         else
         {
@@ -105,7 +104,7 @@ class mshopControl extends specialControl
                 $title = $this->special_name($special_id);
                 $title = urlencode($title);
             }
-            $url = BASE_SITE_URL . "/mobile/index.html?v={$sversion}#/special?special_id={$special_id}&is_special=true&title={$title}";
+            $url = BASE_SITE_URL . "/mobile/index.html?{$sversion}#/special?special_id={$special_id}&is_special=true&title={$title}";
         }
         if(session_helper::need_wechat_author())
         {