stanley-king 7 лет назад
Родитель
Сommit
ab2c23ef0a
2 измененных файлов с 3 добавлено и 11 удалено
  1. 0 8
      mobile/control/goods.php
  2. 3 3
      mobile/control/special.php

+ 0 - 8
mobile/control/goods.php

@@ -6,14 +6,6 @@
  * Time: 下午10:11
  */
 
-/**
- * 前台品牌分类
- *
- *
- *
- ***/
-
-
 defined('InShopNC') or exit('Access Invalid!');
 
 class goodsControl extends mobileControl

+ 3 - 3
mobile/control/special.php

@@ -37,8 +37,7 @@ class specialControl extends mobileHomeControl
         QueueClient::push('onClickSpecial',['special_id' => $special_id]);
         if($spitem->from_user())
         {
-            if(session_helper::need_wechat_author())
-            {
+            if(session_helper::need_wechat_author()) {
                 $author = new thrid_author\wxauthor();
                 $url = author_url::ugc_url($special_id);
                 $url = $author->enter($url);
@@ -195,7 +194,8 @@ class tpl_ugc
             $this->special = null;
         }
 
-        if(session_helper::logined()) {
+        if(session_helper::logined())
+        {
             $memberid = session_helper::memberid();
             if($this->special->memberid() == $memberid) {
                 $this->mAuthorRelation = 2;