|
@@ -28,7 +28,8 @@ class mshopControl extends specialControl
|
|
|
|
|
|
public function indexOp()
|
|
|
{
|
|
|
- $url = BASE_SITE_URL . "/mobile/index.html?#";
|
|
|
+ $sversion = shop_version();
|
|
|
+ $url = BASE_SITE_URL . "/mobile/index.html?v={$sversion}#";
|
|
|
|
|
|
if(session_helper::need_wechat_author())
|
|
|
{
|
|
@@ -70,12 +71,13 @@ class mshopControl extends specialControl
|
|
|
|
|
|
public function goodsOp()
|
|
|
{
|
|
|
+ $sversion = shop_version();
|
|
|
$goods_id = intval($_GET['goods_id']);
|
|
|
if($goods_id <= 0) {
|
|
|
- $url = BASE_SITE_URL . "/mobile/index.html?#";
|
|
|
+ $url = BASE_SITE_URL . "/mobile/index.html?v={$sversion}#";
|
|
|
}
|
|
|
else {
|
|
|
- $url = BASE_SITE_URL . "/mobile/index.html?#/goods_detail?goods_id={$goods_id}";
|
|
|
+ $url = BASE_SITE_URL . "/mobile/index.html?v={$sversion}#/goods_detail?goods_id={$goods_id}";
|
|
|
}
|
|
|
if(session_helper::need_wechat_author())
|
|
|
{
|
|
@@ -90,10 +92,12 @@ 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?#";
|
|
|
+ $url = BASE_SITE_URL . "/mobile/index.html?v={$sversion}v={$sversion}#";
|
|
|
}
|
|
|
else
|
|
|
{
|
|
@@ -101,7 +105,7 @@ class mshopControl extends specialControl
|
|
|
$title = $this->special_name($special_id);
|
|
|
$title = urlencode($title);
|
|
|
}
|
|
|
- $url = BASE_SITE_URL . "/mobile/index.html?#/special?special_id={$special_id}&is_special=true&title={$title}";
|
|
|
+ $url = BASE_SITE_URL . "/mobile/index.html?v={$sversion}#/special?special_id={$special_id}&is_special=true&title={$title}";
|
|
|
}
|
|
|
if(session_helper::need_wechat_author())
|
|
|
{
|