|
@@ -32,11 +32,13 @@ class mshopControl extends specialControl
|
|
{
|
|
{
|
|
$this->topup();
|
|
$this->topup();
|
|
|
|
|
|
- $url = BASE_SITE_URL . "/mshop/";
|
|
|
|
if(session_helper::need_wechat_author())
|
|
if(session_helper::need_wechat_author())
|
|
{
|
|
{
|
|
|
|
+ $url = BASE_SITE_URL . "/mobile/index.php?act=mshop&op=index";
|
|
$author = new thrid_author\wxauthor();
|
|
$author = new thrid_author\wxauthor();
|
|
$url = $author->enter($url);
|
|
$url = $author->enter($url);
|
|
|
|
+ } else {
|
|
|
|
+ $url = BASE_SITE_URL . "/mshop/";
|
|
}
|
|
}
|
|
|
|
|
|
return self::outsuccess(['direct_uri' => $url],"redirect");
|
|
return self::outsuccess(['direct_uri' => $url],"redirect");
|