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