唐金木 4 년 전
부모
커밋
7e92d3cb42
27개의 변경된 파일776개의 추가작업 그리고 1816개의 파일을 삭제
  1. 25 39
      php/.idea/workspace.xml
  2. 45 1
      php/app/admin/controller/Usermanage.php
  3. 0 21
      php/runtime/admin/log/202006/01.log
  4. 0 245
      php/runtime/admin/log/202006/02.log
  5. 25 0
      php/runtime/admin/log/202006/04.log
  6. 0 139
      php/runtime/admin/temp/01e433db5e5517b7a2c4587da42797aa.php
  7. 0 185
      php/runtime/admin/temp/14d50cc59972e0ab82b71f4b5f381353.php
  8. 0 147
      php/runtime/admin/temp/193b3c530962981d3a4dc850749aaa8b.php
  9. 0 182
      php/runtime/admin/temp/42d182ba955a14984e138f63987ed1b0.php
  10. 0 148
      php/runtime/admin/temp/a43dd06f39d809c109c800ec9d9d065a.php
  11. 0 145
      php/runtime/admin/temp/a5b87fd77913dd9b0ad9dd783203b8ce.php
  12. 0 157
      php/runtime/admin/temp/a8ba287c844b92a9904d92bc00486605.php
  13. 0 111
      php/runtime/admin/temp/a8f8b134a87427ac15fa2ed97d90c5b0.php
  14. 0 152
      php/runtime/admin/temp/b04ecd3398bf75dee5dd9dee974fadba.php
  15. 242 0
      php/runtime/admin/temp/b7eebf4d17da292020e3e037ce40d039.php
  16. 0 122
      php/runtime/ap/log/202006/01.log
  17. 0 4
      php/runtime/cache/0b/dc60c1eb9bd2792cd1fa7f85d9c865.php
  18. 0 4
      php/runtime/cache/b5/0db2208db974a3bc060e4d7255aa98.php
  19. 0 4
      php/runtime/cache/ca/361393b5a02e8a62e8dd6d5373a473.php
  20. BIN
      php/runtime/session/sess_ab4726e650d984353a6b41b449abf891
  21. 0 0
      php/runtime/session/sess_da54de683472e7c0d40273fc08c51d96
  22. 0 1
      php/runtime/web/log/202006/03.log
  23. 232 0
      php/view/admin/Usermanage/index.html
  24. 102 0
      php/view/admin/Usermanage/user_money.html
  25. 102 0
      php/view/admin/Usermanage/vip_level.html
  26. 1 1
      php/view/admin/common/footer.html
  27. 2 8
      php/view/admin/common/header.html

+ 25 - 39
php/.idea/workspace.xml

@@ -3,7 +3,27 @@
   <component name="ChangeListManager">
     <list default="true" id="52cc2ceb-e100-4a5f-a9e2-bb6b61bdbebd" name="Default Changelist" comment="">
       <change beforePath="$PROJECT_DIR$/.idea/workspace.xml" beforeDir="false" afterPath="$PROJECT_DIR$/.idea/workspace.xml" afterDir="false" />
-      <change beforePath="$PROJECT_DIR$/../~$BTS需求.docx" beforeDir="false" />
+      <change beforePath="$PROJECT_DIR$/app/admin/controller/Usermanage.php" beforeDir="false" afterPath="$PROJECT_DIR$/app/admin/controller/Usermanage.php" afterDir="false" />
+      <change beforePath="$PROJECT_DIR$/runtime/admin/log/202006/01.log" beforeDir="false" />
+      <change beforePath="$PROJECT_DIR$/runtime/admin/log/202006/02.log" beforeDir="false" />
+      <change beforePath="$PROJECT_DIR$/runtime/admin/temp/01e433db5e5517b7a2c4587da42797aa.php" beforeDir="false" />
+      <change beforePath="$PROJECT_DIR$/runtime/admin/temp/14d50cc59972e0ab82b71f4b5f381353.php" beforeDir="false" />
+      <change beforePath="$PROJECT_DIR$/runtime/admin/temp/193b3c530962981d3a4dc850749aaa8b.php" beforeDir="false" />
+      <change beforePath="$PROJECT_DIR$/runtime/admin/temp/42d182ba955a14984e138f63987ed1b0.php" beforeDir="false" />
+      <change beforePath="$PROJECT_DIR$/runtime/admin/temp/a43dd06f39d809c109c800ec9d9d065a.php" beforeDir="false" />
+      <change beforePath="$PROJECT_DIR$/runtime/admin/temp/a5b87fd77913dd9b0ad9dd783203b8ce.php" beforeDir="false" />
+      <change beforePath="$PROJECT_DIR$/runtime/admin/temp/a8ba287c844b92a9904d92bc00486605.php" beforeDir="false" />
+      <change beforePath="$PROJECT_DIR$/runtime/admin/temp/a8f8b134a87427ac15fa2ed97d90c5b0.php" beforeDir="false" />
+      <change beforePath="$PROJECT_DIR$/runtime/admin/temp/b04ecd3398bf75dee5dd9dee974fadba.php" beforeDir="false" />
+      <change beforePath="$PROJECT_DIR$/runtime/ap/log/202006/01.log" beforeDir="false" />
+      <change beforePath="$PROJECT_DIR$/runtime/cache/0b/dc60c1eb9bd2792cd1fa7f85d9c865.php" beforeDir="false" />
+      <change beforePath="$PROJECT_DIR$/runtime/cache/b5/0db2208db974a3bc060e4d7255aa98.php" beforeDir="false" />
+      <change beforePath="$PROJECT_DIR$/runtime/cache/ca/361393b5a02e8a62e8dd6d5373a473.php" beforeDir="false" />
+      <change beforePath="$PROJECT_DIR$/runtime/session/sess_3f972420e5bb26ed1e69c519f52d4119" beforeDir="false" />
+      <change beforePath="$PROJECT_DIR$/runtime/session/sess_ab4726e650d984353a6b41b449abf891" beforeDir="false" />
+      <change beforePath="$PROJECT_DIR$/runtime/web/log/202006/03.log" beforeDir="false" />
+      <change beforePath="$PROJECT_DIR$/view/admin/common/footer.html" beforeDir="false" afterPath="$PROJECT_DIR$/view/admin/common/footer.html" afterDir="false" />
+      <change beforePath="$PROJECT_DIR$/view/admin/common/header.html" beforeDir="false" afterPath="$PROJECT_DIR$/view/admin/common/header.html" afterDir="false" />
     </list>
     <option name="EXCLUDED_CONVERTED_TO_IGNORED" value="true" />
     <option name="SHOW_DIALOG" value="false" />
@@ -25,43 +45,6 @@
       </list>
     </option>
   </component>
-  <component name="FindInProjectRecents">
-    <findStrings>
-      <find>delAll</find>
-      <find>all_reject</find>
-      <find>switch</find>
-      <find>status</find>
-      <find>reject</find>
-      <find>all_agree</find>
-      <find>cancel_sign</find>
-      <find>$system</find>
-      <find>video</find>
-      <find>submit</find>
-      <find>student_id</find>
-      <find>aliyuncs/oss-sdk-php</find>
-      <find>userLevel</find>
-      <find>lay-skin</find>
-      <find>auth_open</find>
-      <find>lay-filter</find>
-      <find>search</find>
-      <find>UploadedFile</find>
-      <find>addBtn</find>
-      <find>factory</find>
-      <find>init</find>
-      <find>echarts</find>
-      <find>api</find>
-      <find>Invalid authorization credentials</find>
-      <find>resultset_type</find>
-      <find>main</find>
-      <find>lm_finance</find>
-      <find>feedback</find>
-      <find>Message</find>
-      <find>problem</find>
-    </findStrings>
-    <dirStrings>
-      <dir>D:\phpstudy_pro\WWW\small\syyxy\php</dir>
-    </dirStrings>
-  </component>
   <component name="Git.Settings">
     <option name="RECENT_GIT_ROOT_PATH" value="$PROJECT_DIR$/.." />
   </component>
@@ -313,6 +296,7 @@
       <workItem from="1591065028261" duration="19190000" />
       <workItem from="1591146974136" duration="26205000" />
       <workItem from="1591183816465" duration="961000" />
+      <workItem from="1591269488801" duration="6395000" />
     </task>
     <servers />
   </component>
@@ -324,7 +308,9 @@
       <map>
         <entry key="MAIN">
           <value>
-            <State />
+            <State>
+              <option name="COLUMN_ORDER" />
+            </State>
           </value>
         </entry>
       </map>

+ 45 - 1
php/app/admin/controller/Usermanage.php

@@ -9,13 +9,48 @@
 namespace app\admin\controller;
 
 
-class Usermanage
+use app\common\controller\Backend;
+use app\common\model\UserLevel;
+use think\facade\Db;
+use think\facade\Request;
+use think\facade\View;
+
+class Usermanage extends Backend
 {
  // 用户管理
 
     // 用户列表
     public function index()
     {
+        if (Request::isPost()) {
+            $keys = Request::post('keys', '', 'trim');
+            $page = Request::post('page') ? Request::post('page') : 1;
+            $limit=input("limit")?:10;
+            $list = Db::name('user')
+                ->where('mail|phone|name','like',"%".$keys."%")
+                ->order('id desc')
+                ->paginate(['list_rows' =>$limit, 'page' => $page])
+                ->toArray();
+            foreach ($list['data'] as $k=>$v){
+                if ($v['update_time']){
+                    $list['data'][$k]['update_time'] = date('Y-m-d H:i',$v['update_time']);
+                }
+            }
+            return $result = ['code' => 0, 'msg' => lang('get info success'), 'data' => $list['data'], 'count' => $list['total']];
+        }
+
+        $vip=UserLevel::select();
+        View::assign("vip",$vip);
+        return View::fetch();
+    }
+
+    // 设置等级
+    public function update_leve()
+    {
+        $id=input("id");
+        $level=input("level");
+        \app\common\model\User::update(["vip_level"=>$level],["id"=>$id]);
+        json_result(200,"设置成功");
 
     }
 
@@ -34,7 +69,16 @@ class Usermanage
     // 封号
     public function fenhao()
     {
+        $id=input("id");
 
+        $user=\app\common\model\User::where(["id"=>$id])->field("status")->find();
+        if ($user->status==1){
+            $update["status"]=0;
+        }else{
+            $update["status"]=1;
+        }
+        \app\common\model\User::update($update,["id"=>$id]);
+        json_result(200,"操作成功");
     }
 //用户充值
     public function chongzhi()

+ 0 - 21
php/runtime/admin/log/202006/01.log

@@ -1,21 +0,0 @@
-[2020-06-01T14:43:14+08:00][sql] CONNECT:[ UseTime:0.082290s ] mysql:host=rm-2ze41ef9a1037xwc8po.mysql.rds.aliyuncs.com;port=3306;dbname=any_anli;charset=utf8
-[2020-06-01T14:43:14+08:00][sql] SHOW FULL COLUMNS FROM `lm_auth_rule` [ RunTime:0.055869s ]
-[2020-06-01T14:43:14+08:00][sql] SELECT `href`,`href` FROM `lm_auth_rule` [ RunTime:0.055143s ]
-[2020-06-01T14:46:08+08:00][sql] CONNECT:[ UseTime:0.084427s ] mysql:host=rm-2ze41ef9a1037xwc8po.mysql.rds.aliyuncs.com;port=3306;dbname=any_anli;charset=utf8
-[2020-06-01T14:46:08+08:00][sql] SHOW FULL COLUMNS FROM `lm_auth_rule` [ RunTime:0.055499s ]
-[2020-06-01T14:46:08+08:00][sql] SELECT `href`,`href` FROM `lm_auth_rule` [ RunTime:0.055163s ]
-[2020-06-01T14:47:07+08:00][sql] CONNECT:[ UseTime:0.088009s ] mysql:host=rm-2ze41ef9a1037xwc8po.mysql.rds.aliyuncs.com;port=3306;dbname=any_anli;charset=utf8
-[2020-06-01T14:47:07+08:00][sql] SHOW FULL COLUMNS FROM `lm_auth_rule` [ RunTime:0.056916s ]
-[2020-06-01T14:47:07+08:00][sql] SELECT `href`,`href` FROM `lm_auth_rule` [ RunTime:0.056872s ]
-[2020-06-01T14:47:37+08:00][sql] CONNECT:[ UseTime:2.884051s ] mysql:host=rm-2ze41ef9a1037xwc8po.mysql.rds.aliyuncs.com;port=3306;dbname=any_anli;charset=utf8
-[2020-06-01T14:47:37+08:00][sql] SHOW FULL COLUMNS FROM `lm_auth_rule` [ RunTime:0.815186s ]
-[2020-06-01T14:47:37+08:00][sql] SELECT `href`,`href` FROM `lm_auth_rule` [ RunTime:0.560427s ]
-[2020-06-01T14:48:12+08:00][sql] CONNECT:[ UseTime:0.083075s ] mysql:host=rm-2ze41ef9a1037xwc8po.mysql.rds.aliyuncs.com;port=3306;dbname=any_anli;charset=utf8
-[2020-06-01T14:48:12+08:00][sql] SHOW FULL COLUMNS FROM `lm_auth_rule` [ RunTime:0.053014s ]
-[2020-06-01T14:48:12+08:00][sql] SELECT `href`,`href` FROM `lm_auth_rule` [ RunTime:0.053805s ]
-[2020-06-01T15:18:55+08:00][sql] CONNECT:[ UseTime:0.202858s ] mysql:host=rm-2ze41ef9a1037xwc8po.mysql.rds.aliyuncs.com;port=3306;dbname=any_anli;charset=utf8
-[2020-06-01T15:18:55+08:00][sql] SHOW FULL COLUMNS FROM `lm_auth_rule` [ RunTime:0.055640s ]
-[2020-06-01T15:18:55+08:00][sql] SELECT `href`,`href` FROM `lm_auth_rule` [ RunTime:0.053790s ]
-[2020-06-01T15:18:55+08:00][sql] SELECT * FROM `lm_auth_rule` WHERE  `href` = 'Adminlog/index' LIMIT 1 [ RunTime:0.054191s ]
-[2020-06-01T15:18:55+08:00][sql] SHOW FULL COLUMNS FROM `lm_admin_log` [ RunTime:0.055516s ]
-[2020-06-01T15:18:55+08:00][sql] INSERT INTO `lm_admin_log` SET `log_title` = '日志管理' , `log_content` = '点击菜单' , `log_url` = '/admin/adminlog/index.html' , `admin_id` = 1 , `username` = 'admin' , `log_agent` = 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/80.0.3987.132 Safari/537.36' , `log_ip` = '127.0.0.1' , `create_time` = 1590995934 , `update_time` = 1590995934 [ RunTime:0.054304s ]

파일 크기가 너무 크기때문에 변경 상태를 표시하지 않습니다.
+ 0 - 245
php/runtime/admin/log/202006/02.log


+ 25 - 0
php/runtime/admin/log/202006/04.log

@@ -0,0 +1,25 @@
+[2020-06-04T20:51:30+08:00][sql] CONNECT:[ UseTime:0.186512s ] mysql:host=120.78.128.100;port=3306;dbname=test;charset=utf8
+[2020-06-04T20:51:30+08:00][sql] SHOW FULL COLUMNS FROM `lm_auth_rule` [ RunTime:0.127364s ]
+[2020-06-04T20:51:30+08:00][sql] SELECT `href`,`href` FROM `lm_auth_rule` [ RunTime:0.124727s ]
+[2020-06-04T20:51:32+08:00][sql] CONNECT:[ UseTime:0.192866s ] mysql:host=120.78.128.100;port=3306;dbname=test;charset=utf8
+[2020-06-04T20:51:32+08:00][sql] SHOW FULL COLUMNS FROM `lm_auth_rule` [ RunTime:0.127195s ]
+[2020-06-04T20:51:32+08:00][sql] SELECT `href`,`href` FROM `lm_auth_rule` [ RunTime:0.128462s ]
+[2020-06-04T20:51:32+08:00][sql] SELECT * FROM `lm_auth_rule` WHERE  `href` = 'Usermanage/index' LIMIT 1 [ RunTime:0.128439s ]
+[2020-06-04T20:51:32+08:00][sql] SHOW FULL COLUMNS FROM `lm_admin_log` [ RunTime:0.130683s ]
+[2020-06-04T20:51:32+08:00][sql] INSERT INTO `lm_admin_log` SET `log_title` = '用户列表' , `log_content` = '点击菜单' , `log_url` = '/admin/usermanage/index.html' , `admin_id` = 1 , `username` = 'admin' , `log_agent` = 'Mozilla/5.0 (Windows NT 10.0; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/75.0.3770.100 Safari/537.36' , `log_ip` = '127.0.0.1' , `create_time` = 1591275091 , `update_time` = 1591275091 [ RunTime:0.128555s ]
+[2020-06-04T20:51:32+08:00][sql] SHOW FULL COLUMNS FROM `lm_user_level` [ RunTime:0.129531s ]
+[2020-06-04T20:51:32+08:00][sql] SELECT * FROM `lm_user_level` [ RunTime:0.127506s ]
+[2020-06-04T20:51:33+08:00][sql] CONNECT:[ UseTime:0.187744s ] mysql:host=120.78.128.100;port=3306;dbname=test;charset=utf8
+[2020-06-04T20:51:33+08:00][sql] SHOW FULL COLUMNS FROM `lm_auth_rule` [ RunTime:0.126862s ]
+[2020-06-04T20:51:33+08:00][sql] SELECT `href`,`href` FROM `lm_auth_rule` [ RunTime:0.127101s ]
+[2020-06-04T20:51:33+08:00][sql] SHOW FULL COLUMNS FROM `lm_user` [ RunTime:0.127563s ]
+[2020-06-04T20:51:33+08:00][sql] SELECT COUNT(*) AS think_count FROM `lm_user` WHERE  ( `mail` LIKE '%%' OR `phone` LIKE '%%' OR `name` LIKE '%%' ) [ RunTime:0.125416s ]
+[2020-06-04T20:51:33+08:00][sql] SELECT * FROM `lm_user` WHERE  ( `mail` LIKE '%%' OR `phone` LIKE '%%' OR `name` LIKE '%%' ) ORDER BY `id` DESC LIMIT 0,15 [ RunTime:0.127115s ]
+[2020-06-04T20:51:34+08:00][sql] CONNECT:[ UseTime:0.188524s ] mysql:host=120.78.128.100;port=3306;dbname=test;charset=utf8
+[2020-06-04T20:51:34+08:00][sql] SHOW FULL COLUMNS FROM `lm_auth_rule` [ RunTime:0.124664s ]
+[2020-06-04T20:51:34+08:00][sql] SELECT `href`,`href` FROM `lm_auth_rule` [ RunTime:0.125094s ]
+[2020-06-04T20:51:34+08:00][sql] SHOW FULL COLUMNS FROM `lm_admin` [ RunTime:0.125282s ]
+[2020-06-04T20:51:44+08:00][sql] CONNECT:[ UseTime:0.193133s ] mysql:host=120.78.128.100;port=3306;dbname=test;charset=utf8
+[2020-06-04T20:51:44+08:00][sql] SHOW FULL COLUMNS FROM `lm_auth_rule` [ RunTime:0.128786s ]
+[2020-06-04T20:51:44+08:00][sql] SELECT `href`,`href` FROM `lm_auth_rule` [ RunTime:0.128207s ]
+[2020-06-04T20:51:44+08:00][sql] SHOW FULL COLUMNS FROM `lm_admin` [ RunTime:0.129156s ]

+ 0 - 139
php/runtime/admin/temp/01e433db5e5517b7a2c4587da42797aa.php

@@ -1,139 +0,0 @@
-<?php /*a:3:{s:63:"D:\phpstudy_pro\WWW\cxy\bts\php\view\admin\auth\admin_list.html";i:1590638532;s:61:"D:\phpstudy_pro\WWW\cxy\bts\php\view\admin\common\header.html";i:1582014448;s:61:"D:\phpstudy_pro\WWW\cxy\bts\php\view\admin\common\footer.html";i:1581911356;}*/ ?>
-<!DOCTYPE html>
-<html>
-<head>
-    <meta charset="utf-8">
-    <title><?php echo config('admin.sys_name'); ?>后台管理</title>
-    <meta name="renderer" content="webkit">
-    <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
-    <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
-    <meta name="apple-mobile-web-app-status-bar-style" content="black">
-    <meta name="apple-mobile-web-app-capable" content="yes">
-    <meta name="format-detection" content="telephone=no">
-    <link rel="stylesheet" href="/static/plugins/layui/css/layui.css" media="all" />
-    <!--<link rel="stylesheet" href="/static/plugins/bootstrap-3.3.7/css/bootstrap.css" media="all" />-->
-    <!--<link rel="stylesheet" href="/static/plugins/bootstrap-3.3.7/css/bootstrap-theme.css" media="all" />-->
-    <link rel="stylesheet" href="/static/admin/css/main.css?v=<?php echo time(); ?>" media="all">
-    <link rel="stylesheet" href="/static/plugins/font-awesome-4.7.0/css/font-awesome.min.css" media="all">
-    <!--<link rel="stylesheet" href="/static/plugins/bootstrap-select/less/bootstrap-select.less">-->
-    <!--<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/bootstrap-select@1.13.9/dist/css/bootstrap-select.min.css">-->
-    <!--[if lt IE 9]>
-    <!--<script src="https://cdn.staticfile.org/html5shiv/r29/html5.min.js"></script>-->
-    <!--<script src="https://cdn.staticfile.org/respond.js/1.4.2/respond.min.js"></script>-->
-    <!--<![endif]&ndash;&gt;-->
-    <style id="LM-bg-color">
-    </style>
-</head>
-<div class="LM-container">
-    <div class="LM-main">
-        <fieldset class="layui-elem-field layui-field-title">
-            <legend><?php echo lang('admin'); ?><?php echo lang('list'); ?></legend>
-
-            <blockquote class="layui-elem-quote">
-                <div class="LM-table">
-                    <div class="layui-inline">
-                        <input type="text" name="keys" id="keys" lay-verify="required" placeholder="请输入" autocomplete="off" class="layui-input">
-
-                    </div>
-                    <button class="layui-btn data-add-btn layui-btn-sm" lay-submit="" lay-filter="add" id="search">搜索</button>
-                    <a href="<?php echo url('adminAdd'); ?>" class="layui-btn layui-btn-sm layui-btn-warm"><?php echo lang('add'); ?><?php echo lang('admin'); ?></a>
-
-                </div>
-
-            </blockquote>
-
-        </fieldset>
-
-        <table class="layui-table" id="list" lay-filter="list"></table>
-    </div>
-</div>
-<script src="/static/plugins/layui/layui.js" charset="utf-8"></script>
-<!--<script src="/static/plugins/bootstrap-3.3.7/js/bootstrap.js" charset="utf-8"></script>-->
-<script type="text/html" id="action">
-    <a href="<?php echo url('adminEdit'); ?>?id={{d.id}}" class="layui-btn layui-btn-xs"><?php echo lang('edit'); ?></a>
-    {{# if(d.id==1){ }}
-    <a href="#" class="layui-btn layui-btn-xs layui-btn-disabled"><?php echo lang('del'); ?></a>
-    {{# }else{  }}
-    <a href="#" class="layui-btn layui-btn-danger layui-btn-xs" lay-event="del"><?php echo lang('del'); ?></a>
-    {{# } }}
-</script>
-<script type="text/html" id="status">
-    {{# if(d.id==1){ }}
-    <input type="checkbox" disabled name="status" value="{{d.id}}" lay-skin="switch" lay-text="开启|关闭" lay-filter="status" checked>
-    {{# }else{  }}
-    <input type="checkbox" name="status" value="{{d.id}}" lay-skin="switch" lay-text="开启|关闭" lay-filter="status" {{ d.status == 1 ? 'checked' : '' }}>
-    {{# } }}
-</script>
-
-<script>
-    layui.use(['table','form','layer'], function() {
-        var table = layui.table,form = layui.form,$ = layui.jquery;
-        var tableIn = table.render({
-            elem: '#list',
-            url: '<?php echo url("adminList"); ?>',
-            method:'post',
-            title:'<?php echo lang("admin"); ?><?php echo lang("list"); ?>',
-            cols: [[
-                {field:'id', title: 'ID', width:100,fixed: true}
-                ,{field:'username', title: '用户名', width:180}
-                ,{field:'title', title: '<?php echo lang("adminGroup"); ?>', width:100}
-                // ,{field:'email', title: '<?php echo lang("email"); ?>', width:200}
-                ,{field:'mobile', title: '<?php echo lang("mobile"); ?>', width:150}
-                ,{field:'ip', title: '<?php echo lang("ip"); ?>',width:150,hide:true}
-                ,{field:'status', title: '<?php echo lang("status"); ?>',width:150,toolbar: '#status'}
-                ,{title:'操作',width:150, toolbar: '#action',align:"center"}
-            ]],
-            limits: [10, 15, 20, 25, 50, 100],
-            limit: 10,
-            page: true
-        });
-        form.on('switch(status)', function(obj){
-            loading =layer.load(1, {shade: [0.1,'#fff']});
-            var id = this.value;
-            var is_open = obj.elem.checked===true?1:0;
-            $.post('<?php echo url("adminState"); ?>',{'id':id,'is_open':is_open},function (res) {
-                layer.close(loading);
-                if (res.code>0) {
-                    tableIn.reload();
-                }else{
-                    layer.msg(res.msg,{time:1000,icon:2});
-                    return false;
-                }
-            })
-        });
-        table.on('tool(list)', function(obj){
-            var data = obj.data;
-            if(obj.event === 'del'){
-                layer.confirm('<?php echo lang("Are you sure you want to delete it"); ?>', function(index){
-                    $.post("<?php echo url('adminDel'); ?>",{id:data.id},function(res){
-                        if (res.code>0) {
-                            layer.msg(res.msg,{time:1000,icon:1});
-                            obj.del();
-                        }else{
-                            layer.msg(res.msg,{time:1000,icon:2});
-                        }
-                    });
-                    layer.close(index);
-                });
-            }
-        });
-        $('#LM-add').click(function () {
-            var index = layer.open({
-                type: 2,
-                content: '<?php echo url("adminAdd"); ?>',
-                area: ['800px', '600px'],
-                maxmin: true
-            });
-            layer.full(index);
-        })
-        $('#search').click(function () {
-            var $keys = $('#keys').val();
-            if(!$keys){
-                return layer.msg('请输入关键词');
-            }
-
-            tableIn.reload({ page: {page: 1},where: {keys: $keys}});
-
-        })
-    });
-</script>

+ 0 - 185
php/runtime/admin/temp/14d50cc59972e0ab82b71f4b5f381353.php

@@ -1,185 +0,0 @@
-<?php /*a:1:{s:58:"D:\phpstudy_pro\WWW\cxy\bts\php\view\admin\index\main.html";i:1590993415;}*/ ?>
-<!DOCTYPE html>
-<html>
-<head>
-    <meta charset="utf-8">
-    <title>主页面</title>
-    <meta name="renderer" content="webkit">
-    <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
-    <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
-    <link rel="stylesheet" href="/static/plugins/font-awesome-4.7.0/css/font-awesome.min.css" media="all">
-    <link rel="stylesheet" href="/static/admin/css/main.css" media="all">
-    <link rel="stylesheet" href="/static/plugins/layui/css/layui.css" media="all">
-    <!--<style>-->
-        <!--.layui-card {border:1px solid #f2f2f2;border-radius:5px;}-->
-        <!--.icon {margin-right:10px;color:#1aa094;}-->
-        <!--.icon-cray {color:#ffb800!important;}-->
-        <!--.icon-blue {color:#1e9fff!important;}-->
-        <!--.icon-tip {color:#ff5722!important;}-->
-        <!--.LM-qiuck-module {text-align:center;margin-top: 10px}-->
-        <!--.LM-qiuck-module a i {display:inline-block;width:100%;height:60px;line-height:60px;text-align:center;border-radius:2px;font-size:30px;background-color:#F8F8F8;color:#333;transition:all .3s;-webkit-transition:all .3s;}-->
-        <!--.LM-qiuck-module a cite {position:relative;top:2px;display:block;color:#666;text-overflow:ellipsis;overflow:hidden;white-space:nowrap;font-size:14px;}-->
-        <!--.welcome-module {width:100%;height:210px;}-->
-        <!--.panel {background-color:#fff;border:1px solid transparent;border-radius:3px;-webkit-box-shadow:0 1px 1px rgba(0,0,0,.05);box-shadow:0 1px 1px rgba(0,0,0,.05)}-->
-        <!--.panel-body {padding:10px}-->
-        <!--.panel-title {margin-top:0;margin-bottom:0;font-size:12px;color:inherit}-->
-        <!--.label {display:inline;padding:.2em .6em .3em;font-size:75%;font-weight:700;line-height:1;color:#fff;text-align:center;white-space:nowrap;vertical-align:baseline;border-radius:.25em;margin-top: .3em;}-->
-        <!--.layui-red {color:red}-->
-        <!--.main_btn > p {height:40px;}-->
-        <!--.layui-bg-number {background-color:#F8F8F8;}-->
-        <!--.LM-notice:hover {background:#f6f6f6;}-->
-        <!--.LM-notice {padding:7px 16px;clear:both;font-size:12px !important;cursor:pointer;position:relative;transition:background 0.2s ease-in-out;}-->
-        <!--.LM-notice-title,.LM-notice-label {-->
-            <!--padding-right: 70px !important;text-overflow:ellipsis!important;overflow:hidden!important;white-space:nowrap!important;}-->
-        <!--.LM-notice-title {line-height:28px;font-size:14px;}-->
-        <!--.LM-notice-extra {position:absolute;top:50%;margin-top:-8px;right:16px;display:inline-block;height:16px;color:#999;}-->
-    <!--</style>-->
-
-    <style>
-        .center {
-            text-align: center;
-            background-color: #F9F9F9 !important;
-        }
-
-        .boder {
-            border: 1px solid #D2D2D2 !important;
-        }
-
-        .p-size {
-            font-weight: 700;
-            font-size: 20px;
-        }
-        .border-left{
-            border-left-width: 5px;
-            border-left-style: solid;
-        }
-    </style>
-</head>
-<body>
-<div class="LM-container">
-    <div class="LM-main">
-        <div class="layui-row layui-col-space15">
-
-首页
-
-        </div>
-    </div>
-</div>
-<script src="/static/plugins/layui/layui.js" charset="utf-8"></script>
-<script src="/static/plugins/echarts/echarts.min.js" charset="utf-8"></script>
-<script src="/static/plugins/echarts/echarts-theme.js" charset="utf-8"></script>
-<script>
-    // layui.config({
-    //     base: "/static/admin/js/"
-    // }).extend({
-    //     "LM": "LM"
-    // });
-    // layui.use(['layer', 'LM'], function () {
-    //     var $ = layui.jquery,
-    //         layer = layui.layer;
-    //
-    //     /**
-    //      * 查看公告信息
-    //      **/
-    //     $('body').on('click', '.LM-notice', function () {
-    //         var title = $(this).children('.LM-notice-title').text(),
-    //             noticeTime = $(this).children('.LM-notice-extra').text(),
-    //             content = $(this).children('.LM-notice-content').html();
-    //         var html = '<div style="padding:15px 20px; text-align:justify; line-height: 22px;border-bottom:1px solid #e2e2e2;background-color: #2f4056;color: #ffffff">\n' +
-    //             '<div style="text-align: center;margin-bottom: 20px;font-weight: bold;border-bottom:1px solid #718fb5;padding-bottom: 5px"><h4 class="text-danger">' + title + '</h4></div>\n' +
-    //             '<div style="font-size: 12px">' + content + '</div>\n' +
-    //             '</div>\n';
-    //         parent.layer.open({
-    //             type: 1,
-    //             title: '系统公告'+'<span style="float: right;right: 1px;font-size: 12px;color: #b1b3b9;margin-top: 1px">'+noticeTime+'</span>',
-    //             area: '300px;',
-    //             shade: 0.8,
-    //             id: 'LM-notice',
-    //             btn: ['查看', '取消'],
-    //             btnAlign: 'c',
-    //             moveType: 1,
-    //             content:html,
-    //             success: function (layero) {
-    //                 var btn = layero.find('.layui-layer-btn');
-    //                 btn.find('.layui-layer-btn0').attr({
-    //                     href: 'https://github.com/yue909/LEMOCMS',
-    //                     target: '_blank'
-    //                 });
-    //             }
-    //         });
-    //     });
-    //
-    //     /**
-    //      * 报表功能
-    //      */
-    //     var echartsRecords = echarts.init(document.getElementById('echarts-records'), 'walden');
-    //     var optionRecords = {
-    //         tooltip: {
-    //             trigger: 'axis'
-    //         },
-    //         legend: {
-    //             data:['邮件营销','联盟广告','视频广告','直接访问','搜索引擎']
-    //         },
-    //         grid: {
-    //             left: '3%',
-    //             right: '4%',
-    //             bottom: '3%',
-    //             containLabel: true
-    //         },
-    //         toolbox: {
-    //             feature: {
-    //                 saveAsImage: {}
-    //             }
-    //         },
-    //         xAxis: {
-    //             type: 'category',
-    //             boundaryGap: false,
-    //             data: ['周一','周二','周三','周四','周五','周六','周日']
-    //         },
-    //         yAxis: {
-    //             type: 'value'
-    //         },
-    //         series: [
-    //             {
-    //                 name:'邮件营销',
-    //                 type:'line',
-    //                 stack: '总量',
-    //                 data:[120, 132, 101, 134, 90, 230, 210]
-    //             },
-    //             {
-    //                 name:'联盟广告',
-    //                 type:'line',
-    //                 stack: '总量',
-    //                 data:[220, 182, 191, 234, 290, 330, 310]
-    //             },
-    //             {
-    //                 name:'视频广告',
-    //                 type:'line',
-    //                 stack: '总量',
-    //                 data:[150, 232, 201, 154, 190, 330, 410]
-    //             },
-    //             {
-    //                 name:'直接访问',
-    //                 type:'line',
-    //                 stack: '总量',
-    //                 data:[320, 332, 301, 334, 390, 330, 320]
-    //             },
-    //             {
-    //                 name:'搜索引擎',
-    //                 type:'line',
-    //                 stack: '总量',
-    //                 data:[820, 932, 901, 934, 1290, 1330, 1320]
-    //             }
-    //         ]
-    //     };
-    //     echartsRecords.setOption(optionRecords);
-    //
-    //     // echarts 窗口缩放自适应
-    //     window.onresize = function(){
-    //         echartsRecords.resize();
-    //     }
-    //
-    // });
-</script>
-</body>
-</html>

+ 0 - 147
php/runtime/admin/temp/193b3c530962981d3a4dc850749aaa8b.php

@@ -1,147 +0,0 @@
-<?php /*a:1:{s:59:"D:\phpstudy_pro\WWW\cxy\bts\php\view\admin\login\index.html";i:1583924071;}*/ ?>
-<!DOCTYPE html>
-<html>
-<head>
-    <meta charset="UTF-8">
-    <title><?php echo site_name(); ?>后台管理-登陆</title>
-    <meta name="keywords" content="lemocms 基于thinkphp6,thinkphp,layui,easywechat框架,框架,组件">
-    <meta name="description" content="lemocms 是一款采用 layui开发的极简后台管理框架 基于thinkphp6 ,easywechat,开发的cms后台管理系统,thinkphp,yii2,cms,php后台管理系统,cms,cms系统,restful api,thinkphp后台管理系统">
-    <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
-    <meta http-equiv="Access-Control-Allow-Origin" content="*">
-    <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
-    <meta name="apple-mobile-web-app-status-bar-style" content="black">
-    <meta name="apple-mobile-web-app-capable" content="yes">
-    <meta name="format-detection" content="telephone=no">
-    <link rel="stylesheet" href="/static/plugins/layui/css/layui.css" media="all">
-    <!--[if lt IE 9]>
-    <script src="https://cdn.staticfile.org/html5shiv/r29/html5.min.js"></script>
-    <script src="https://cdn.staticfile.org/respond.js/1.4.2/respond.min.js"></script>
-    <![endif]-->
-    <style>
-        html, body {width: 100%;height: 100%;overflow: hidden}
-        body {background: #000;}
-        body:after {content:'';background-repeat:no-repeat;background-size:cover;-webkit-filter:blur(3px);-moz-filter:blur(3px);-o-filter:blur(3px);-ms-filter:blur(3px);filter:blur(3px);position:absolute;top:0;left:0;right:0;bottom:0;z-index:-1;}
-        .layui-container {width: 100%;height: 100%;overflow: hidden;}
-        .admin-login-background {width:360px;height:300px;position:absolute;left:50%;top:40%;margin-left:-180px;margin-top:-100px;}
-        .logo-title {text-align:center;letter-spacing:2px;padding:14px 0;}
-        .logo-title h1 {color:#009688;font-size:25px;font-weight:bold;}
-        .login-form {background-color:#fff;border:1px solid #fff;border-radius:3px;padding:14px 20px;box-shadow:0 0 8px #eeeeee;}
-        .login-form .layui-form-item {position:relative;}
-        .login-form .layui-form-item label {position:absolute;left:1px;top:1px;width:38px;line-height:36px;text-align:center;color:#d2d2d2;}
-        .login-form .layui-form-item input {padding-left:36px;}
-        .captcha {width:60%;display:inline-block;}
-        .captcha-img {display:inline-block;width:34%;float:right;}
-        .captcha-img img {height:34px;border:1px solid #e6e6e6;height:36px;width:100%;}
-        .copyright{font-size:12px;color: #ccc; text-align: center;}
-        @media screen  and (max-width: 320px) {
-            .admin-login-background {
-                width:300px;
-                left: 59%;
-            }
-        }
-
-    </style>
-</head>
-<body>
-<div id="canvas"></div>
-<div class="layui-container">
-    <div class="admin-login-background">
-        <div class="layui-form login-form">
-            <form class="layui-form" action="">
-                <div class="layui-form-item logo-title">
-                    <h1><?php echo site_name(); ?>管理后台</h1>
-                </div>
-                <div class="layui-form-item">
-                    <label class="layui-icon layui-icon-username" for="username"></label>
-                    <input type="text" name="username" lay-verify="required|account" placeholder="用户名或者邮箱" autocomplete="off" class="layui-input" value="">
-                </div>
-                <div class="layui-form-item">
-                    <label class="layui-icon layui-icon-password" for="password"></label>
-                    <input type="password" name="password" lay-verify="required|password" placeholder="密码" autocomplete="off" class="layui-input" value="">
-                </div>
-                <div class="layui-form-item">
-                    <label class="layui-icon layui-icon-vercode" for="captcha"></label>
-                    <input type="text" name="captcha" lay-verify="required|captcha" placeholder="图形验证码" autocomplete="off" class="layui-input verification captcha" value="">
-                    <div class="captcha-img">
-                        <img  id="captchaPic" src="<?php echo url('verify'); ?>?<?php echo time(); ?>" alt="captcha" onclick="this.src='<?php echo url("verify"); ?>?'+'id='+Math.random()"/>
-                    </div>
-                </div>
-                <div class="layui-form-item">
-                    <input type="checkbox" name="rememberMe" checked value="true" lay-skin="primary" title="记住密码">
-                </div>
-                <div class="layui-form-item">
-                    <button class="layui-btn layui-btn-fluid" lay-submit="" lay-filter="login">登 入</button>
-                </div>
-                <div class="copyright">
-                    © 2009-<?php echo date("Y");?> <a href="http://quyum.com" target="_blank">千翼科技</a> All Rights Reserved.
-                </div>
-            </form>
-        </div>
-    </div>
-</div>
-<script src="/static/plugins/jquery-3.4.1/jquery-3.4.1.min.js" charset="utf-8"></script>
-<script src="/static/plugins/layui/layui.js" charset="utf-8"></script>
-<script src="/static/plugins/firework/firework.js" charset="utf-8"></script>
-<script>
-    layui.use(['form'], function () {
-        var form = layui.form,
-            layer = layui.layer;
-        // 登录过期的时候,跳出ifram框架
-        if (top.location != self.location) top.location = self.location;
-
-        // 粒子线条背景
-        $(document).ready(function(){
-
-                $("#canvas").fireworks({
-                    width: "100%",
-                    height: "100%"
-                });
-
-        });
-
-        // 进行登录操作
-        form.on('submit(login)', function (data) {
-            data = data.field;
-
-            if (data.username == '') {
-                layer.msg('用户名不能为空');
-                return false;
-            }
-            if (data.password == '') {
-                layer.msg('密码不能为空');
-                return false;
-            }
-            if (data.captcha == '') {
-                layer.msg('验证码不能为空');
-                return false;
-            }
-
-            $.ajax({
-
-                method:'post',
-                data:data,
-                success:function (res) {
-                    if(res.code>0){
-                        layer.msg(res.msg, function () {
-                            window.location = "<?php echo url('index/index'); ?>";
-                        });
-                    }else{
-                        layer.msg(res.msg);
-                        $('#captchaPic').attr('src','<?php echo url("verify"); ?>?id='+Math.random());
-                        return false;
-                    }
-
-                },fail:function (res) {
-                    layer.msg(res.msg, function () {
-                        $('#captchaPic').attr('src','<?php echo url("verify"); ?>?id='+Math.random());
-                        return false;
-                    });
-                }
-            });
-
-            return false;
-        });
-    });
-</script>
-</body>
-</html>

+ 0 - 182
php/runtime/admin/temp/42d182ba955a14984e138f63987ed1b0.php

@@ -1,182 +0,0 @@
-<?php /*a:3:{s:63:"D:\phpstudy_pro\WWW\cxy\bts\php\view\admin\auth\admin_rule.html";i:1581911356;s:61:"D:\phpstudy_pro\WWW\cxy\bts\php\view\admin\common\header.html";i:1582014448;s:61:"D:\phpstudy_pro\WWW\cxy\bts\php\view\admin\common\footer.html";i:1581911356;}*/ ?>
-<!DOCTYPE html>
-<html>
-<head>
-    <meta charset="utf-8">
-    <title><?php echo config('admin.sys_name'); ?>后台管理</title>
-    <meta name="renderer" content="webkit">
-    <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
-    <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
-    <meta name="apple-mobile-web-app-status-bar-style" content="black">
-    <meta name="apple-mobile-web-app-capable" content="yes">
-    <meta name="format-detection" content="telephone=no">
-    <link rel="stylesheet" href="/static/plugins/layui/css/layui.css" media="all" />
-    <!--<link rel="stylesheet" href="/static/plugins/bootstrap-3.3.7/css/bootstrap.css" media="all" />-->
-    <!--<link rel="stylesheet" href="/static/plugins/bootstrap-3.3.7/css/bootstrap-theme.css" media="all" />-->
-    <link rel="stylesheet" href="/static/admin/css/main.css?v=<?php echo time(); ?>" media="all">
-    <link rel="stylesheet" href="/static/plugins/font-awesome-4.7.0/css/font-awesome.min.css" media="all">
-    <!--<link rel="stylesheet" href="/static/plugins/bootstrap-select/less/bootstrap-select.less">-->
-    <!--<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/bootstrap-select@1.13.9/dist/css/bootstrap-select.min.css">-->
-    <!--[if lt IE 9]>
-    <!--<script src="https://cdn.staticfile.org/html5shiv/r29/html5.min.js"></script>-->
-    <!--<script src="https://cdn.staticfile.org/respond.js/1.4.2/respond.min.js"></script>-->
-    <!--<![endif]&ndash;&gt;-->
-    <style id="LM-bg-color">
-    </style>
-</head>
-<div class="LM-container">
-    <div class="LM-main">
-        <div class="admin-main layui-anim layui-anim-upbit">
-            <fieldset class="layui-elem-field layui-field-title">
-                <legend>权限<?php echo lang('list'); ?></legend>
-            </fieldset>
-            <blockquote class="layui-elem-quote">
-                <a href="<?php echo url('ruleAdd'); ?>" class="layui-btn layui-btn-sm LM-add"><?php echo lang('add'); ?>路由</a>
-                <a class="layui-btn layui-btn-normal layui-btn-sm" onclick="openAll();">展开或折叠全部</a>
-            </blockquote>
-            <table class="layui-table" id="treeGrid" lay-filter="treeGrid"></table>
-        </div>
-    </div>
-</div>
-
-<script type="text/html" id="auth">
-    <input type="checkbox" name="auth_open" value="{{d.id}}" lay-skin="switch" lay-text="是|否" lay-filter="auth_open" {{ d.auth_open == 0 ? 'checked' : '' }}>
-</script>
-<script type="text/html" id="status">
-    <input type="checkbox" name="menu_status" value="{{d.id}}" lay-skin="switch" lay-text="显示|隐藏" lay-filter="menu_status" {{ d.menu_status == 1 ? 'checked' : '' }}>
-</script>
-<script type="text/html" id="order">
-    <input name="{{d.id}}" data-id="{{d.id}}" class="list_order layui-input" value=" {{d.sort}}" size="10"/>
-</script>
-<script type="text/html" id="icon">
-    <span class="icon {{d.icon}}"></span>
-</script>
-<script type="text/html" id="action">
-    <a href="<?php echo url('ruleEdit'); ?>?id={{d.id}}" class="layui-btn layui-btn-xs"><?php echo lang('edit'); ?></a>
-    <a class="layui-btn layui-btn-xs layui-btn-warm" lay-event="add"><?php echo lang('add'); ?><?php echo lang('child'); ?></a>
-    <a class="layui-btn layui-btn-danger layui-btn-xs" lay-event="del"><?php echo lang('del'); ?></a>
-</script>
-<script type="text/html" id="topBtn">
-    <a href="<?php echo url('ruleAdd'); ?>" class="layui-btn layui-btn-sm"><?php echo lang('add'); ?>权限</a>
-</script>
-<script src="/static/plugins/layui/layui.js" charset="utf-8"></script>
-<!--<script src="/static/plugins/bootstrap-3.3.7/js/bootstrap.js" charset="utf-8"></script>-->
-<script>
-    var editObj=null,ptable=null,treeGrid=null,tableId='treeGrid',layer=null;
-    layui.config({
-        base: '/static/plugins/layui/extend/'
-    }).extend({
-        treeGrid: 'treeGrid/treeGrid'
-    }).use(['jquery','treeGrid','layer','form'], function(){
-        var $=layui.jquery ,form = layui.form;
-        treeGrid = layui.treeGrid;
-        layer=layui.layer;
-
-        ptable=treeGrid.render({
-            id:tableId
-            ,elem: '#'+tableId
-            ,idField:'id'
-            ,url:'<?php echo url("adminRule"); ?>'
-            ,cellMinWidth: 100
-            ,treeId:'id'//树形id字段名称
-            ,treeUpId:'pid'//树形父id字段名称
-            ,treeShowName:'title'//以树形式显示的字段
-            ,height:'full-140'
-            ,isFilter:false
-            ,iconOpen:true//是否显示图标【默认显示】
-            ,isOpenDefault:true//节点默认是展开还是折叠【默认展开】
-            ,cols: [[
-                {field: 'id', title: '<?php echo lang("id"); ?>', width: 70, fixed: true},
-                {field: 'icon', align: 'center',title: '<?php echo lang("icon"); ?>', width: 60,templet: '#icon'},
-                {field: 'title', title: '权限名称', width: 200},
-                {field: 'href', title: '控制器/方法', width: 200},
-                {field: 'auth_open',align: 'center', title: '是否验证权限', width: 150,toolbar: '#auth'},
-                {field: 'menu_status',align: 'center',title: '菜单<?php echo lang("status"); ?>', width: 150,toolbar: '#status'},
-                {field: 'sort',align: 'center', title: '<?php echo lang("order"); ?>', width: 80, templet: '#order'},
-                {title:'操作',width:200, toolbar: '#action',align:"center"},
-            ]]
-            ,page:false
-        });
-        treeGrid.on('tool('+tableId+')',function (obj) {
-            var data = obj.data;
-            if(obj.event === 'del'){
-                layer.confirm('<?php echo lang("Are you sure you want to delete it"); ?>', function(index){
-                    var loading = layer.load(1, {shade: [0.1, '#fff']});
-                    $.post("<?php echo url('ruleDel'); ?>",{id:data.id},function(res){
-                        layer.close(loading);
-                        if(res.code==1){
-                            layer.msg(res.msg,{time:1000,icon:1});
-                            obj.del();
-                        }else{
-                            layer.msg(res.msg,{time:1000,icon:2});
-                        }
-                    });
-                    layer.close(index);
-                });
-            }else if(obj.event === 'add'){
-
-                var index = layer.open({
-                    type: 2,
-                    content: '<?php echo url("ruleAdd"); ?>'+'?rule_id='+data.id,
-                    area: ['800px', '600px'],
-                    maxmin: true
-                });
-                layer.full(index);
-
-            }
-        });
-        form.on('switch(auth_open)', function(obj){
-            loading =layer.load(1, {shade: [0.1,'#fff']});
-            var id = this.value;
-            var auth_open = obj.elem.checked===true?0:1;
-            $.post('<?php echo url("ruleOpen"); ?>',{'id':id,'auth_open':auth_open},function (res) {
-                layer.close(loading);
-                if (res.code==1) {
-                    treeGrid.render;
-                }else{
-                    layer.msg(res.msg,{time:1000,icon:2});
-                    treeGrid.render;
-                    return false;
-                }
-            })
-        });
-        form.on('switch(menu_status)', function(obj){
-            loading =layer.load(1, {shade: [0.1,'#fff']});
-            var id = this.value;
-            var menu_status = obj.elem.checked===true?1:0;
-            $.post('<?php echo url("ruleState"); ?>',{'id':id,'menu_status':menu_status},function (res) {
-                layer.close(loading);
-                if (res.code==1) {
-                    treeGrid.render;
-                }else{
-                    layer.msg(res.msg,{time:1000,icon:2});
-                    treeGrid.render;
-                    return false;
-                }
-            })
-        });
-        $('body').on('blur','.list_order',function() {
-            var id = $(this).attr('data-id');
-            var sort = $(this).val();
-            $.post('<?php echo url("ruleSort"); ?>',{id:id,sort:sort},function(res){
-                if(res.code > 0){
-                    layer.msg(res.msg,{time:1000,icon:1},function(){
-                        location.href = res.url;
-                    });
-                }else{
-                    layer.msg(res.msg,{time:1000,icon:2});
-                    treeGrid.render;
-                }
-            })
-        })
-
-
-
-    });
-
-    function openAll() {
-        var treedata=treeGrid.getDataTreeList(tableId);
-        treeGrid.treeOpenAll(tableId,!treedata[0][treeGrid.config.cols.isOpen]);
-    }
-
-</script>

+ 0 - 148
php/runtime/admin/temp/a43dd06f39d809c109c800ec9d9d065a.php

@@ -1,148 +0,0 @@
-<?php /*a:3:{s:62:"D:\phpstudy_pro\WWW\my\fuye\php\view\admin\adminlog\index.html";i:1581911356;s:61:"D:\phpstudy_pro\WWW\my\fuye\php\view\admin\common\header.html";i:1582014448;s:61:"D:\phpstudy_pro\WWW\my\fuye\php\view\admin\common\footer.html";i:1581911356;}*/ ?>
-<!DOCTYPE html>
-<html>
-<head>
-    <meta charset="utf-8">
-    <title><?php echo config('admin.sys_name'); ?>后台管理</title>
-    <meta name="renderer" content="webkit">
-    <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
-    <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
-    <meta name="apple-mobile-web-app-status-bar-style" content="black">
-    <meta name="apple-mobile-web-app-capable" content="yes">
-    <meta name="format-detection" content="telephone=no">
-    <link rel="stylesheet" href="/static/plugins/layui/css/layui.css" media="all" />
-    <!--<link rel="stylesheet" href="/static/plugins/bootstrap-3.3.7/css/bootstrap.css" media="all" />-->
-    <!--<link rel="stylesheet" href="/static/plugins/bootstrap-3.3.7/css/bootstrap-theme.css" media="all" />-->
-    <link rel="stylesheet" href="/static/admin/css/main.css?v=<?php echo time(); ?>" media="all">
-    <link rel="stylesheet" href="/static/plugins/font-awesome-4.7.0/css/font-awesome.min.css" media="all">
-    <!--<link rel="stylesheet" href="/static/plugins/bootstrap-select/less/bootstrap-select.less">-->
-    <!--<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/bootstrap-select@1.13.9/dist/css/bootstrap-select.min.css">-->
-    <!--[if lt IE 9]>
-    <!--<script src="https://cdn.staticfile.org/html5shiv/r29/html5.min.js"></script>-->
-    <!--<script src="https://cdn.staticfile.org/respond.js/1.4.2/respond.min.js"></script>-->
-    <!--<![endif]&ndash;&gt;-->
-    <style id="LM-bg-color">
-    </style>
-</head>
-<div class="LM-container">
-    <div class="LM-main">
-        <fieldset class="layui-elem-field layui-field-title">
-            <legend>日志<?php echo lang('list'); ?></legend>
-            <blockquote class="layui-elem-quote">
-                <div class="tabletop">
-                    <div class="layui-inline">
-                        <!--                        <label class="layui-form-label">搜索<?php echo lang('username'); ?></label>-->
-                        <div class="layui-input-inline">
-                            <input type="text" name="keys" id="keys" lay-verify="required" autocomplete="off"
-                                   class="layui-input">
-                        </div>
-                        <button type="submit" class="layui-btn layui-btn-sm" lay-submit lay-filter="submit" id="search">
-                            <?php echo lang('search'); ?>
-                        </button>
-                        <a href="javascript:;"  class="layui-btn layui-btn-sm layui-btn-danger" id="delAll"><?php echo lang('delete checked'); ?></a>
-
-                    </div>
-
-                </div>
-
-            </blockquote>
-        </fieldset>
-        <table class="layui-tab" id="list" lay-filter="list"></table>
-    </div>
-</div>
-
-
-<script type="text/html" id="action">
-    <a class="layui-btn layui-btn-danger layui-btn-xs" lay-event="del"><?php echo lang('del'); ?></a>
-</script>
-<script type="text/html" id="time">
-
-    {{layui.util.toDateString(d.create_time*1000, 'yyyy-MM-dd HH:mm:ss')}}
-</script>
-
-<script src="/static/plugins/layui/layui.js" charset="utf-8"></script>
-<!--<script src="/static/plugins/bootstrap-3.3.7/js/bootstrap.js" charset="utf-8"></script>-->
-<script>
-    layui.use(['form', 'table'], function () {
-        var $ = layui.jquery,
-            form = layui.form,
-            table = layui.table;
-
-       var tableIn = table.render({
-            elem: '#list',
-            url: '<?php echo url("index"); ?>',
-            method: 'post',
-            cols: [[
-                {checkbox: true, fixed: 'left'},
-                {field: 'id', title: 'ID', width: 80, sort: true},
-                {field: 'admin_id', title: 'admin_id', width: 80, sort: true},
-                {field: 'username', title: '账号', width: 150, sort: true},
-                {field: 'log_url', title: '地址', width: 150, templet: '#size', sort: true,},
-                {field: 'log_content', title: '内容', width: 150, sort: true,},
-                {field: 'log_title', title: '标题', width: 150, sort: true,},
-                {field: 'log_agent', title: '浏览器', width: 120, sort: true,},
-                {field: 'log_ip', title: 'ip', width: 80},
-                {field: 'create_time', title: '时间', width: 180,templet:'#time'},
-                {title:'操作',width:100, toolbar: '#action',align:"center"}
-            ]],
-            limits: [10, 15, 20, 25, 50, 100],
-            limit: 15,
-            page: true,
-       });
-       table.on('tool(list)', function(obj) {
-            var data = obj.data;
-            if(obj.event === 'del'){
-                layer.confirm('<?php echo lang("Are you sure you want to delete it"); ?>', function(index){
-                    var loading = layer.load(1, {shade: [0.1, '#fff']});
-                    $.post("<?php echo url('delete'); ?>",{id:data.id},function(res){
-                        layer.close(loading);
-                        if(res.code===1){
-                            layer.msg(res.msg,{time:1000,icon:1});
-                            tableIn.reload({where:{catid:'<?php echo input("catid"); ?>'}});
-                        }else{
-                            layer.msg(res.msg,{time:1000,icon:2});
-                        }
-                    });
-                    layer.close(index);
-                });
-            }
-        });
-       $('#search').click(function () {
-            var $keys = $('#keys').val();
-            if(!$keys){
-                return layer.msg('请输入关键词');
-            }
-            tableIn.reload({ page: {page: 1},where: {keys: $keys}});
-
-       });
-       $('#delAll').click(function(){
-            layer.confirm("<?php echo lang('Are you sure you want to delete it'); ?>", {icon: 3}, function(index) {
-                layer.close(index);
-                var checkStatus = table.checkStatus('list'); //test即为参数id设定的值
-                var ids = [];
-                console.log(checkStatus.data)
-                $(checkStatus.data).each(function (index, item) {
-                    ids.push(item.id);
-                });
-                if(ids==''){
-                    layer.msg("<?php echo lang('please choose data'); ?>", {time: 1000, icon: 2});
-                    return false;
-                }
-                var loading = layer.load(1, {shade: [0.1, '#fff']});
-                $.post("<?php echo url('delete'); ?>", {id: ids}, function (res) {
-                    layer.close(loading);
-                    if (res.code > 0) {
-                        layer.msg(res.msg, {time: 1000, icon: 1});
-                        tableIn.reload();
-                    } else {
-                        layer.msg(res.msg, {time: 1000, icon: 2});
-                    }
-                });
-            });
-       })
-
-
-    });
-
-
-</script>

+ 0 - 145
php/runtime/admin/temp/a5b87fd77913dd9b0ad9dd783203b8ce.php

@@ -1,145 +0,0 @@
-<?php /*a:3:{s:59:"D:\phpstudy_pro\WWW\cxy\bts\php\view\admin\index\index.html";i:1581911356;s:61:"D:\phpstudy_pro\WWW\cxy\bts\php\view\admin\common\header.html";i:1582014448;s:61:"D:\phpstudy_pro\WWW\cxy\bts\php\view\admin\common\footer.html";i:1581911356;}*/ ?>
-<!DOCTYPE html>
-<html>
-<head>
-    <meta charset="utf-8">
-    <title><?php echo config('admin.sys_name'); ?>后台管理</title>
-    <meta name="renderer" content="webkit">
-    <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
-    <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
-    <meta name="apple-mobile-web-app-status-bar-style" content="black">
-    <meta name="apple-mobile-web-app-capable" content="yes">
-    <meta name="format-detection" content="telephone=no">
-    <link rel="stylesheet" href="/static/plugins/layui/css/layui.css" media="all" />
-    <!--<link rel="stylesheet" href="/static/plugins/bootstrap-3.3.7/css/bootstrap.css" media="all" />-->
-    <!--<link rel="stylesheet" href="/static/plugins/bootstrap-3.3.7/css/bootstrap-theme.css" media="all" />-->
-    <link rel="stylesheet" href="/static/admin/css/main.css?v=<?php echo time(); ?>" media="all">
-    <link rel="stylesheet" href="/static/plugins/font-awesome-4.7.0/css/font-awesome.min.css" media="all">
-    <!--<link rel="stylesheet" href="/static/plugins/bootstrap-select/less/bootstrap-select.less">-->
-    <!--<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/bootstrap-select@1.13.9/dist/css/bootstrap-select.min.css">-->
-    <!--[if lt IE 9]>
-    <!--<script src="https://cdn.staticfile.org/html5shiv/r29/html5.min.js"></script>-->
-    <!--<script src="https://cdn.staticfile.org/respond.js/1.4.2/respond.min.js"></script>-->
-    <!--<![endif]&ndash;&gt;-->
-    <style id="LM-bg-color">
-    </style>
-</head>
-<link rel="stylesheet" href="/static/admin/css/common.css" media="all">
-
-<body class="layui-layout-body LM-all">
-<div class="layui-layout layui-layout-admin">
-
-    <div class="layui-header header">
-        <div class="layui-logo"><a href="">
-            <img src="<?php echo site_logo(); ?>" alt="lemocms">
-            <h1><?php echo site_name(); ?></h1>
-        </a>
-        </div>
-        <a>
-            <div class="LM-tool"><i title="展开" class="fa fa-outdent" data-side-fold="1"></i></div>
-        </a>
-
-        <!--pc 端-->
-        <ul class="layui-nav layui-layout-left layui-header-menu layui-header-pc-menu mobile layui-hide-xs">
-        </ul>
-            <!--手机端-->
-        <ul class="layui-nav layui-layout-left layui-header-menu mobile layui-hide-sm">
-            <li class="layui-nav-item">
-                <a href="javascript:;"><i class="fa fa-list-ul"></i> 选择模块</a>
-                <dl class="layui-nav-child layui-header-mini-menu">
-                </dl>
-            </li>
-        </ul>
-
-
-        <ul class="layui-nav layui-layout-right">
-            <li class="layui-nav-item">
-                <a href="javascript:;" data-refresh="刷新"><i class="fa fa-refresh"></i></a>
-            </li>
-            <li class="layui-nav-item">
-                <a href="javascript:;" data-clear="清理" data-href="<?php echo url('cleardata'); ?>" class="LM-clear"><i class="fa fa-trash-o"></i></a>
-            </li>
-            <li class="layui-nav-item LM-setting">
-                <a href="javascript:;"><?php echo session('admin.username'); ?></a>
-                <dl class="layui-nav-child">
-                    <dd>
-                        <a href="javascript:;" data-iframe-tab="<?php echo url('auth/adminEdit'); ?>" data-title="基本资料" data-icon="fa fa-gears">基本资料</a>
-                    </dd>
-                    <dd>
-                        <a href="javascript:;" data-iframe-tab="<?php echo url('password'); ?>" data-title="修改密码" data-icon="fa fa-gears">修改密码</a>
-                    </dd>
-                    <dd>
-                        <a href="javascript:;" class="login-out">退出登录</a>
-                    </dd>
-                </dl>
-            </li>
-            <li class="layui-nav-item LM-select-bgcolor mobile layui-hide-xs">
-                <a href="javascript:;" data-bgcolor="配色方案"><i class="fa fa-ellipsis-v"></i></a>
-            </li>
-        </ul>
-    </div>
-
-    <div class="layui-side layui-bg-black">
-        <div class="layui-side-scroll layui-left-menu">
-        </div>
-    </div>
-
-    <div class="layui-body">
-        <div class="layui-tab" lay-filter="LMTab" id="top_tabs_box">
-            <ul class="layui-tab-title" id="top_tabs">
-                <li class="layui-this" id="LMHomeTabId" lay-id=""></li>
-            </ul>
-<!--            关闭按钮-->
-            <ul class="layui-nav closeBox">
-                <li class="layui-nav-item">
-                    <a href="javascript:;"> <i class="fa fa-dot-circle-o"></i> 页面操作</a>
-                    <dl class="layui-nav-child">
-                        <dd><a href="javascript:;" data-page-close="other"><i class="fa fa-window-close"></i> 关闭其他</a></dd>
-                        <dd><a href="javascript:;" data-page-close="all"><i class="fa fa-window-close-o"></i> 关闭全部</a></dd>
-                    </dl>
-                </li>
-            </ul>
-            <div class="layui-tab-content clildFrame">
-                <!--           加载iframe          /-->
-                <div id="LMHomeTabIframe" class="layui-tab-item layui-show"
-                </div>
-
-            </div>
-        </div>
-
-        <div class="layui-footer footer footer-demo" id="admin-footer">
-            <div class="layui-main">
-                <p><?php  echo( date("Y",time())); ?> ©
-                    <a href="http://www.quyum.com/">千翼科技</a> Apache Licence 2.0
-                </p>
-            </div>
-        </div>
-    </div>
-
-
-<script src="/static/plugins/layui/layui.js" charset="utf-8"></script>
-<!--<script src="/static/plugins/bootstrap-3.3.7/js/bootstrap.js" charset="utf-8"></script>-->
-<script>
-    var menus ='<?php echo $menus; ?>';
-    layui.config({
-        base: "/static/admin/js/",
-        version: true
-    }).extend({
-        LM: "LM"
-    }).use(['element', 'layer', 'LM'], function () {
-        var $ = layui.jquery,
-            element = layui.element,
-            layer = layui.layer;
-        if(layui.cache.menus){
-            menus = layui.cache.menus;
-        }else{
-            layui.cache.menus = menus;
-        }
-        // console.log("menus",menus)
-
-        LM.init(menus);
-
-    });
-</script>
-</body>
-

+ 0 - 157
php/runtime/admin/temp/a8ba287c844b92a9904d92bc00486605.php

@@ -1,157 +0,0 @@
-<?php /*a:3:{s:58:"D:\phpstudy_pro\WWW\cxy\bts\php\view\admin\auth\group.html";i:1581911356;s:61:"D:\phpstudy_pro\WWW\cxy\bts\php\view\admin\common\header.html";i:1582014448;s:61:"D:\phpstudy_pro\WWW\cxy\bts\php\view\admin\common\footer.html";i:1581911356;}*/ ?>
-<!DOCTYPE html>
-<html>
-<head>
-    <meta charset="utf-8">
-    <title><?php echo config('admin.sys_name'); ?>后台管理</title>
-    <meta name="renderer" content="webkit">
-    <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
-    <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
-    <meta name="apple-mobile-web-app-status-bar-style" content="black">
-    <meta name="apple-mobile-web-app-capable" content="yes">
-    <meta name="format-detection" content="telephone=no">
-    <link rel="stylesheet" href="/static/plugins/layui/css/layui.css" media="all" />
-    <!--<link rel="stylesheet" href="/static/plugins/bootstrap-3.3.7/css/bootstrap.css" media="all" />-->
-    <!--<link rel="stylesheet" href="/static/plugins/bootstrap-3.3.7/css/bootstrap-theme.css" media="all" />-->
-    <link rel="stylesheet" href="/static/admin/css/main.css?v=<?php echo time(); ?>" media="all">
-    <link rel="stylesheet" href="/static/plugins/font-awesome-4.7.0/css/font-awesome.min.css" media="all">
-    <!--<link rel="stylesheet" href="/static/plugins/bootstrap-select/less/bootstrap-select.less">-->
-    <!--<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/bootstrap-select@1.13.9/dist/css/bootstrap-select.min.css">-->
-    <!--[if lt IE 9]>
-    <!--<script src="https://cdn.staticfile.org/html5shiv/r29/html5.min.js"></script>-->
-    <!--<script src="https://cdn.staticfile.org/respond.js/1.4.2/respond.min.js"></script>-->
-    <!--<![endif]&ndash;&gt;-->
-    <style id="LM-bg-color">
-    </style>
-</head>
-<div class="LM-container">
-    <div class="LM-main">
-        <div class="admin-main layui-anim layui-anim-upbit">
-            <fieldset class="layui-elem-field layui-field-title">
-                <legend>权限组<?php echo lang('list'); ?></legend>
-                <blockquote class="layui-elem-quote">
-                    <div class="LM-table">
-                        <form class="layui-form layui-form-pane">
-                            <div class="layui-inline">
-                                <input type="text" name="title" lay-verify="required" placeholder="<?php echo lang('pleaseEnter'); ?>添加" autocomplete="off" class="layui-input">
-                            </div>
-                            <button class="layui-btn data-add-btn layui-btn-sm" lay-submit="" lay-filter="add"><?php echo lang('add'); ?></button>
-
-                        </form>
-
-                    </div>
-
-                  </blockquote>
-
-            </fieldset>
-
-
-
-            <table class="layui-table" id="list" lay-filter="list"></table>
-        </div>
-    </div>
-</div>
-
-
-<script type="text/html" id="action">
-    <a href="<?php echo url('groupAccess'); ?>?id={{d.id}}" class="layui-btn layui-btn-xs layui-btn-normal">配置规则</a>
-    <a href="<?php echo url('groupEdit'); ?>?id={{d.id}}" class="layui-btn layui-btn-warm layui-btn-xs"><?php echo lang('edit'); ?></a>
-    {{# if(d.id==1){ }}
-    <a class="layui-btn layui-btn-danger layui-btn-xs layui-btn-disabled"><?php echo lang('del'); ?></a>
-    {{# }else{  }}
-    <a class="layui-btn layui-btn-danger layui-btn-xs" lay-event="del"><?php echo lang('del'); ?></a>
-    {{# } }}
-</script>
-<script type="text/html" id="status">
-    {{# if(d.id==1){ }}
-    <input type="checkbox" disabled name="status" value="{{d.id}}" lay-skin="switch" lay-text="开启|关闭" lay-filter="status" checked>
-    {{# }else{  }}
-    <input type="checkbox" name="status" value="{{d.id}}" lay-skin="switch" lay-text="开启|关闭" lay-filter="status" {{ d.status == 1 ? 'checked' : '' }}>
-    {{# } }}
-</script>
-<script type="text/html" id="create_time">
-    {{layui.util.toDateString(d.create_time*1000, 'yyyy-MM-dd HH:mm:ss')}}
-</script>
-<script type="text/html" id="update_time">
-    {{layui.util.toDateString(d.update_time*1000, 'yyyy-MM-dd HH:mm:ss')}}
-</script>
-<script src="/static/plugins/layui/layui.js" charset="utf-8"></script>
-<!--<script src="/static/plugins/bootstrap-3.3.7/js/bootstrap.js" charset="utf-8"></script>-->
-<script>
-    layui.use(['form', 'table'], function () {
-        var $ = layui.jquery,
-            form = layui.form,
-            table = layui.table;
-
-        var tableIn = table.render({
-            elem: '#list',
-            url: '<?php echo url("group"); ?>',
-            method: 'post',
-            cols: [[
-                {checkbox: true, fixed: true},
-                {field: 'id', title: 'ID', width: 80, fixed: true, sort: true},
-                {field: 'title', title: '组名', width: 150, fixed: true,},
-                {field: 'status', title: '状态', width: 180, templet:'#status'},
-                {field: 'create_time', title: '添加时间', width: 180,templet:'#create_time'},
-                {field: 'update_time', title: '修改时间', width: 180,templet:'#update_time'},
-                {title:'操作',width:250, toolbar: '#action',align:"center"},
-
-            ]],
-
-        });
-        // 监听添加操作
-        form.on('submit(add)', function (data) {
-            var result = data.field;
-            loading =layer.load(1, {shade: [0.1,'#fff']});
-            $.post("<?php echo url('groupAdd'); ?>", result, function (res) {
-                layer.close(loading);
-                if (res.code > 0) {
-                    layer.msg(res.msg, {time: 2000, icon: 1});
-                    tableIn.reload();
-                } else {
-                    layer.msg(res.msg, {time: 2000, icon: 2});
-                    return false;
-                }
-
-            });
-            return false;
-        })
-
-        table.on('tool(list)', function(data){
-            console.log(data);
-            var obj = data.data;
-            if(data.event === 'del'){
-                layer.confirm('<?php echo lang("Are you sure you want to delete it"); ?>', function(index){
-                    loading =layer.load(1, {shade: [0.1,'#fff']});
-                    $.post("<?php echo url('groupDel'); ?>",{id:obj.id},function(res){
-                        layer.close(loading);
-                        layer.close(index);
-                        if(res.code>0){
-                            layer.msg(res.msg,{time:1000,icon:1});
-                            data.del();
-                        }else{
-                            layer.msg(res.msg,{time:1000,icon:2});
-                        }
-                    });
-                });
-            }
-
-
-        });
-
-        form.on('switch(status)', function(data){
-                loading =layer.load(1, {shade: [0.1,'#fff']});
-                $.post("<?php echo url('groupState'); ?>",{id:data.value},function(res){
-                    layer.close(loading);
-                    if(res.code>0){
-                        layer.msg(res.msg,{time:1000,icon:1});
-                    }else{
-                        layer.msg(res.msg,{time:1000,icon:2});
-                    }
-                });
-        });
-
-    });
-
-
-</script>

+ 0 - 111
php/runtime/admin/temp/a8f8b134a87427ac15fa2ed97d90c5b0.php

@@ -1,111 +0,0 @@
-<?php /*a:1:{s:59:"D:\phpstudy_pro\WWW\my\fuye\php\view\admin\error\error.html";i:1581911356;}*/ ?>
-<!DOCTYPE html>
-<html>
-<head>
-    <meta charset="UTF-8">
-    <title>404</title>
-    <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
-    <meta http-equiv="Access-Control-Allow-Origin" content="*">
-    <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
-    <meta name="apple-mobile-web-app-status-bar-style" content="black">
-    <meta name="apple-mobile-web-app-capable" content="yes">
-    <meta name="format-detection" content="telephone=no">
-    <link rel="stylesheet" href="/static/plugins/layui/css/layui.css" media="all">
-    <style>
-        .error .clip .shadow {height:180px;}
-        .error .clip:nth-of-type(2) .shadow {width:130px;}
-        .error .clip:nth-of-type(1) .shadow,.error .clip:nth-of-type(3) .shadow {width:250px;}
-        .error .digit {width:150px;height:150px;line-height:150px;font-size:120px;font-weight:bold;}
-        .error h2 {font-size:32px;}
-        .error .msg {top:-190px;left:30%;width:80px;height:80px;line-height:80px;font-size:32px;}
-        .error span.triangle {top:70%;right:0%;border-left:20px solid #535353;border-top:15px solid transparent;border-bottom:15px solid transparent;}
-        .error .container-error-404 {top: 50%;margin-top: 250px;position:relative;height:250px;padding-top:40px;}
-        .error .container-error-404 .clip {display:inline-block;transform:skew(-45deg);}
-        .error .clip .shadow {overflow:hidden;}
-        .error .clip:nth-of-type(2) .shadow {overflow:hidden;position:relative;box-shadow:inset 20px 0px 20px -15px rgba(150,150,150,0.8),20px 0px 20px -15px rgba(150,150,150,0.8);}
-        .error .clip:nth-of-type(3) .shadow:after,.error .clip:nth-of-type(1) .shadow:after {content:"";position:absolute;right:-8px;bottom:0px;z-index:9999;height:100%;width:10px;background:linear-gradient(90deg,transparent,rgba(173,173,173,0.8),transparent);border-radius:50%;}
-        .error .clip:nth-of-type(3) .shadow:after {left:-8px;}
-        .error .digit {position:relative;top:8%;color:white;background:#1aa094;border-radius:50%;display:inline-block;transform:skew(45deg);}
-        .error .clip:nth-of-type(2) .digit {left:-10%;}
-        .error .clip:nth-of-type(1) .digit {right:-20%;}
-        .error .clip:nth-of-type(3) .digit {left:-20%;}
-        .error h2 {font-size:24px;color:#A2A2A2;font-weight:bold;padding-bottom:20px;}
-        .error .tohome {font-size:16px;color:#07B3F9;}
-        .error .msg {position:relative;z-index:9999;display:block;background:#535353;color:#A2A2A2;border-radius:50%;font-style:italic;}
-        .error .triangle {position:absolute;z-index:999;transform:rotate(45deg);content:"";width:0;height:0;}
-        @media(max-width:767px) {.error .clip .shadow {height:100px;}
-            .error .clip:nth-of-type(2) .shadow {width:80px;}
-            .error .clip:nth-of-type(1) .shadow,.error .clip:nth-of-type(3) .shadow {width:100px;}
-            .error .digit {width:80px;height:80px;line-height:80px;font-size:52px;}
-            .error h2 {font-size:18px;}
-            .error .msg {top:-110px;left:15%;width:40px;height:40px;line-height:40px;font-size:18px;}
-            .error span.triangle {top:70%;right:-3%;border-left:10px solid #535353;border-top:8px solid transparent;border-bottom:8px solid transparent;}
-            .error .container-error-404 {height:150px;}
-        }
-    </style>
-</head>
-<body>
-<div class="error">
-    <div class="container-floud">
-        <div style="text-align: center">
-            <div class="container-error-404">
-                <div class="clip">
-                    <div class="shadow">
-                        <span class="digit thirdDigit"></span>
-                    </div>
-                </div>
-                <div class="clip">
-                    <div class="shadow">
-                        <span class="digit secondDigit"></span>
-                    </div>
-                </div>
-                <div class="clip">
-                    <div class="shadow">
-                        <span class="digit firstDigit"></span>
-                    </div>
-                </div>
-                <div class="msg">OH!
-                    <span class="triangle"></span>
-                </div>
-            </div>
-            <h2 class="h1">很抱歉,你访问的页面找不到了</h2>
-        </div>
-    </div>
-</div>
-<script src="/static/plugins/layui/layui.js" charset="utf-8"></script>
-<script>
-    function randomNum() {
-        return Math.floor(Math.random() * 9) + 1;
-    }
-
-    var loop1, loop2, loop3, time = 30, i = 0, number;
-    loop3 = setInterval(function () {
-        if (i > 40) {
-            clearInterval(loop3);
-            document.querySelector('.thirdDigit').textContent = 4;
-        } else {
-            document.querySelector('.thirdDigit').textContent = randomNum();
-            i++;
-        }
-    }, time);
-    loop2 = setInterval(function () {
-        if (i > 80) {
-            clearInterval(loop2);
-            document.querySelector('.secondDigit').textContent = 0;
-        } else {
-            document.querySelector('.secondDigit').textContent = randomNum();
-            i++;
-        }
-    }, time);
-    loop1 = setInterval(function () {
-        if (i > 100) {
-            clearInterval(loop1);
-            document.querySelector('.firstDigit').textContent = 4;
-        } else {
-            document.querySelector('.firstDigit').textContent = randomNum();
-            i++;
-        }
-    }, time);
-</script>
-</body>
-</html>

+ 0 - 152
php/runtime/admin/temp/b04ecd3398bf75dee5dd9dee974fadba.php

@@ -1,152 +0,0 @@
-<?php /*a:3:{s:61:"D:\phpstudy_pro\WWW\cxy\bts\php\view\admin\auth\rule_add.html";i:1581911356;s:61:"D:\phpstudy_pro\WWW\cxy\bts\php\view\admin\common\header.html";i:1582014448;s:61:"D:\phpstudy_pro\WWW\cxy\bts\php\view\admin\common\footer.html";i:1581911356;}*/ ?>
-<!DOCTYPE html>
-<html>
-<head>
-    <meta charset="utf-8">
-    <title><?php echo config('admin.sys_name'); ?>后台管理</title>
-    <meta name="renderer" content="webkit">
-    <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
-    <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
-    <meta name="apple-mobile-web-app-status-bar-style" content="black">
-    <meta name="apple-mobile-web-app-capable" content="yes">
-    <meta name="format-detection" content="telephone=no">
-    <link rel="stylesheet" href="/static/plugins/layui/css/layui.css" media="all" />
-    <!--<link rel="stylesheet" href="/static/plugins/bootstrap-3.3.7/css/bootstrap.css" media="all" />-->
-    <!--<link rel="stylesheet" href="/static/plugins/bootstrap-3.3.7/css/bootstrap-theme.css" media="all" />-->
-    <link rel="stylesheet" href="/static/admin/css/main.css?v=<?php echo time(); ?>" media="all">
-    <link rel="stylesheet" href="/static/plugins/font-awesome-4.7.0/css/font-awesome.min.css" media="all">
-    <!--<link rel="stylesheet" href="/static/plugins/bootstrap-select/less/bootstrap-select.less">-->
-    <!--<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/bootstrap-select@1.13.9/dist/css/bootstrap-select.min.css">-->
-    <!--[if lt IE 9]>
-    <!--<script src="https://cdn.staticfile.org/html5shiv/r29/html5.min.js"></script>-->
-    <!--<script src="https://cdn.staticfile.org/respond.js/1.4.2/respond.min.js"></script>-->
-    <!--<![endif]&ndash;&gt;-->
-    <style id="LM-bg-color">
-    </style>
-</head>
-<style> .layui-iconpicker-body.layui-iconpicker-body-page .hide {display: none;}</style>
-<div class="LM-container">
-    <div class="LM-main">
-        <div class="admin-main layui-anim layui-anim-upbit">
-            <fieldset class="layui-elem-field layui-field-title">
-                <legend><?php echo lang('add'); ?>权限节点</legend>
-            </fieldset>
-            <blockquote class="layui-elem-quote">
-                1、控制器/方法 例如 Wechat/index
-            </blockquote>
-            <form class="layui-form layui-form-pane" lay-filter="form">
-                <div class="layui-form-item">
-                    <label class="layui-form-label">父级</label>
-                    <div class="layui-input-inline">
-                        <select name="pid" lay-verify="required" lay-filter="pid">
-                            <option value="0">默认顶级</option>
-                            <?php if(is_array($ruleList) || $ruleList instanceof \think\Collection || $ruleList instanceof \think\Paginator): $i = 0; $__LIST__ = $ruleList;if( count($__LIST__)==0 ) : echo "" ;else: foreach($__LIST__ as $key=>$vo): $mod = ($i % 2 );++$i;?>
-                            <option value="<?php echo htmlentities($vo['id']); ?>" <?php if($rule and $rule['id']==$vo['id']): ?>selected
-                            <?php endif; ?>><?php echo htmlentities($vo['lefthtml']); ?><?php echo htmlentities($vo['title']); ?></option>
-                            <?php endforeach; endif; else: echo "" ;endif; ?>
-                        </select>
-                    </div>
-                </div>
-                <div class="layui-form-item">
-                    <label class="layui-form-label">权限名称</label>
-                    <div class="layui-input-inline">
-                        <input type="text" name="title" lay-verify="required" placeholder="<?php echo lang('pleaseEnter'); ?>权限名称"
-                               class="layui-input">
-                    </div>
-                </div>
-                <div class="layui-form-item">
-                    <label class="layui-form-label">控制器/方法</label>
-                    <div class="layui-input-inline">
-                        <input type="text" name="href" lay-verify="required" placeholder="<?php echo lang('pleaseEnter'); ?>控制器/方法"
-                               class="layui-input">
-                    </div>
-                </div>
-                <div class="layui-form-item">
-                    <label class="layui-form-label">图标名称</label>
-                    <div class="layui-input-inline">
-                        <input type="text" name="icon" id="iconPicker" lay-filter="iconPicker" class="hide">
-                    </div>
-                    <div class="layui-form-mid layui-word-aux"><a target="_blank" href="http://www.fontawesome.com.cn/">点击查看图标</a></div>
-                </div>
-                <div class="layui-form-item">
-                    <label class="layui-form-label">菜单状态</label>
-                    <div class="layui-input-inline">
-                        <input type="radio" name="menu_status" lay-filter="menu_status" checked value="1" title="开启">
-                        <input type="radio" name="menu_status" lay-filter="menu_status" value="0" title="关闭">
-                    </div>
-                </div>
-                <div class="layui-form-item">
-                    <label class="layui-form-label">排序</label>
-                    <div class="layui-input-inline">
-                        <input type="text" name="sort" value="50" placeholder="<?php echo lang('pleaseEnter'); ?>排序编号"
-                               class="layui-input">
-                        <input type="hidden" name="id">
-                    </div>
-                </div>
-                <div class="layui-form-item">
-                    <div class="layui-input-inline">
-                        <button type="button" class="layui-btn" lay-submit="" lay-filter="submit">立即提交</button>
-                        <a href="<?php echo url('adminRule'); ?>" class="layui-btn layui-btn-primary">返回</a>
-                    </div>
-                </div>
-            </form>
-        </div>
-    </div>
-</div>
-
-<script src="/static/plugins/layui/layui.js" charset="utf-8"></script>
-<!--<script src="/static/plugins/bootstrap-3.3.7/js/bootstrap.js" charset="utf-8"></script>-->
-<script>
-    layui.config({
-        base: '/static/plugins/layui/extend/'
-    }).extend({
-        iconPickerFa: 'iconPicker/iconPickerFa'
-    }).use(['form', 'layer','iconPickerFa'], function () {
-        var form = layui.form,layer = layui.layer,$= layui.jquery;
-        var iconPickerFa = layui.iconPickerFa;
-        var info  = <?php echo json_encode($info); ?>;
-        var url = "<?php echo url('ruleAdd'); ?>";
-        var icon = '';
-        if(info){
-            form.val('form',info);
-            url = "<?php echo url('ruleEdit'); ?>";
-            icon= info.icon;
-        }
-        iconPickerFa.render({
-            // 选择器,推荐使用input
-            elem: '#iconPicker',
-            // fa 图标接口
-            url: "/static/plugins/font-awesome-4.7.0/less/variables.less",
-            // 是否开启搜索:true/false,默认true
-            search: true,
-            // 是否开启分页:true/false,默认true
-            page: true,
-            // 每页显示数量,默认12
-            limit: 20,
-            // 点击回调
-            click: function (data) {
-                $('#iconPicker').val('fa '+ data.icon);
-            },
-            // 渲染成功后的回调
-            success: function (d) {
-                $('#iconPicker').val('fa '+ d.icon);
-            }
-        });
-        form.on('submit(submit)', function (data) {
-            // 提交到方法 默认为本身
-            console.log(data.field);
-            if(data.field.icon=='fa undefined'){
-                data.field.icon = icon;
-            }
-            $.post(url,data.field,function(res){
-                if(res.code > 0){
-                    layer.msg(res.msg,{time:1000,icon:1},function(){
-                        location.href = res.url;
-                    });
-                }else{
-                    layer.msg(res.msg,{time:1000,icon:2});
-                }
-            });
-        })
-    });
-</script>

+ 242 - 0
php/runtime/admin/temp/b7eebf4d17da292020e3e037ce40d039.php

@@ -0,0 +1,242 @@
+<?php /*a:3:{s:51:"D:\project\bts\php\view\admin\usermanage\index.html";i:1591275080;s:48:"D:\project\bts\php\view\admin\common\header.html";i:1591272466;s:48:"D:\project\bts\php\view\admin\common\footer.html";i:1591272583;}*/ ?>
+<!DOCTYPE html>
+<html>
+<head>
+    <meta charset="utf-8">
+    <title><?php echo config('admin.sys_name'); ?>后台管理</title>
+    <meta name="renderer" content="webkit">
+    <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
+    <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
+    <meta name="apple-mobile-web-app-status-bar-style" content="black">
+    <meta name="apple-mobile-web-app-capable" content="yes">
+    <meta name="format-detection" content="telephone=no">
+    <link rel="stylesheet" href="/static/plugins/layui/css/layui.css" media="all" />
+    <link rel="stylesheet" href="/static/admin/css/main.css?v=<?php echo time(); ?>" media="all">
+    <link rel="stylesheet" href="/static/plugins/font-awesome-4.7.0/css/font-awesome.min.css" media="all">
+
+    <style id="LM-bg-color">
+    </style>
+
+</head>
+
+<style>
+    .yourclass {
+        display: block;
+    }
+
+    .canel {
+        display: none;
+    }
+</style>
+<div class="LM-container">
+    <div class="LM-main">
+        <fieldset class="layui-elem-field layui-field-title">
+            <legend><?php echo lang('user'); ?><?php echo lang('list'); ?></legend>
+            <blockquote class="layui-elem-quote">
+                <div class="LM-table">
+                    <div class="layui-inline">
+                        <input type="text" id='keys' name="keys" lay-verify="required"
+                               placeholder="<?php echo lang('pleaseEnter'); ?>" autocomplete="off" class="layui-input">
+                    </div>
+                    <a href="javascript:;" class="layui-btn data-add-btn layui-btn-sm" lay-submit="" lay-filter="add"
+                       id="search">
+                        <?php echo lang('search'); ?>
+                    </a>
+                    <!--                    <a href="<?php echo url('add'); ?>" class="layui-btn layui-btn-sm layui-btn-warm"><?php echo lang('add'); ?><?php echo lang('user'); ?></a>-->
+                    <!--                    <a href="javascript:;"  class="layui-btn layui-btn-sm layui-btn-danger" id="delAll"><?php echo lang('delete checked'); ?></a>-->
+
+                </div>
+
+            </blockquote>
+
+        </fieldset>
+
+        <table class="layui-table" id="list" lay-filter="list"></table>
+    </div>
+</div>
+
+
+<script type="text/html" id="action">
+    <!--    <a href="<?php echo url('edit'); ?>?id={{d.id}}" class="layui-btn  layui-btn-xs" lay-event="edit"><?php echo lang('edit'); ?></a>-->
+    <a class="layui-btn layui-btn-danger layui-btn-xs" lay-event="vip_level">设置会员等级</a>
+    <a class="layui-btn layui-btn-danger layui-btn-xs" lay-event="vip_level">设置</a>
+</script>
+<script type="text/html" id="status">
+    <input type="checkbox" name="status" value="{{d.id}}" lay-skin="switch" lay-text="正常|禁止" lay-filter="status" {{ d.status== 0 ? 'checked' : '' }}>
+</script>
+
+<script type="text/html" id="avatar">
+    {{d.avatar}}<img src="/static/admin/images/image.gif"
+                     onmouseover="layer.tips('<img src={{d.avatar}}>',this,{tips: [1, '#fff']});"
+                     onmouseout="layer.closeAll();">
+</script>
+
+
+<div id="red" style="background-color: white; border-radius: 10px; text-align: center;display: none">
+        <div class="layui-form-item">
+            <label class="layui-form-label">设置vip等级</label>
+            <div class="layui-input-block">
+                <select name="vip_levels" lay-verify="required" id="vip_levels">
+                    <?php if(is_array($vip) || $vip instanceof \think\Collection || $vip instanceof \think\Paginator): $i = 0; $__LIST__ = $vip;if( count($__LIST__)==0 ) : echo "" ;else: foreach($__LIST__ as $key=>$vs): $mod = ($i % 2 );++$i;?>
+                    <option class="option-<?php echo htmlentities($vs['id']); ?>" value="<?php echo htmlentities($vs['id']); ?>"><?php echo htmlentities($vs['level']); ?>级</option>
+                    <?php endforeach; endif; else: echo "" ;endif; ?>
+                </select>
+            </div>
+        </div>
+<!--    </div>-->
+    <div style="height: 1px; background-color: #d5d5d5; margin-top: 10px;"></div>
+
+    <div style="width: 100%; text-align: center;">
+        <div style="float: left; width: 49.75%; height: 41px; padding-top: 10px;" lay-event="cancel" onclick="cancel()">
+            取消
+        </div>
+        <div style="float: left; width: 1px; height: 41px; background-color: #d5d5d5;"></div>
+        <div style="float: right; width: 49.75%; height: 41px; padding-top: 10px;" lay-event="sendRedpacket"
+             onclick="sendRedpacket()">确定
+        </div>
+        <div style="clear: both;"></div>
+    </div>
+
+</div>
+
+<script src="/static/plugins/layui/layui.js" charset="utf-8"></script>
+<script src="/static/plugins/jquery-3.4.1/jquery-3.4.1.min.js"></script>
+<script>
+    let redIndex=0;
+    let user_id=0;
+    let vip_level=0;
+    layui.use(['form', 'table'], function () {
+        var $ = layui.jquery,
+            form = layui.form,
+            table = layui.table;
+
+        var tableIn = table.render({
+            elem: '#list',
+            url: '<?php echo url("index"); ?>',
+            method: 'post',
+            title: '用户数据表',
+            // toolbar: '#toolbar', //开启头部工具栏,并为其绑定左侧模板
+
+            defaultToolbar: ['filter', 'exports', 'print', { //自定义头部工具栏右侧图标。如无需自定义,去除该参数即可
+                title: '提示'
+                , layEvent: 'LAYTABLE_TIPS'
+                , icon: 'layui-icon-tips'
+            }],
+            cols: [[
+                // {checkbox: true, fixed: true},
+                {field: 'id', title: 'ID', width: 80, sort: true},
+                {field: 'name', title: '名字', width: 120,},
+                {field: 'maild', title: '邮箱', width: 120,},
+                {field: 'phone', title: '手机', width: 120,},
+                {field: 'sex', title: '性别', width: 120},
+                {field: 'vip_level', title: '会员等级', width: 120,},
+                {field: 'image', title: '头像', width: 120, templet: "#avatar"},
+                {field: 'status', title: '状态', width: 180, templet: '#status'},
+                {field: 'pid', title: '上级id', width: 180},
+                {field: 'code', title: '邀请码', width: 180},
+                {field: 'money', title: '通证余额', width: 180},
+                {field: 'ensure_money', title: '保证金', width: 180},
+                {field: 'push_money', title: '可售额度', width: 180},
+                {field: 'pool_money', title: '矿池矿金', width: 180},
+                {field: 'is_admin', title: '是否代理商账号', width: 180},
+                {field: 'add_time', title: '注册时间', width: 180},
+                {field: 'update_time', title: '更新时间', width: 180},
+
+                {title: '操作', width: 150, toolbar: '#action', align: "center"},
+
+            ]],
+            limits: [10, 15, 20, 25, 50, 100],
+            limit: 15,
+            page: true
+        });
+
+
+        table.on('tool(list)', function (obj) {
+            var data = obj.data;
+            if (obj.event === 'del') {
+                layer.confirm('<?php echo lang("Are you sure you want to delete it"); ?>', function (index) {
+                    loading = layer.load(1, {shade: [0.1, '#fff']});
+                    $.post("<?php echo url('delete'); ?>", {id: data.id}, function (res) {
+                        layer.close(loading);
+                        layer.close(index);
+                        if (res.code > 0) {
+                            layer.msg(res.msg, {time: 1000, icon: 1});
+                            obj.del();
+                        } else {
+                            layer.msg(res.msg, {time: 1000, icon: 2});
+                        }
+                    });
+                });
+            }
+
+// 弹出框
+            if (obj.event === "vip_level") {
+                user_id=data.id;
+                vip_level=data.vip_level;
+                $(".option-"+vip_level).attr("selected",true);
+                redIndex = layer.open({
+                    type: 1,
+                    title: false,
+                    area: ['80%', ''], //宽高
+                    closeBtn: 0,
+                    shadeClose: false,
+                    skin: $(".yourclass"),
+                    content: $("#red"),
+                });
+            }
+
+        });
+
+        form.on('switch(status)', function (data) {
+            // 修改状态
+            loading = layer.load(1, {shade: [0.1, '#fff']});
+            $.post("<?php echo url('fenhao'); ?>", {id: data.value}, function (res) {
+                layer.close(loading);
+                if (res.code == 200) {
+                    layer.msg(res.msg, {time: 1000, icon: 1});
+                } else {
+                    layer.msg(res.msg, {time: 1000, icon: 2});
+                }
+            }, "json");
+        });
+
+        $('#search').click(function () {
+            var $keys = $('#keys').val();
+            if (!$keys) {
+                return layer.msg('请输入关键词');
+            }
+
+            tableIn.reload({page: {page: 1}, where: {keys: $keys}});
+
+        })
+
+    });
+
+    // 取消
+    function cancel() {
+        $("#red").addClass("canel")
+        layer.close(redIndex);
+    }
+    // 确定
+    function sendRedpacket() {
+        let vip_levels=$("#vip_levels").val()
+
+      let  loading = layer.load(1, {shade: [0.1, '#fff']});
+        let data={
+            id:user_id,
+            level:vip_levels
+        }
+
+        $.post("<?php echo url('update_leve'); ?>", data, function (res) {
+            layer.close(loading);
+            layer.close(redIndex);
+            if (res.code == 200) {
+                window.location.reload()
+                layer.msg(res.msg, {time: 1000, icon: 1});
+            } else {
+                layer.msg(res.msg, {time: 1000, icon: 2});
+            }
+        },"json");
+
+    }
+</script>

+ 0 - 122
php/runtime/ap/log/202006/01.log

@@ -1,122 +0,0 @@
-[2020-06-01T14:57:50+08:00][sql] CONNECT:[ UseTime:0.198929s ] mysql:host=rm-2ze41ef9a1037xwc8po.mysql.rds.aliyuncs.com;port=3306;dbname=any_anli;charset=utf8
-[2020-06-01T14:57:50+08:00][sql] SHOW FULL COLUMNS FROM `lm_admin` [ RunTime:0.054287s ]
-[2020-06-01T14:58:18+08:00][sql] CONNECT:[ UseTime:0.080181s ] mysql:host=rm-2ze41ef9a1037xwc8po.mysql.rds.aliyuncs.com;port=3306;dbname=any_anli;charset=utf8
-[2020-06-01T14:58:18+08:00][sql] SHOW FULL COLUMNS FROM `lm_admin` [ RunTime:0.050387s ]
-[2020-06-01T14:59:04+08:00][sql] CONNECT:[ UseTime:0.205330s ] mysql:host=rm-2ze41ef9a1037xwc8po.mysql.rds.aliyuncs.com;port=3306;dbname=any_anli;charset=utf8
-[2020-06-01T14:59:04+08:00][sql] SHOW FULL COLUMNS FROM `lm_admin` [ RunTime:0.055059s ]
-[2020-06-01T15:08:25+08:00][sql] CONNECT:[ UseTime:0.083480s ] mysql:host=rm-2ze41ef9a1037xwc8po.mysql.rds.aliyuncs.com;port=3306;dbname=any_anli;charset=utf8
-[2020-06-01T15:08:25+08:00][sql] SHOW FULL COLUMNS FROM `lm_admin` [ RunTime:0.053839s ]
-[2020-06-01T15:08:39+08:00][sql] CONNECT:[ UseTime:0.084637s ] mysql:host=rm-2ze41ef9a1037xwc8po.mysql.rds.aliyuncs.com;port=3306;dbname=any_anli;charset=utf8
-[2020-06-01T15:08:39+08:00][sql] SHOW FULL COLUMNS FROM `lm_admin` [ RunTime:0.053764s ]
-[2020-06-01T15:08:47+08:00][sql] CONNECT:[ UseTime:0.082193s ] mysql:host=rm-2ze41ef9a1037xwc8po.mysql.rds.aliyuncs.com;port=3306;dbname=any_anli;charset=utf8
-[2020-06-01T15:08:47+08:00][sql] SHOW FULL COLUMNS FROM `lm_admin` [ RunTime:0.055993s ]
-[2020-06-01T15:08:49+08:00][sql] CONNECT:[ UseTime:0.080101s ] mysql:host=rm-2ze41ef9a1037xwc8po.mysql.rds.aliyuncs.com;port=3306;dbname=any_anli;charset=utf8
-[2020-06-01T15:08:49+08:00][sql] SHOW FULL COLUMNS FROM `lm_admin` [ RunTime:0.053657s ]
-[2020-06-01T15:09:30+08:00][sql] CONNECT:[ UseTime:0.083599s ] mysql:host=rm-2ze41ef9a1037xwc8po.mysql.rds.aliyuncs.com;port=3306;dbname=any_anli;charset=utf8
-[2020-06-01T15:09:30+08:00][sql] SHOW FULL COLUMNS FROM `lm_admin` [ RunTime:0.057515s ]
-[2020-06-01T15:10:13+08:00][sql] CONNECT:[ UseTime:0.107277s ] mysql:host=rm-2ze41ef9a1037xwc8po.mysql.rds.aliyuncs.com;port=3306;dbname=any_anli;charset=utf8
-[2020-06-01T15:10:13+08:00][sql] SHOW FULL COLUMNS FROM `lm_admin` [ RunTime:0.051084s ]
-[2020-06-01T15:23:05+08:00][sql] CONNECT:[ UseTime:0.255382s ] mysql:host=rm-2ze41ef9a1037xwc8po.mysql.rds.aliyuncs.com;port=3306;dbname=any_anli;charset=utf8
-[2020-06-01T15:23:05+08:00][sql] SHOW FULL COLUMNS FROM `lm_admin` [ RunTime:0.054312s ]
-[2020-06-01T15:23:38+08:00][sql] CONNECT:[ UseTime:0.082425s ] mysql:host=rm-2ze41ef9a1037xwc8po.mysql.rds.aliyuncs.com;port=3306;dbname=any_anli;charset=utf8
-[2020-06-01T15:23:38+08:00][sql] SHOW FULL COLUMNS FROM `lm_admin` [ RunTime:0.053927s ]
-[2020-06-01T15:23:57+08:00][sql] CONNECT:[ UseTime:0.078810s ] mysql:host=rm-2ze41ef9a1037xwc8po.mysql.rds.aliyuncs.com;port=3306;dbname=any_anli;charset=utf8
-[2020-06-01T15:23:57+08:00][sql] SHOW FULL COLUMNS FROM `lm_admin` [ RunTime:0.052543s ]
-[2020-06-01T15:37:40+08:00][sql] CONNECT:[ UseTime:0.204344s ] mysql:host=rm-2ze41ef9a1037xwc8po.mysql.rds.aliyuncs.com;port=3306;dbname=any_anli;charset=utf8
-[2020-06-01T15:37:40+08:00][sql] SHOW FULL COLUMNS FROM `lm_admin` [ RunTime:0.058637s ]
-[2020-06-01T15:38:34+08:00][sql] CONNECT:[ UseTime:0.078738s ] mysql:host=rm-2ze41ef9a1037xwc8po.mysql.rds.aliyuncs.com;port=3306;dbname=any_anli;charset=utf8
-[2020-06-01T15:38:34+08:00][sql] SHOW FULL COLUMNS FROM `lm_admin` [ RunTime:0.053329s ]
-[2020-06-01T15:39:29+08:00][sql] CONNECT:[ UseTime:0.202565s ] mysql:host=rm-2ze41ef9a1037xwc8po.mysql.rds.aliyuncs.com;port=3306;dbname=any_anli;charset=utf8
-[2020-06-01T15:39:29+08:00][sql] SHOW FULL COLUMNS FROM `lm_admin` [ RunTime:0.057258s ]
-[2020-06-01T15:39:39+08:00][sql] CONNECT:[ UseTime:0.081341s ] mysql:host=rm-2ze41ef9a1037xwc8po.mysql.rds.aliyuncs.com;port=3306;dbname=any_anli;charset=utf8
-[2020-06-01T15:39:39+08:00][sql] SHOW FULL COLUMNS FROM `lm_admin` [ RunTime:0.054863s ]
-[2020-06-01T15:40:08+08:00][sql] CONNECT:[ UseTime:0.082394s ] mysql:host=rm-2ze41ef9a1037xwc8po.mysql.rds.aliyuncs.com;port=3306;dbname=any_anli;charset=utf8
-[2020-06-01T15:40:08+08:00][sql] SHOW FULL COLUMNS FROM `lm_admin` [ RunTime:0.055337s ]
-[2020-06-01T15:40:30+08:00][sql] CONNECT:[ UseTime:0.205023s ] mysql:host=rm-2ze41ef9a1037xwc8po.mysql.rds.aliyuncs.com;port=3306;dbname=any_anli;charset=utf8
-[2020-06-01T15:40:30+08:00][sql] SHOW FULL COLUMNS FROM `lm_admin` [ RunTime:0.056369s ]
-[2020-06-01T15:41:43+08:00][sql] CONNECT:[ UseTime:0.213358s ] mysql:host=rm-2ze41ef9a1037xwc8po.mysql.rds.aliyuncs.com;port=3306;dbname=any_anli;charset=utf8
-[2020-06-01T15:41:43+08:00][sql] SHOW FULL COLUMNS FROM `lm_admin` [ RunTime:0.053739s ]
-[2020-06-01T15:48:40+08:00][sql] CONNECT:[ UseTime:0.225863s ] mysql:host=rm-2ze41ef9a1037xwc8po.mysql.rds.aliyuncs.com;port=3306;dbname=any_anli;charset=utf8
-[2020-06-01T15:48:40+08:00][sql] SHOW FULL COLUMNS FROM `lm_admin` [ RunTime:0.306186s ]
-[2020-06-01T15:49:09+08:00][sql] CONNECT:[ UseTime:0.088779s ] mysql:host=rm-2ze41ef9a1037xwc8po.mysql.rds.aliyuncs.com;port=3306;dbname=any_anli;charset=utf8
-[2020-06-01T15:49:09+08:00][sql] SHOW FULL COLUMNS FROM `lm_admin` [ RunTime:0.052765s ]
-[2020-06-01T15:52:46+08:00][sql] CONNECT:[ UseTime:0.202934s ] mysql:host=rm-2ze41ef9a1037xwc8po.mysql.rds.aliyuncs.com;port=3306;dbname=any_anli;charset=utf8
-[2020-06-01T15:52:46+08:00][sql] SHOW FULL COLUMNS FROM `lm_admin` [ RunTime:0.052916s ]
-[2020-06-01T15:57:07+08:00][error] [0]Argument 1 passed to think\Response::header() must be of the type array, string given, called in D:\phpstudy_pro\WWW\my\fuye\php\vendor\topthink\framework\src\helper.php on line 310[D:\phpstudy_pro\WWW\my\fuye\php\vendor\topthink\framework\src\think\Response.php:245]
-[2020-06-01T15:57:07+08:00][sql] CONNECT:[ UseTime:0.214172s ] mysql:host=rm-2ze41ef9a1037xwc8po.mysql.rds.aliyuncs.com;port=3306;dbname=any_anli;charset=utf8
-[2020-06-01T15:57:07+08:00][sql] SHOW FULL COLUMNS FROM `lm_admin` [ RunTime:0.051529s ]
-[2020-06-01T16:07:54+08:00][sql] CONNECT:[ UseTime:0.213005s ] mysql:host=rm-2ze41ef9a1037xwc8po.mysql.rds.aliyuncs.com;port=3306;dbname=any_anli;charset=utf8
-[2020-06-01T16:07:54+08:00][sql] SHOW FULL COLUMNS FROM `lm_admin` [ RunTime:0.055106s ]
-[2020-06-01T16:15:50+08:00][error] [8]未定义数组下标: 1[D:\phpstudy_pro\WWW\my\fuye\php\app\ap\controller\v1\Token.php:21]
-[2020-06-01T16:15:50+08:00][sql] CONNECT:[ UseTime:0.223356s ] mysql:host=rm-2ze41ef9a1037xwc8po.mysql.rds.aliyuncs.com;port=3306;dbname=any_anli;charset=utf8
-[2020-06-01T16:15:50+08:00][sql] SHOW FULL COLUMNS FROM `lm_admin` [ RunTime:0.057021s ]
-[2020-06-01T16:16:01+08:00][error] [8]未定义数组下标: 1[D:\phpstudy_pro\WWW\my\fuye\php\app\ap\controller\v1\Token.php:21]
-[2020-06-01T16:16:01+08:00][sql] CONNECT:[ UseTime:0.091024s ] mysql:host=rm-2ze41ef9a1037xwc8po.mysql.rds.aliyuncs.com;port=3306;dbname=any_anli;charset=utf8
-[2020-06-01T16:16:01+08:00][sql] SHOW FULL COLUMNS FROM `lm_admin` [ RunTime:0.056716s ]
-[2020-06-01T16:30:46+08:00][error] [0]call_user_func() expects parameter 1 to be a valid callback, class 'app\middleware\Token' does not have a method 'handle'[D:\phpstudy_pro\WWW\my\fuye\php\vendor\topthink\framework\src\think\Middleware.php:142]
-[2020-06-01T16:30:46+08:00][sql] CONNECT:[ UseTime:0.204863s ] mysql:host=rm-2ze41ef9a1037xwc8po.mysql.rds.aliyuncs.com;port=3306;dbname=any_anli;charset=utf8
-[2020-06-01T16:30:46+08:00][sql] SHOW FULL COLUMNS FROM `lm_admin` [ RunTime:0.056047s ]
-[2020-06-01T16:31:39+08:00][error] [0]中间件方法必须返回Response对象实例[D:\phpstudy_pro\WWW\my\fuye\php\vendor\topthink\framework\src\think\Middleware.php:145]
-[2020-06-01T16:31:39+08:00][sql] CONNECT:[ UseTime:0.083655s ] mysql:host=rm-2ze41ef9a1037xwc8po.mysql.rds.aliyuncs.com;port=3306;dbname=any_anli;charset=utf8
-[2020-06-01T16:31:39+08:00][sql] SHOW FULL COLUMNS FROM `lm_admin` [ RunTime:0.056494s ]
-[2020-06-01T16:32:38+08:00][error] [0]中间件方法必须返回Response对象实例[D:\phpstudy_pro\WWW\my\fuye\php\vendor\topthink\framework\src\think\Middleware.php:145]
-[2020-06-01T16:32:38+08:00][sql] CONNECT:[ UseTime:0.225079s ] mysql:host=rm-2ze41ef9a1037xwc8po.mysql.rds.aliyuncs.com;port=3306;dbname=any_anli;charset=utf8
-[2020-06-01T16:32:38+08:00][sql] SHOW FULL COLUMNS FROM `lm_admin` [ RunTime:0.055341s ]
-[2020-06-01T16:34:19+08:00][error] [0]Argument 1 passed to think\Response::header() must be of the type array, object given, called in D:\phpstudy_pro\WWW\my\fuye\php\vendor\topthink\framework\src\helper.php on line 310[D:\phpstudy_pro\WWW\my\fuye\php\vendor\topthink\framework\src\think\Response.php:245]
-[2020-06-01T16:34:19+08:00][sql] CONNECT:[ UseTime:0.201587s ] mysql:host=rm-2ze41ef9a1037xwc8po.mysql.rds.aliyuncs.com;port=3306;dbname=any_anli;charset=utf8
-[2020-06-01T16:34:19+08:00][sql] SHOW FULL COLUMNS FROM `lm_admin` [ RunTime:0.053932s ]
-[2020-06-01T17:08:30+08:00][sql] CONNECT:[ UseTime:0.254497s ] mysql:host=rm-2ze41ef9a1037xwc8po.mysql.rds.aliyuncs.com;port=3306;dbname=any_anli;charset=utf8
-[2020-06-01T17:08:30+08:00][sql] SHOW FULL COLUMNS FROM `lm_user` [ RunTime:0.057271s ]
-[2020-06-01T17:08:30+08:00][sql] SELECT * FROM `lm_user` WHERE  `user` = '123456' LIMIT 1 [ RunTime:0.056173s ]
-[2020-06-01T17:08:52+08:00][sql] CONNECT:[ UseTime:0.095390s ] mysql:host=rm-2ze41ef9a1037xwc8po.mysql.rds.aliyuncs.com;port=3306;dbname=any_anli;charset=utf8
-[2020-06-01T17:08:52+08:00][sql] SHOW FULL COLUMNS FROM `lm_user` [ RunTime:0.098509s ]
-[2020-06-01T17:08:52+08:00][sql] SELECT * FROM `lm_user` WHERE  `user` = '123456' LIMIT 1 [ RunTime:0.071879s ]
-[2020-06-01T17:09:33+08:00][sql] CONNECT:[ UseTime:0.277319s ] mysql:host=rm-2ze41ef9a1037xwc8po.mysql.rds.aliyuncs.com;port=3306;dbname=any_anli;charset=utf8
-[2020-06-01T17:09:33+08:00][sql] SHOW FULL COLUMNS FROM `lm_user` [ RunTime:0.092494s ]
-[2020-06-01T17:09:33+08:00][sql] SELECT * FROM `lm_user` WHERE  `user` = '123456' LIMIT 1 [ RunTime:0.053875s ]
-[2020-06-01T17:09:37+08:00][sql] CONNECT:[ UseTime:0.110765s ] mysql:host=rm-2ze41ef9a1037xwc8po.mysql.rds.aliyuncs.com;port=3306;dbname=any_anli;charset=utf8
-[2020-06-01T17:09:37+08:00][sql] SHOW FULL COLUMNS FROM `lm_user` [ RunTime:0.053962s ]
-[2020-06-01T17:09:37+08:00][sql] SELECT * FROM `lm_user` WHERE  `user` = '1234562' LIMIT 1 [ RunTime:0.052480s ]
-[2020-06-01T17:09:53+08:00][sql] CONNECT:[ UseTime:0.085938s ] mysql:host=rm-2ze41ef9a1037xwc8po.mysql.rds.aliyuncs.com;port=3306;dbname=any_anli;charset=utf8
-[2020-06-01T17:09:53+08:00][sql] SHOW FULL COLUMNS FROM `lm_user` [ RunTime:0.074629s ]
-[2020-06-01T17:09:53+08:00][sql] SELECT * FROM `lm_user` WHERE  `user` IS NULL LIMIT 1 [ RunTime:0.075393s ]
-[2020-06-01T17:09:53+08:00][error] [0]Argument 1 passed to think\Response::header() must be of the type array, string given, called in D:\phpstudy_pro\WWW\my\fuye\php\vendor\topthink\framework\src\helper.php on line 310[D:\phpstudy_pro\WWW\my\fuye\php\vendor\topthink\framework\src\think\Response.php:245]
-[2020-06-01T17:10:03+08:00][sql] CONNECT:[ UseTime:0.109852s ] mysql:host=rm-2ze41ef9a1037xwc8po.mysql.rds.aliyuncs.com;port=3306;dbname=any_anli;charset=utf8
-[2020-06-01T17:10:03+08:00][sql] SHOW FULL COLUMNS FROM `lm_user` [ RunTime:0.053720s ]
-[2020-06-01T17:10:03+08:00][sql] SELECT * FROM `lm_user` WHERE  `user` IS NULL LIMIT 1 [ RunTime:0.053836s ]
-[2020-06-01T17:12:37+08:00][sql] CONNECT:[ UseTime:0.138109s ] mysql:host=rm-2ze41ef9a1037xwc8po.mysql.rds.aliyuncs.com;port=3306;dbname=any_anli;charset=utf8
-[2020-06-01T17:12:37+08:00][sql] SHOW FULL COLUMNS FROM `lm_user` [ RunTime:0.053326s ]
-[2020-06-01T17:12:37+08:00][sql] SELECT * FROM `lm_user` WHERE  `user` = '1234562' LIMIT 1 [ RunTime:0.080202s ]
-[2020-06-01T17:12:58+08:00][sql] CONNECT:[ UseTime:0.096551s ] mysql:host=rm-2ze41ef9a1037xwc8po.mysql.rds.aliyuncs.com;port=3306;dbname=any_anli;charset=utf8
-[2020-06-01T17:12:58+08:00][sql] SHOW FULL COLUMNS FROM `lm_user` [ RunTime:0.053959s ]
-[2020-06-01T17:12:58+08:00][sql] SELECT * FROM `lm_user` WHERE  `user` = '1234562' LIMIT 1 [ RunTime:0.064742s ]
-[2020-06-01T17:14:20+08:00][sql] CONNECT:[ UseTime:0.100770s ] mysql:host=rm-2ze41ef9a1037xwc8po.mysql.rds.aliyuncs.com;port=3306;dbname=any_anli;charset=utf8
-[2020-06-01T17:14:20+08:00][sql] SHOW FULL COLUMNS FROM `lm_user` [ RunTime:0.056606s ]
-[2020-06-01T17:14:20+08:00][sql] SELECT * FROM `lm_user` WHERE  `user` = '123456' LIMIT 1 [ RunTime:0.110179s ]
-[2020-06-01T17:14:20+08:00][error] [2]password_hash() expects at least 2 parameters, 1 given[D:\phpstudy_pro\WWW\my\fuye\php\app\ap\controller\Login.php:29]
-[2020-06-01T17:15:18+08:00][sql] CONNECT:[ UseTime:0.244706s ] mysql:host=rm-2ze41ef9a1037xwc8po.mysql.rds.aliyuncs.com;port=3306;dbname=any_anli;charset=utf8
-[2020-06-01T17:15:18+08:00][sql] SHOW FULL COLUMNS FROM `lm_user` [ RunTime:0.070645s ]
-[2020-06-01T17:15:18+08:00][sql] SELECT * FROM `lm_user` WHERE  `user` = '123456' LIMIT 1 [ RunTime:0.068110s ]
-[2020-06-01T17:16:37+08:00][sql] CONNECT:[ UseTime:0.225298s ] mysql:host=rm-2ze41ef9a1037xwc8po.mysql.rds.aliyuncs.com;port=3306;dbname=any_anli;charset=utf8
-[2020-06-01T17:16:37+08:00][sql] SHOW FULL COLUMNS FROM `lm_user` [ RunTime:0.054234s ]
-[2020-06-01T17:16:37+08:00][sql] SELECT * FROM `lm_user` WHERE  `user` = '123456' LIMIT 1 [ RunTime:0.052924s ]
-[2020-06-01T17:16:42+08:00][sql] CONNECT:[ UseTime:0.077943s ] mysql:host=rm-2ze41ef9a1037xwc8po.mysql.rds.aliyuncs.com;port=3306;dbname=any_anli;charset=utf8
-[2020-06-01T17:16:42+08:00][sql] SHOW FULL COLUMNS FROM `lm_user` [ RunTime:0.054183s ]
-[2020-06-01T17:16:42+08:00][sql] SELECT * FROM `lm_user` WHERE  `user` = '123456' LIMIT 1 [ RunTime:0.076129s ]
-[2020-06-01T17:17:14+08:00][sql] CONNECT:[ UseTime:0.083433s ] mysql:host=rm-2ze41ef9a1037xwc8po.mysql.rds.aliyuncs.com;port=3306;dbname=any_anli;charset=utf8
-[2020-06-01T17:17:14+08:00][sql] SHOW FULL COLUMNS FROM `lm_user` [ RunTime:0.058033s ]
-[2020-06-01T17:17:14+08:00][sql] SELECT * FROM `lm_user` WHERE  `user` = '123456' LIMIT 1 [ RunTime:0.055862s ]
-[2020-06-01T17:17:29+08:00][sql] CONNECT:[ UseTime:0.082253s ] mysql:host=rm-2ze41ef9a1037xwc8po.mysql.rds.aliyuncs.com;port=3306;dbname=any_anli;charset=utf8
-[2020-06-01T17:17:29+08:00][sql] SHOW FULL COLUMNS FROM `lm_user` [ RunTime:0.054648s ]
-[2020-06-01T17:17:29+08:00][sql] SELECT * FROM `lm_user` WHERE  `user` = '123456' LIMIT 1 [ RunTime:0.075242s ]
-[2020-06-01T17:19:22+08:00][sql] CONNECT:[ UseTime:0.079929s ] mysql:host=rm-2ze41ef9a1037xwc8po.mysql.rds.aliyuncs.com;port=3306;dbname=any_anli;charset=utf8
-[2020-06-01T17:19:22+08:00][sql] SHOW FULL COLUMNS FROM `lm_user` [ RunTime:0.054211s ]
-[2020-06-01T17:19:22+08:00][sql] SELECT * FROM `lm_user` WHERE  `user` = '123456' LIMIT 1 [ RunTime:0.054918s ]
-[2020-06-01T17:20:08+08:00][sql] CONNECT:[ UseTime:0.113489s ] mysql:host=rm-2ze41ef9a1037xwc8po.mysql.rds.aliyuncs.com;port=3306;dbname=any_anli;charset=utf8
-[2020-06-01T17:20:08+08:00][sql] SHOW FULL COLUMNS FROM `lm_user` [ RunTime:0.058335s ]
-[2020-06-01T17:20:08+08:00][sql] SELECT * FROM `lm_user` WHERE  `user` = '123456' LIMIT 1 [ RunTime:0.057662s ]
-[2020-06-01T17:20:27+08:00][sql] CONNECT:[ UseTime:0.129718s ] mysql:host=rm-2ze41ef9a1037xwc8po.mysql.rds.aliyuncs.com;port=3306;dbname=any_anli;charset=utf8
-[2020-06-01T17:20:27+08:00][sql] SHOW FULL COLUMNS FROM `lm_user` [ RunTime:0.059733s ]
-[2020-06-01T17:20:27+08:00][sql] SELECT * FROM `lm_user` WHERE  `user` = '123456' LIMIT 1 [ RunTime:0.057312s ]
-[2020-06-01T17:21:17+08:00][error] [0]语法错误: unexpected 'pu' (T_STRING), expecting function (T_FUNCTION) or const (T_CONST)[D:\phpstudy_pro\WWW\my\fuye\php\app\ap\controller\Login.php:33]
-[2020-06-01T17:27:17+08:00][error] [0]语法错误: unexpected 'if' (T_IF)[D:\phpstudy_pro\WWW\my\fuye\php\app\ap\controller\Login.php:38]

파일 크기가 너무 크기때문에 변경 상태를 표시하지 않습니다.
+ 0 - 4
php/runtime/cache/0b/dc60c1eb9bd2792cd1fa7f85d9c865.php


+ 0 - 4
php/runtime/cache/b5/0db2208db974a3bc060e4d7255aa98.php

@@ -1,4 +0,0 @@
-<?php
-//000000003600
- exit();?>
-a:11:{s:3:"url";s:14:"127.0.0.1:8000";s:13:"document_root";s:38:"D:\phpstudy_pro\WWW\cxy\bts\php\public";s:17:"document_protocol";s:8:"HTTP/1.1";s:9:"server_os";s:5:"WINNT";s:11:"server_port";s:4:"8000";s:9:"server_ip";s:9:"127.0.0.1";s:11:"server_soft";s:28:"PHP 7.3.4 Development Server";s:11:"server_file";s:49:"D:\phpstudy_pro\WWW\cxy\bts\php\public\router.php";s:11:"php_version";s:5:"7.3.4";s:13:"mysql_version";s:10:"5.6.41-log";s:15:"max_upload_size";s:5:"1024M";}

파일 크기가 너무 크기때문에 변경 상태를 표시하지 않습니다.
+ 0 - 4
php/runtime/cache/ca/361393b5a02e8a62e8dd6d5373a473.php


BIN
php/runtime/session/sess_ab4726e650d984353a6b41b449abf891


php/runtime/session/sess_3f972420e5bb26ed1e69c519f52d4119 → php/runtime/session/sess_da54de683472e7c0d40273fc08c51d96


+ 0 - 1
php/runtime/web/log/202006/03.log

@@ -1 +0,0 @@
-[2020-06-03T19:35:41+08:00][error] [0]Call to undefined method think\file\UploadedFile::validate()[D:\project\bts\php\app\common\controller\Upfile.php:22]

+ 232 - 0
php/view/admin/Usermanage/index.html

@@ -0,0 +1,232 @@
+{include file="common/header"/}
+
+<style>
+    .yourclass {
+        display: block;
+    }
+
+    .canel {
+        display: none;
+    }
+</style>
+<div class="LM-container">
+    <div class="LM-main">
+        <fieldset class="layui-elem-field layui-field-title">
+            <legend>{:lang('user')}{:lang('list')}</legend>
+            <blockquote class="layui-elem-quote">
+                <div class="LM-table">
+                    <div class="layui-inline">
+                        <input type="text" id='keys' name="keys" lay-verify="required"
+                               placeholder="{:lang('pleaseEnter')}" autocomplete="off" class="layui-input">
+                    </div>
+                    <a href="javascript:;" class="layui-btn data-add-btn layui-btn-sm" lay-submit="" lay-filter="add"
+                       id="search">
+                        {:lang('search')}
+                    </a>
+                    <!--                    <a href="{:url('add')}" class="layui-btn layui-btn-sm layui-btn-warm">{:lang('add')}{:lang('user')}</a>-->
+                    <!--                    <a href="javascript:;"  class="layui-btn layui-btn-sm layui-btn-danger" id="delAll">{:lang('delete checked')}</a>-->
+
+                </div>
+
+            </blockquote>
+
+        </fieldset>
+
+        <table class="layui-table" id="list" lay-filter="list"></table>
+    </div>
+</div>
+
+
+<script type="text/html" id="action">
+    <!--    <a href="{:url('edit')}?id={{d.id}}" class="layui-btn  layui-btn-xs" lay-event="edit">{:lang('edit')}</a>-->
+    <a class="layui-btn layui-btn-danger layui-btn-xs" lay-event="vip_level">设置会员等级</a>
+    <a class="layui-btn layui-btn-danger layui-btn-xs" lay-event="user_money">设置账号金额</a>
+</script>
+<script type="text/html" id="status">
+    <input type="checkbox" name="status" value="{{d.id}}" lay-skin="switch" lay-text="正常|禁止" lay-filter="status" {{ d.status== 0 ? 'checked' : '' }}>
+</script>
+
+<script type="text/html" id="avatar">
+    {{d.avatar}}<img src="/static/admin/images/image.gif"
+                     onmouseover="layer.tips('<img src={{d.avatar}}>',this,{tips: [1, '#fff']});"
+                     onmouseout="layer.closeAll();">
+</script>
+
+
+
+<div id="red" style="background-color: white; border-radius: 10px; text-align: center;display: none">
+        <div class="layui-form-item">
+            <label class="layui-form-label">设置vip等级</label>
+            <div class="layui-input-block">
+                <select name="vip_levels" lay-verify="required" id="vip_levels">
+                    {volist name="$vip" id="vs"}
+                    <option class="option-{$vs.id}" value="{$vs.id}">{$vs.level}级</option>
+                    {/volist}
+                </select>
+            </div>
+        </div>
+    <div style="height: 1px; background-color: #d5d5d5; margin-top: 10px;"></div>
+    <div style="width: 100%; text-align: center;">
+        <div style="float: left; width: 49.75%; height: 41px; padding-top: 10px;" lay-event="cancel" onclick="cancel()">取消</div>
+        <div style="float: left; width: 1px; height: 41px; background-color: #d5d5d5;"></div>
+        <div style="float: right; width: 49.75%; height: 41px; padding-top: 10px;" lay-event="sendRedpacket" onclick="sendRedpacket()">确定</div>
+        <div style="clear: both;"></div>
+    </div>
+</div>
+
+
+
+{include file="common/footer"/}
+<script>
+    let redIndex=0;
+    let user_id=0;
+    let vip_level=0;
+    layui.use(['form', 'table'], function () {
+        var $ = layui.jquery,
+            form = layui.form,
+            table = layui.table;
+
+        var tableIn = table.render({
+            elem: '#list',
+            url: '{:url("index")}',
+            method: 'post',
+            title: '用户数据表',
+            // toolbar: '#toolbar', //开启头部工具栏,并为其绑定左侧模板
+
+            defaultToolbar: ['filter', 'exports', 'print', { //自定义头部工具栏右侧图标。如无需自定义,去除该参数即可
+                title: '提示'
+                , layEvent: 'LAYTABLE_TIPS'
+                , icon: 'layui-icon-tips'
+            }],
+            cols: [[
+                // {checkbox: true, fixed: true},
+                {field: 'id', title: 'ID', width: 80, sort: true},
+                {field: 'name', title: '名字', width: 120,},
+                {field: 'maild', title: '邮箱', width: 120,},
+                {field: 'phone', title: '手机', width: 120,},
+                {field: 'sex', title: '性别', width: 120},
+                {field: 'vip_level', title: '会员等级', width: 120,},
+                {field: 'image', title: '头像', width: 120, templet: "#avatar"},
+                {field: 'status', title: '状态', width: 180, templet: '#status'},
+                {field: 'pid', title: '上级id', width: 180},
+                {field: 'code', title: '邀请码', width: 180},
+                {field: 'money', title: '通证余额', width: 180},
+                {field: 'ensure_money', title: '保证金', width: 180},
+                {field: 'push_money', title: '可售额度', width: 180},
+                {field: 'pool_money', title: '矿池矿金', width: 180},
+                {field: 'is_admin', title: '是否代理商账号', width: 180},
+                {field: 'add_time', title: '注册时间', width: 180},
+                {field: 'update_time', title: '更新时间', width: 180},
+
+                {title: '操作', width: 150, toolbar: '#action', align: "center"},
+
+            ]],
+            limits: [10, 15, 20, 25, 50, 100],
+            limit: 15,
+            page: true
+        });
+
+
+        table.on('tool(list)', function (obj) {
+            var data = obj.data;
+            if (obj.event === 'del') {
+                layer.confirm('{:lang("Are you sure you want to delete it")}', function (index) {
+                    loading = layer.load(1, {shade: [0.1, '#fff']});
+                    $.post("{:url('delete')}", {id: data.id}, function (res) {
+                        layer.close(loading);
+                        layer.close(index);
+                        if (res.code > 0) {
+                            layer.msg(res.msg, {time: 1000, icon: 1});
+                            obj.del();
+                        } else {
+                            layer.msg(res.msg, {time: 1000, icon: 2});
+                        }
+                    });
+                });
+            }
+
+// 弹出框
+            if (obj.event === "vip_level") {
+                user_id=data.id;
+                vip_level=data.vip_level;
+                $(".option-"+vip_level).attr("selected",true);
+                redIndex = layer.open({
+                    type: 1,
+                    title: false,
+                    area: ['80%', ''], //宽高
+                    closeBtn: 0,
+                    shadeClose: false,
+                    skin: $(".yourclass"),
+                    content: $("#red"),
+                });
+            }
+            if (obj.event === "user_money") {
+                user_id=data.id;
+                vip_level=data.vip_level;
+                $(".option-"+vip_level).attr("selected",true);
+                redIndex = layer.open({
+                    type: 1,
+                    title: false,
+                    area: ['80%', ''], //宽高
+                    closeBtn: 0,
+                    shadeClose: false,
+                    skin: $(".yourclass"),
+                    content: $("#red"),
+                });
+            }
+
+        });
+
+        form.on('switch(status)', function (data) {
+            // 修改状态
+            loading = layer.load(1, {shade: [0.1, '#fff']});
+            $.post("{:url('fenhao')}", {id: data.value}, function (res) {
+                layer.close(loading);
+                if (res.code == 200) {
+                    layer.msg(res.msg, {time: 1000, icon: 1});
+                } else {
+                    layer.msg(res.msg, {time: 1000, icon: 2});
+                }
+            }, "json");
+        });
+
+        $('#search').click(function () {
+            var $keys = $('#keys').val();
+            if (!$keys) {
+                return layer.msg('请输入关键词');
+            }
+
+            tableIn.reload({page: {page: 1}, where: {keys: $keys}});
+
+        })
+
+    });
+
+    // 取消
+    function cancel() {
+        $("#red").addClass("canel")
+        layer.close(redIndex);
+    }
+    // 确定
+    function sendRedpacket() {
+        let vip_levels=$("#vip_levels").val()
+
+      let  loading = layer.load(1, {shade: [0.1, '#fff']});
+        let data={
+            id:user_id,
+            level:vip_levels
+        }
+
+        $.post("{:url('update_leve')}", data, function (res) {
+            layer.close(loading);
+            layer.close(redIndex);
+            if (res.code == 200) {
+                window.location.reload()
+                layer.msg(res.msg, {time: 1000, icon: 1});
+            } else {
+                layer.msg(res.msg, {time: 1000, icon: 2});
+            }
+        },"json");
+
+    }
+</script>

+ 102 - 0
php/view/admin/Usermanage/user_money.html

@@ -0,0 +1,102 @@
+{include file="common/header"/}
+<div class="LM-container">
+    <div class="LM-main">
+        <div class="admin-main layui-anim layui-anim-upbit">
+            <fieldset class="layui-elem-field layui-field-title">
+                <legend>{$title}</legend>
+            </fieldset>
+            <form class="layui-form layui-form-pane" lay-filter="form">
+
+
+                <div class="layui-form-item">
+                    <label class="layui-form-label">等级名</label>
+                    <div class="layui-input-inline">
+                        <input type="text" name="level_name" lay-verify="required" placeholder="{:lang('pleaseEnter')}等级名" class="layui-input">
+                    </div>
+                    <div class="layui-form-mid layui-word-aux">
+                        在4到25个字符之间。
+                    </div>
+                </div>
+
+                <div class="layui-form-item">
+                    <label class="layui-form-label">等级金额</label>
+                    <div class="layui-input-inline">
+                        <input type="text" name="amount" lay-verify="required|number" placeholder="{:lang('pleaseEnter')}等级金额" class="layui-input">
+                    </div>
+                    <div class="layui-form-mid layui-word-aux">
+                        整数
+                    </div>
+                </div>
+
+                <div class="layui-form-item">
+                    <label class="layui-form-label">折扣</label>
+                    <div class="layui-input-inline">
+                        <input type="text" name="discount" value="100" placeholder="{:lang('pleaseEnter')}折扣"  class="layui-input">
+                    </div>
+                    <div class="layui-form-mid layui-word-aux">
+                        100 不打折,90 九折
+                    </div>
+                </div>
+
+                <div class="layui-form-item">
+                    <label class="layui-form-label">描述</label>
+                    <div class="layui-input-inline">
+                        <input type="text" name="description" value="" placeholder="{:lang('pleaseEnter')}描述"  class="layui-input">
+                    </div>
+                    <div class="layui-form-mid layui-word-aux">
+                        100 不打折,90 九折
+                    </div>
+                </div>
+
+
+                <div class="layui-form-item">
+                    <label class="layui-form-label">状态</label>
+                    <div class="layui-input-inline">
+                        <input type="radio" name="status" lay-filter="status" checked value="1" title="开启">
+                        <input type="radio" name="status" lay-filter="status" value="0" title="关闭">
+
+                    </div>
+
+                </div>
+
+                <div class="layui-form-item">
+                    <div class="layui-input-inline">
+                        <input type="hidden" name="id"  >
+                        <button type="button" class="layui-btn" lay-submit="" lay-filter="submit">{:lang('submit')}</button>
+                        <a href="{:url('index')}" class="layui-btn layui-btn-primary">{:lang('back')}</a>
+                    </div>
+                </div>
+            </form>
+        </div>
+
+    </div>
+</div>
+
+{include file="common/footer"/}
+<script>
+    layui.use(['form', 'layer','upload','laydate'], function () {
+        var form = layui.form,layer = layui.layer,$= layui.jquery,upload = layui.upload;
+        var info = '';
+
+        info = {:json_encode($info)};
+        form.val("form", info);
+        if(info){
+            $('#addPic').attr('src',info.avatar);
+        }
+        form.render();
+        form.on('submit(submit)', function (data) {
+            loading =layer.load(1, {shade: [0.1,'#fff']});
+            $.post("", data.field, function (res) {
+                layer.close(loading);
+                if (res.code > 0) {
+                    layer.msg(res.msg, {time: 1800, icon: 1}, function () {
+                        location.href = res.url;
+                    });
+                } else {
+                    layer.msg(res.msg, {time: 1800, icon: 2});
+                }
+            });
+        });
+
+    });
+</script>

+ 102 - 0
php/view/admin/Usermanage/vip_level.html

@@ -0,0 +1,102 @@
+{include file="common/header"/}
+<div class="LM-container">
+    <div class="LM-main">
+        <div class="admin-main layui-anim layui-anim-upbit">
+            <fieldset class="layui-elem-field layui-field-title">
+                <legend>{$title}</legend>
+            </fieldset>
+            <form class="layui-form layui-form-pane" lay-filter="form">
+
+
+                <div class="layui-form-item">
+                    <label class="layui-form-label">等级名</label>
+                    <div class="layui-input-inline">
+                        <input type="text" name="level_name" lay-verify="required" placeholder="{:lang('pleaseEnter')}等级名" class="layui-input">
+                    </div>
+                    <div class="layui-form-mid layui-word-aux">
+                        在4到25个字符之间。
+                    </div>
+                </div>
+
+                <div class="layui-form-item">
+                    <label class="layui-form-label">等级金额</label>
+                    <div class="layui-input-inline">
+                        <input type="text" name="amount" lay-verify="required|number" placeholder="{:lang('pleaseEnter')}等级金额" class="layui-input">
+                    </div>
+                    <div class="layui-form-mid layui-word-aux">
+                        整数
+                    </div>
+                </div>
+
+                <div class="layui-form-item">
+                    <label class="layui-form-label">折扣</label>
+                    <div class="layui-input-inline">
+                        <input type="text" name="discount" value="100" placeholder="{:lang('pleaseEnter')}折扣"  class="layui-input">
+                    </div>
+                    <div class="layui-form-mid layui-word-aux">
+                        100 不打折,90 九折
+                    </div>
+                </div>
+
+                <div class="layui-form-item">
+                    <label class="layui-form-label">描述</label>
+                    <div class="layui-input-inline">
+                        <input type="text" name="description" value="" placeholder="{:lang('pleaseEnter')}描述"  class="layui-input">
+                    </div>
+                    <div class="layui-form-mid layui-word-aux">
+                        100 不打折,90 九折
+                    </div>
+                </div>
+
+
+                <div class="layui-form-item">
+                    <label class="layui-form-label">状态</label>
+                    <div class="layui-input-inline">
+                        <input type="radio" name="status" lay-filter="status" checked value="1" title="开启">
+                        <input type="radio" name="status" lay-filter="status" value="0" title="关闭">
+
+                    </div>
+
+                </div>
+
+                <div class="layui-form-item">
+                    <div class="layui-input-inline">
+                        <input type="hidden" name="id"  >
+                        <button type="button" class="layui-btn" lay-submit="" lay-filter="submit">{:lang('submit')}</button>
+                        <a href="{:url('levelIndex')}" class="layui-btn layui-btn-primary">{:lang('back')}</a>
+                    </div>
+                </div>
+            </form>
+        </div>
+
+    </div>
+</div>
+
+{include file="common/footer"/}
+<script>
+    // layui.use(['form', 'layer','upload','laydate'], function () {
+    //     var form = layui.form,layer = layui.layer,$= layui.jquery,upload = layui.upload;
+    //     var info = '';
+    //
+    //     info = {:json_encode($info)};
+    //     form.val("form", info);
+    //     if(info){
+    //         $('#addPic').attr('src',info.avatar);
+    //     }
+    //     form.render();
+    //     form.on('submit(submit)', function (data) {
+    //         loading =layer.load(1, {shade: [0.1,'#fff']});
+    //         $.post("", data.field, function (res) {
+    //             layer.close(loading);
+    //             if (res.code > 0) {
+    //                 layer.msg(res.msg, {time: 1800, icon: 1}, function () {
+    //                     location.href = res.url;
+    //                 });
+    //             } else {
+    //                 layer.msg(res.msg, {time: 1800, icon: 2});
+    //             }
+    //         });
+    //     });
+    //
+    // });
+</script>

+ 1 - 1
php/view/admin/common/footer.html

@@ -1,2 +1,2 @@
 <script src="/static/plugins/layui/layui.js" charset="utf-8"></script>
-<!--<script src="/static/plugins/bootstrap-3.3.7/js/bootstrap.js" charset="utf-8"></script>-->
+<script src="/static/plugins/jquery-3.4.1/jquery-3.4.1.min.js"></script>

+ 2 - 8
php/view/admin/common/header.html

@@ -10,16 +10,10 @@
     <meta name="apple-mobile-web-app-capable" content="yes">
     <meta name="format-detection" content="telephone=no">
     <link rel="stylesheet" href="/static/plugins/layui/css/layui.css" media="all" />
-    <!--<link rel="stylesheet" href="/static/plugins/bootstrap-3.3.7/css/bootstrap.css" media="all" />-->
-    <!--<link rel="stylesheet" href="/static/plugins/bootstrap-3.3.7/css/bootstrap-theme.css" media="all" />-->
     <link rel="stylesheet" href="/static/admin/css/main.css?v={:time()}" media="all">
     <link rel="stylesheet" href="/static/plugins/font-awesome-4.7.0/css/font-awesome.min.css" media="all">
-    <!--<link rel="stylesheet" href="/static/plugins/bootstrap-select/less/bootstrap-select.less">-->
-    <!--<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/bootstrap-select@1.13.9/dist/css/bootstrap-select.min.css">-->
-    <!--[if lt IE 9]>
-    <!--<script src="https://cdn.staticfile.org/html5shiv/r29/html5.min.js"></script>-->
-    <!--<script src="https://cdn.staticfile.org/respond.js/1.4.2/respond.min.js"></script>-->
-    <!--<![endif]&ndash;&gt;-->
+
     <style id="LM-bg-color">
     </style>
+
 </head>