Browse Source

[更新]添加粉丝标签设置

Anyon 8 years ago
parent
commit
8b21df9925
2 changed files with 2 additions and 1 deletions
  1. 0 1
      application/wechat/controller/Fans.php
  2. 2 0
      application/wechat/view/fans.index.html

+ 0 - 1
application/wechat/controller/Fans.php

@@ -68,7 +68,6 @@ class Fans extends BasicAdmin {
             }
         }
         $this->assign('tags', $tags);
-        $this->assign('alert', ['type' => 'success', 'title' => '开发中', 'content' => '请稍候...']);
     }
 
     /**

+ 2 - 0
application/wechat/view/fans.index.html

@@ -146,6 +146,7 @@
 {/block}
 
 {block name="script"}
+{if auth("$classuri/tagset")}
 <script>
     // 添加标签
     $('body').find('[data-add-tag]').map(function () {
@@ -185,4 +186,5 @@
         });
     });
 </script>
+{/if}
 {/block}