소스 검색

后台充钱和公会用户的权限按钮

lizhen_gitee 2 년 전
부모
커밋
796e722028
3개의 변경된 파일5개의 추가작업 그리고 1개의 파일을 삭제
  1. 3 0
      application/admin/controller/Userwallet.php
  2. 1 0
      application/admin/view/ghuser/index.html
  3. 1 1
      application/admin/view/userwallet/index.html

+ 3 - 0
application/admin/controller/Userwallet.php

@@ -72,6 +72,9 @@ class Userwallet extends Backend
         return $this->view->fetch();
     }
 
+    /**
+     * 充值金币
+     */
     public function updatemoney(){
         $id = input('id');
         $info = Db::name('user_wallet')

+ 1 - 0
application/admin/view/ghuser/index.html

@@ -35,6 +35,7 @@
                     <table id="table" class="table table-striped table-bordered table-hover table-nowrap"
                            data-operate-edit="{:$auth->check('ghuser/edit')}" 
                            data-operate-del="{:$auth->check('ghuser/del')}" 
+                           data-operate-moneylog="{:$auth->check('moneylog/index')}"
                            width="100%">
                     </table>
                 </div>

+ 1 - 1
application/admin/view/userwallet/index.html

@@ -25,7 +25,7 @@
                     <table id="table" class="table table-striped table-bordered table-hover table-nowrap"
                            data-operate-edit="{:$auth->check('userwallet/edit')}" 
                            data-operate-del="{:$auth->check('userwallet/del')}" 
-                           data-operate-del="{:$auth->check('userwallet/updatemoney')}"
+                           data-operate-updatemoney="{:$auth->check('userwallet/updatemoney')}"
                            width="100%">
                     </table>
                 </div>