DESKTOP-YALE\greyg 1 سال پیش
والد
کامیت
a1910dae8c

+ 17 - 0
src/main/java/com/hy/common/web/base/BaseController.java

@@ -1,5 +1,6 @@
 package com.hy.common.web.base;
 
+import com.hy.common.web.domain.request.PageDomain;
 import com.hy.common.web.domain.response.ResultController;
 
 /**
@@ -10,4 +11,20 @@ import com.hy.common.web.domain.response.ResultController;
  */
 public class BaseController extends ResultController {
 
+    public static final int DEFAULT_CURRENT_PAGE = 1;
+
+    public static final int DEFAULT_PAGE_SIZE = 20;
+
+    protected void pageDomainInitialize(PageDomain pageDomain){
+        if(null == pageDomain.getPage()){
+            pageDomain.setPage(DEFAULT_CURRENT_PAGE);
+        }
+
+        if(null == pageDomain.getLimit()){
+            pageDomain.setLimit(DEFAULT_PAGE_SIZE);
+        }
+
+    }
+
+
 }

+ 110 - 0
src/main/java/com/hy/modules/bz/controller/BzPlayerController.java

@@ -0,0 +1,110 @@
+package com.hy.modules.bz.controller;
+
+import com.github.pagehelper.PageInfo;
+import com.hy.modules.bz.domain.BzPlayer;
+import com.hy.common.web.base.BaseController;
+import com.hy.common.web.domain.request.PageDomain;
+import com.hy.common.web.domain.response.Result;
+import com.hy.common.web.domain.response.module.ResultTable;
+import org.springframework.beans.factory.annotation.Autowired;
+import org.springframework.security.access.prepost.PreAuthorize;
+import org.springframework.ui.ModelMap;
+import org.springframework.web.bind.annotation.*;
+import org.springframework.web.servlet.ModelAndView;
+import com.hy.modules.bz.service.IBzPlayerService;
+
+import java.util.Arrays;
+
+/**
+ * 生成并管理玩家账号Controller
+ *
+ * @author 伍月
+ * @date 2024-05-06
+ */
+@RestController
+@RequestMapping("/bz/player")
+public class BzPlayerController extends BaseController {
+
+    private String prefix = "bz/player";
+
+    @Autowired
+    private IBzPlayerService bzPlayerService;
+
+    @GetMapping("/main")
+    @PreAuthorize("hasPermission('/bz/player/main','bz:player:main')")
+    public ModelAndView main() {
+        return jumpPage(prefix + "/main");
+    }
+
+    /**
+     * 查询生成并管理玩家账号列表
+     */
+    @ResponseBody
+    @GetMapping("/data")
+    @PreAuthorize("hasPermission('/bz/player/data','bz:player:data')")
+    public ResultTable list(@ModelAttribute BzPlayer bzPlayer, PageDomain pageDomain) {
+        pageDomainInitialize(pageDomain);
+        PageInfo<BzPlayer> pageInfo = bzPlayerService.selectBzPlayerPage(bzPlayer, pageDomain);
+        return pageTable(pageInfo.getList(), pageInfo.getTotal());
+    }
+
+    /**
+     * 新增生成并管理玩家账号
+     */
+    @GetMapping("/add")
+    @PreAuthorize("hasPermission('/bz/player/add','bz:player:add')")
+    public ModelAndView add() {
+        return jumpPage(prefix + "/add");
+    }
+
+    /**
+     * 新增生成并管理玩家账号
+     */
+    @ResponseBody
+    @PostMapping("/save")
+    @PreAuthorize("hasPermission('/bz/player/add','bz:player:add')")
+    public Result save(@RequestBody BzPlayer bzPlayer) {
+        return decide(bzPlayerService.save(bzPlayer));
+    }
+
+    /**
+     * 修改生成并管理玩家账号
+     */
+    @GetMapping("/edit")
+    @PreAuthorize("hasPermission('/bz/player/edit','bz:player:edit')")
+    public ModelAndView edit(Long id, ModelMap map) {
+        BzPlayer bzPlayer =bzPlayerService.getById(id);
+        map.put("bzPlayer", bzPlayer);
+        return jumpPage(prefix + "/edit");
+    }
+
+    /**
+     * 修改生成并管理玩家账号
+     */
+    @ResponseBody
+    @PutMapping("/update")
+    @PreAuthorize("hasPermission('/bz/player/edit','bz:player:edit')")
+    public Result update(@RequestBody BzPlayer bzPlayer) {
+        return decide(bzPlayerService.updateById(bzPlayer));
+    }
+
+    /**
+     * 删除生成并管理玩家账号
+     */
+    @ResponseBody
+    @DeleteMapping("/batchRemove")
+    @PreAuthorize("hasPermission('/bz/player/remove','bz:player:remove')")
+    public Result batchRemove(String ids) {
+        return decide(bzPlayerService.removeByIds(Arrays.asList(ids.split(","))));
+    }
+
+    /**
+     * 删除生成并管理玩家账号
+     */
+    @ResponseBody
+    @DeleteMapping("/remove/{id}")
+    @PreAuthorize("hasPermission('/bz/player/remove','bz:player:remove')")
+    public Result remove(@PathVariable("id") Long id) {
+        return decide(bzPlayerService.removeById(id));
+    }
+}

+ 40 - 0
src/main/java/com/hy/modules/bz/domain/BzPlayer.java

@@ -0,0 +1,40 @@
+package com.hy.modules.bz.domain;
+
+import java.util.Date;
+import com.baomidou.mybatisplus.annotation.TableId;
+import com.baomidou.mybatisplus.annotation.TableName;
+import com.hy.common.web.base.BaseDomain;
+import lombok.Data;
+
+/**
+ * 生成并管理玩家账号实体
+ *
+ * @author 伍月
+ * @date 2024-05-06
+ */
+@Data
+@TableName("bz_player")
+public class BzPlayer extends BaseDomain {
+
+
+    /** null */
+    @TableId
+    private Long id;
+
+    /** 平台 */
+    private String platform;
+
+    /** 账号(登录名) */
+    private String cardNo;
+
+    /** 密码 */
+    private String cardPassword;
+
+    /** 最后修改时间 */
+    private Date modifyTime;
+
+    /** 状态 */
+    private String status;
+
+
+}

+ 24 - 0
src/main/java/com/hy/modules/bz/mapper/BzPlayerMapper.java

@@ -0,0 +1,24 @@
+package com.hy.modules.bz.mapper;
+
+import org.apache.ibatis.annotations.Mapper;
+import java.util.List;
+import com.hy.modules.bz.domain.BzPlayer;
+import com.baomidou.mybatisplus.core.mapper.BaseMapper;
+
+/**
+ * 生成并管理玩家账号Mapper接口
+ *
+ * @author 伍月
+ * @date 2024-05-06
+ */
+@Mapper
+public interface BzPlayerMapper extends BaseMapper<BzPlayer> {
+    /**
+     * 查询生成并管理玩家账号列表
+     *
+     * @param bzPlayer 生成并管理玩家账号
+     * @return 生成并管理玩家账号集合
+     */
+    List<BzPlayer> selectBzPlayerList(BzPlayer bzPlayer);
+
+}

+ 26 - 0
src/main/java/com/hy/modules/bz/mapper/xml/BzPlayerMapper.xml

@@ -0,0 +1,26 @@
+<?xml version="1.0" encoding="UTF-8" ?>
+<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd">
+<mapper namespace="com.hy.modules.bz.mapper.BzPlayerMapper">
+
+    <resultMap type="BzPlayer" id="BzPlayerResult">
+        <result property="id" column="id"/>
+        <result property="platform" column="platform"/>
+        <result property="cardNo" column="card_no"/>
+        <result property="cardPassword" column="card_password"/>
+        <result property="createTime" column="create_time"/>
+        <result property="modifyTime" column="modify_time"/>
+        <result property="status" column="status"/>
+    </resultMap>
+
+    <select id="selectBzPlayerList" parameterType="BzPlayer" resultMap="BzPlayerResult">
+        select `id`,`platform`,`card_no`,`card_password`,`create_time`,`modify_time`,`status` from `bz_player`
+        <where>
+             <if test="platform != null  and platform != ''"> and `platform` = #{platform}</if>
+             <if test="cardNo != null  and cardNo != ''"> and `card_no` = #{cardNo}</if>
+             <if test="createTime != null "> and `create_time` = #{createTime}</if>
+             <if test="modifyTime != null "> and `modify_time` = #{modifyTime}</if>
+             <if test="status != null  and status != ''"> and `status` = #{status}</if>
+        </where>
+    </select>
+
+</mapper>

+ 24 - 0
src/main/java/com/hy/modules/bz/service/IBzPlayerService.java

@@ -0,0 +1,24 @@
+package com.hy.modules.bz.service;
+
+import com.github.pagehelper.PageInfo;
+import com.hy.common.web.domain.request.PageDomain;
+import com.hy.modules.bz.domain.BzPlayer;
+import com.baomidou.mybatisplus.extension.service.IService;
+
+/**
+ * 生成并管理玩家账号Service接口
+ *
+ * @author 伍月
+ * @date 2024-05-06
+ */
+public interface IBzPlayerService extends IService<BzPlayer> {
+
+    /**
+     * 查询生成并管理玩家账号
+     * @param bzPlayer 生成并管理玩家账号
+     * @param pageDomain
+     * @return 生成并管理玩家账号 分页集合
+     * */
+    PageInfo<BzPlayer> selectBzPlayerPage(BzPlayer bzPlayer, PageDomain pageDomain);
+
+}

+ 37 - 0
src/main/java/com/hy/modules/bz/service/impl/BzPlayerServiceImpl.java

@@ -0,0 +1,37 @@
+package com.hy.modules.bz.service.impl;
+
+import java.util.List;
+
+import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
+import com.github.pagehelper.PageHelper;
+import com.github.pagehelper.PageInfo;
+import com.hy.common.web.domain.request.PageDomain;
+import org.springframework.stereotype.Service;
+import com.hy.modules.bz.mapper.BzPlayerMapper;
+import com.hy.modules.bz.domain.BzPlayer;
+import com.hy.modules.bz.service.IBzPlayerService;
+
+/**
+ * 生成并管理玩家账号Service业务层处理
+ *
+ * @author 伍月
+ * @date 2024-05-06
+ */
+@Service
+public class BzPlayerServiceImpl extends ServiceImpl<BzPlayerMapper,BzPlayer> implements IBzPlayerService {
+
+
+    /**
+     * 查询生成并管理玩家账号
+     * @param bzPlayer 生成并管理玩家账号
+     * @param pageDomain
+     * @return 生成并管理玩家账号 分页集合
+     * */
+    @Override
+    public PageInfo<BzPlayer> selectBzPlayerPage(BzPlayer bzPlayer, PageDomain pageDomain) {
+        PageHelper.startPage(pageDomain.getPage(), pageDomain.getLimit());
+        List<BzPlayer> data = baseMapper.selectBzPlayerList(bzPlayer);
+        return new PageInfo<>(data);
+    }
+
+}

+ 6 - 1
src/main/java/com/hy/modules/gen/service/impl/GenTableServiceImpl.java

@@ -260,9 +260,14 @@ public class GenTableServiceImpl implements IGenTableService {
                 StringWriter sw = new StringWriter();
                 Template tpl = Velocity.getTemplate(template, SystemConstant.UTF8);
                 tpl.merge(context, sw);
-                System.out.println("生成的sql:--------\n" + sw);
+                // System.out.println("生成的sql:--------\n" + sw);
             }
         }
+
+        // 生成以后需要添加目录和权限
+        // sys_power
+        // sys_role
+        //
     }
 
     /**

+ 1 - 1
src/main/resources/static/pear.config.json

@@ -1,6 +1,6 @@
 {
   "logo": {
-    "title": "Pear Admin",
+    "title": "Hy Admin",
     "image": "admin/images/logo.png"
   },
   "menu": {

+ 1 - 1
src/main/resources/static/pear.config.yml

@@ -1,7 +1,7 @@
 ## 网站配置
 logo:
   ## 网站名称
-  title: "Pear Admin"
+  title: "Hy Admin"
   ## 网站图标
   image: "admin/images/logo.png"
 ## 菜单配置

+ 111 - 0
src/main/resources/templates/bz/player/add.html

@@ -0,0 +1,111 @@
+<!DOCTYPE html>
+<html lang="zh" xmlns:th="http://www.thymeleaf.org">
+<head>
+    <th:block th:include="include :: header('新增生成并管理玩家账号')"/>
+</head>
+<body>
+<form class="layui-form">
+    <div class="mainBox">
+        <div class="main-container">
+        <div class="layui-form-item">
+             <label class="layui-form-label">平台:</label>
+             <div class="layui-input-block">
+                 <div class="radio-box" radio-dict-code="input" name="platform"></div>
+             </div>
+        </div>
+        <div class="layui-form-item">
+            <label class="layui-form-label">账号:</label>
+            <div class="layui-input-block">
+                <input type="text" name="cardNo" placeholder="请输入账号"
+                    class="layui-input" />
+            </div>
+        </div>
+        <div class="layui-form-item">
+            <label class="layui-form-label">密码:</label>
+            <div class="layui-input-block">
+                <input type="text" name="cardPassword" placeholder="请输入密码"
+                    class="layui-input" />
+            </div>
+        </div>
+        <div class="layui-form-item">
+            <label class="layui-form-label">最后修改时间:</label>
+            <div class="layui-input-block">
+                <div class="input-group date">
+                    <input type="text" name="modifyTime" class="layui-input"
+                        id="modifyTime" >
+                </div>
+            </div>
+        </div>
+        <div class="layui-form-item">
+             <label class="layui-form-label">状态:</label>
+             <div class="layui-input-block">
+                 <div class="radio-box" radio-dict-code="input" name="status"></div>
+             </div>
+        </div>
+        </div>
+    </div>
+    <div class="bottom">
+        <div class="button-container">
+            <button type="submit" class="pear-btn pear-btn-primary pear-btn-sm" lay-submit="" lay-filter="player-save">
+                <i class="layui-icon layui-icon-ok"></i>
+                提交
+            </button>
+            <button type="reset" class="pear-btn pear-btn-sm">
+                <i class="layui-icon layui-icon-refresh"></i>
+                重置
+            </button>
+        </div>
+    </div>
+</form>
+</body>
+<th:block th:include="include :: footer"/>
+<script th:inline="javascript">
+
+    layui.use(['form', 'jquery', 'laydate', 'dictionary'], function () {
+        let form = layui.form;
+        let $ = layui.jquery;
+        let laydate = layui.laydate;
+
+        let prefix = "/bz/player/"
+
+        laydate.render({
+            elem: '#modifyTime'
+        });
+
+        form.on('submit(player-save)', function (data) {
+            for (var key in data.field) {
+                var type = $(data.form).find("input[name='" + key + "']").attr("type");
+                if (type == "checkbox") {
+                    var value = "";
+                    $(data.form).find("input[name='" + key + "']:checked").each(function () {
+                        value += $(this).val() + ",";
+                    })
+                    if (value != "") {
+                        value = value.substr(0, value.length - 1);
+                        data.field[key] = value;
+                    }
+
+                }
+            }
+            $.ajax({
+                url: prefix + 'save',
+                data: JSON.stringify(data.field),
+                dataType: 'json',
+                contentType: 'application/json',
+                type: 'post',
+                success: function (result) {
+                    if (result.success) {
+                        layer.msg(result.msg, {icon: 1, time: 1000}, function () {
+                            parent.layer.close(parent.layer.getFrameIndex(window.name));
+                            parent.layui.table.reload("player-table");
+                        });
+                    } else {
+                        layer.msg(result.msg, {icon: 2, time: 1000});
+                    }
+                }
+            })
+            return false;
+        });
+    });
+</script>
+</html>

+ 104 - 0
src/main/resources/templates/bz/player/edit.html

@@ -0,0 +1,104 @@
+<!DOCTYPE html>
+<html lang="zh" xmlns:th="http://www.thymeleaf.org">
+<head>
+    <th:block th:include="include :: header('修改生成并管理玩家账号')"/>
+</head>
+<body>
+<form class="layui-form" th:object="${bzPlayer}">
+    <div class="mainBox">
+        <div class="main-container">
+            <input name="id" th:field="*{id}" type="hidden">
+            <div class="layui-form-item">
+                <label class="layui-form-label">平台:</label>
+                <div class="layui-input-block">
+                    <div class="radio-box" radio-dict-code="input"
+                        th:attr="default-value=*{platform}" name="platform">
+                    </div>
+                </div>
+           </div>
+            <div class="layui-form-item">
+                <label class="layui-form-label">账号:</label>
+                <div class="layui-input-block">
+                    <input type="text" name="cardNo" th:field="*{cardNo}"
+                        placeholder="请输入账号" class="layui-input" />
+                </div>
+            </div>
+            <div class="layui-form-item">
+                <label class="layui-form-label">密码:</label>
+                <div class="layui-input-block">
+                    <input type="text" name="cardPassword" th:field="*{cardPassword}"
+                        placeholder="请输入密码" class="layui-input" />
+                </div>
+            </div>
+            <div class="layui-form-item">
+                <label class="layui-form-label">状态:</label>
+                <div class="layui-input-block">
+                    <div class="radio-box" radio-dict-code="input"
+                        th:attr="default-value=*{status}" name="status">
+                    </div>
+                </div>
+           </div>
+        </div>
+    </div>
+    <div class="bottom">
+        <div class="button-container">
+            <button type="submit" class="pear-btn pear-btn-primary pear-btn-sm" lay-submit=""
+                    lay-filter="player-update">
+                <i class="layui-icon layui-icon-ok"></i>
+                提交
+            </button>
+            <button type="reset" class="pear-btn pear-btn-sm">
+                <i class="layui-icon layui-icon-refresh"></i>
+                重置
+            </button>
+        </div>
+    </div>
+</form>
+</body>
+<th:block th:include="include :: footer"/>
+<script th:inline="javascript">
+    layui.use(['form', 'jquery', 'laydate', 'dictionary'], function () {
+        let form = layui.form;
+        let $ = layui.jquery;
+        let laydate = layui.laydate;
+
+        let prefix = "/bz/player/";
+
+
+        form.on('submit(player-update)', function (data) {
+            for (var key in data.field) {
+                var type = $(data.form).find("input[name='" + key + "']").attr("type");
+                if (type == "checkbox") {
+                    var value = "";
+                    $(data.form).find("input[name='" + key + "']:checked").each(function () {
+                        value += $(this).val() + ",";
+                    })
+                    if (value != "") {
+                        value = value.substr(0, value.length - 1);
+                        data.field[key] = value;
+                    }
+
+                }
+            }
+            $.ajax({
+                url: prefix + 'update',
+                data: JSON.stringify(data.field),
+                dataType: 'json',
+                contentType: 'application/json',
+                type: 'put',
+                success: function (result) {
+                    if (result.success) {
+                        layer.msg(result.msg, {icon: 1, time: 1000}, function () {
+                            parent.layer.close(parent.layer.getFrameIndex(window.name));
+                            parent.layui.table.reload("player-table");
+                        });
+                    } else {
+                        layer.msg(result.msg, {icon: 2, time: 1000});
+                    }
+                }
+            })
+            return false;
+        });
+    });
+</script>
+</html>

+ 234 - 0
src/main/resources/templates/bz/player/main.html

@@ -0,0 +1,234 @@
+<!DOCTYPE html>
+<html lang="en" xmlns:th="http://www.thymeleaf.org" xmlns:sec="http://www.thymeleaf.org/extras/spring-security">
+<head>
+    <th:block th:include="include :: header('生成并管理玩家账号列表')"/>
+</head>
+<body class="pear-container">
+<div class="layui-card">
+    <div class="layui-card-body">
+        <div class="col-sm-12 search-collapse">
+            <form id="formId" class="layui-form">
+                <div class="layui-form-item">
+                    <label class="layui-form-label">平台:</label>
+                    <div class="layui-input-inline">
+                        <select name="platform" dict-code="input" >
+                            <option value="">所有</option>
+                        </select>
+                    </div>
+                    <label class="layui-form-label">账号(登录名):</label>
+                    <div class="layui-input-inline">
+                        <input type="text" name="cardNo" placeholder="请输入账号(登录名)"
+                            class="layui-input" />
+                    </div>
+                    <label class="layui-form-label">状态:</label>
+                    <div class="layui-input-inline">
+                        <select name="status" dict-code="input" >
+                            <option value="">所有</option>
+                        </select>
+                    </div>
+                    <button class="pear-btn pear-btn-md pear-btn-primary" lay-submit lay-filter="player-query">
+                        <i class="layui-icon layui-icon-search"></i>
+                        查询
+                    </button>
+                    <button type="reset" class="pear-btn pear-btn-md">
+                        <i class="layui-icon layui-icon-refresh"></i>
+                        重置
+                    </button>
+                </div>
+            </form>
+        </div>
+    </div>
+</div>
+<div class="layui-card">
+    <div class="layui-card-body">
+        <table id="player-table" lay-filter="player-table"></table>
+    </div>
+</div>
+
+<script type="text/html" id="player-toolbar">
+    <button sec:authorize="hasPermission('/bz/player/add','bz:player:add')"
+            class="pear-btn pear-btn-primary pear-btn-md" lay-event="add">
+        <i class="layui-icon layui-icon-add-1"></i>
+        新增
+    </button>
+    <button sec:authorize="hasPermission('/bz/player/remove','bz:player:remove')"
+            class="pear-btn pear-btn-danger pear-btn-md" lay-event="batchRemove">
+        <i class="layui-icon layui-icon-delete"></i>
+        删除
+    </button>
+</script>
+<script type="text/html" id="player-bar">
+    <button sec:authorize="hasPermission('/bz/player/edit','bz:player:edit')"
+            class="pear-btn pear-btn-primary pear-btn-sm" lay-event="edit"><i
+            class="layui-icon layui-icon-edit"></i>
+    </button>
+    <button sec:authorize="hasPermission('/bz/player/remove','bz:player:remove')"
+            class="pear-btn pear-btn-danger pear-btn-sm" lay-event="remove"><i
+            class="layui-icon layui-icon-delete"></i>
+    </button>
+</script>
+</body>
+<th:block th:include="include :: footer"/>
+<script>
+    layui.use(['table', 'form', 'jquery', 'dictionary', 'popup'], function () {
+        let table = layui.table;
+        let form = layui.form;
+        let $ = layui.jquery;
+        let popup = layui.popup;
+
+        let prefix = "/bz/player/";
+
+        let cols = [
+            [
+                {type: 'checkbox'},
+                {
+                    field: 'id',
+                    title: 'null'
+                },
+                {
+                    field: 'platform',
+                    title: '平台', align: 'center', width: 100
+                },
+                {
+                    field: 'cardNo',
+                    title: '账号(登录名)', align: 'center', width: 200
+                },
+                {
+                    field: 'cardPassword',
+                    title: '密码', align: 'center', width: 150
+                },
+                {
+                    field: 'createTime',
+                    title: '创建时间', align: 'center', width: 200
+                },
+                {
+                    field: 'modifyTime',
+                    title: '最后修改时间', align: 'center', width: 200
+                },
+                {
+                    field: 'status',
+                    title: '状态', align: 'center', width: 80
+                },
+                {title: '操作', toolbar: '#player-bar', align: 'center', width: 150}
+            ]
+        ]
+
+        table.render({
+            elem: '#player-table',
+            url: prefix + 'data',
+            page: true,
+            cols: cols,
+            skin: 'line',
+            height: 'full-148',
+            toolbar: '#player-toolbar',
+            defaultToolbar: [{
+                title: '刷新',
+                layEvent: 'refresh',
+                icon: 'layui-icon-refresh',
+            }, 'filter', 'print', 'exports']
+        });
+
+        table.on('tool(player-table)', function (obj) {
+            if (obj.event === 'remove') {
+                window.remove(obj);
+            } else if (obj.event === 'edit') {
+                window.edit(obj);
+            }
+        });
+
+        table.on('toolbar(player-table)', function (obj) {
+            if (obj.event === 'add') {
+                window.add();
+            } else if (obj.event === 'refresh') {
+                window.refresh();
+            } else if (obj.event === 'batchRemove') {
+                window.batchRemove(obj);
+            }
+        });
+
+        form.on('submit(player-query)', function (data) {
+            table.reload('player-table', {where: data.field})
+            return false;
+        });
+
+        window.add = function () {
+            layer.open({
+                type: 2,
+                title: '新增生成并管理玩家账号',
+                shade: 0.1,
+                area: ['550px', '500px'],
+                content: prefix + 'add'
+            });
+        }
+
+        window.edit = function (obj) {
+            layer.open({
+                type: 2,
+                title: '修改生成并管理玩家账号',
+                shade: 0.1,
+                area: ['550px', '500px'],
+                content: prefix + 'edit?id=' + obj.data['id']
+            });
+        }
+
+        window.remove = function (obj) {
+            layer.confirm('确定要删除该生成并管理玩家账号', {icon: 3, title: '提示'}, function (index) {
+                layer.close(index);
+                let loading = layer.load();
+                $.ajax({
+                    url: prefix + "remove/" + obj.data['id'],
+                    dataType: 'json',
+                    type: 'delete',
+                    success: function (result) {
+                        layer.close(loading);
+                        if (result.success) {
+                            layer.msg(result.msg, {icon: 1, time: 1000}, function () {
+                                obj.del();
+                            });
+                        } else {
+                            layer.msg(result.msg, {icon: 2, time: 1000});
+                        }
+                    }
+                })
+            });
+        }
+
+        window.batchRemove = function (obj) {
+            let data = table.checkStatus(obj.config.id).data;
+            if (data.length === 0) {
+                layer.msg("未选中数据", {icon: 3, time: 1000});
+                return false;
+            }
+            let ids = "";
+            for (let i = 0; i < data.length; i++) {
+                ids += data[i].id + ",";
+            }
+            ids = ids.substr(0, ids.length - 1);
+            layer.confirm('确定要删除这些生成并管理玩家账号', {icon: 3, title: '提示'}, function (index) {
+                layer.close(index);
+                let loading = layer.load();
+                $.ajax({
+                    url: prefix + "batchRemove",
+                    dataType: 'json',
+                    data: {"ids": ids},
+                    type: 'delete',
+                    success: function (result) {
+                        layer.close(loading);
+                        if (result.success) {
+                            layer.msg(result.msg, {icon: 1, time: 1000}, function () {
+                                table.reload('player-table');
+                            });
+                        } else {
+                            layer.msg(result.msg, {icon: 2, time: 1000});
+                        }
+                    }
+                })
+            });
+        }
+
+        window.refresh = function (param) {
+            table.reload('player-table', {where: param});
+        }
+    })
+</script>
+</html>

+ 284 - 275
src/main/resources/templates/console/console.html

@@ -6,283 +6,292 @@
 </head>
 <body class="pear-container">
 <div>
-    <div class="layui-row layui-col-space10">
-        <div class="layui-col-xs6 layui-col-md3">
-            <div class="layui-card top-panel">
-                <div class="layui-card-header">今日访问</div>
-                <div class="layui-card-body">
-                    <div class="layui-row layui-col-space5">
-                        <div class="layui-col-xs8 layui-col-md8 top-panel-number" id="value1" style="color: #28333E;">
-                            0
-                        </div>
-                        <div class="layui-col-xs4 layui-col-md4 top-panel-tips">
-                            <svg class="icon" height="200" p-id="942" t="1591462258798"
-                                 version="1.1" viewBox="0 0 1024 1024"
-                                 width="200" xmlns="http://www.w3.org/2000/svg">
-                                <path d="M 262.7 835 c -15.3 0 -28.1 -11.4 -29.8 -26.6 L 174.1 291 c -0.6 -5.1 1 -10.2 4.5 -14 s 8.3 -6 13.4 -6 h 640 c 5.1 0 10 2.2 13.4 6 s 5 8.9 4.5 14 l -58.8 517.4 c -1.7 15.2 -14.5 26.6 -29.8 26.6 H 262.7 Z"
-                                      fill="#fcc66f"
-                                      p-id="943"/>
-                                <path d="M 802 289 l -58.8 517.4 c -0.7 6.1 -5.8 10.6 -11.9 10.6 h 30 c 6.1 0 11.2 -4.6 11.9 -10.6 L 832 289 h -30 Z"
-                                      fill="#ffd79c"
-                                      p-id="944"/>
-                                <path d="M 164 307 c -16.5 0 -30 -13.5 -30 -30 v -58 c 0 -16.5 13.5 -30 30 -30 h 696 c 16.5 0 30 13.5 30 30 v 58 c 0 16.5 -13.5 30 -30 30 H 164 Z"
-                                      fill="#f56e73"
-                                      p-id="945"/>
-                                <path d="M 860 207 h -30 c 6.6 0 12 5.4 12 12 v 58 c 0 6.6 -5.4 12 -12 12 h 30 c 6.6 0 12 -5.4 12 -12 v -58 c 0 -6.6 -5.4 -12 -12 -12 Z"
-                                      fill="#ffa1a8"
-                                      p-id="946"/>
-                                <path d="M 190.9 651.5 c -31.4 0 -56.9 -25.5 -56.9 -56.9 V 219 c 0 -16.5 13.5 -30 30 -30 h 466.2 c 9.9 0 18 8.1 18 18 v 301.1 c 0 34.7 -28.2 62.9 -62.9 62.9 s -62.9 -28.2 -62.9 -62.9 V 393.5 c 0 -23.2 -18.8 -42 -42 -42 s -42 18.8 -42 42 v 68.1 c 0 29.4 -23.9 53.4 -53.4 53.4 s -53.4 -23.9 -53.4 -53.4 v -68.1 c 0 -23.2 -18.8 -42 -42 -42 s -42 18.8 -42 42 v 201.1 c 0.1 31.4 -25.4 56.9 -56.7 56.9 Z"
-                                      fill="#65c8ff"
-                                      p-id="947"/>
-                                <path d="M 277.8 321.5 c -33.1 0 -60 26.9 -60 60 v 201.1 c 0 21.5 -17.4 38.9 -38.9 38.9 c -7.7 0 -14.8 -2.2 -20.8 -6.1 c 6.9 10.9 19 18.1 32.8 18.1 c 21.5 0 38.9 -17.4 38.9 -38.9 V 393.5 c 0 -33.1 26.9 -60 60 -60 c 13.5 0 25.9 4.5 36 12 c -11 -14.5 -28.4 -24 -48 -24 Z M 618.3 207 v 289.1 c 0 24.8 -20.1 44.9 -44.9 44.9 c -9.3 0 -18 -2.8 -25.2 -7.7 c 8.1 11.9 21.7 19.7 37.2 19.7 c 24.8 0 44.9 -20.1 44.9 -44.9 V 207 h -12 Z M 468.5 321.5 c -33.1 0 -60 26.9 -60 60 v 68.1 c 0 19.5 -15.8 35.4 -35.4 35.4 c -6.7 0 -12.9 -1.9 -18.3 -5.1 c 6.2 10.2 17.4 17.1 30.3 17.1 c 19.5 0 35.4 -15.8 35.4 -35.4 v -68.1 c 0 -33.1 26.9 -60 60 -60 c 13.5 0 25.9 4.5 36 12 c -11 -14.5 -28.4 -24 -48 -24 Z"
-                                      fill="#b3eaff"
-                                      p-id="948"/>
-                                <path d="M 698 729.4 m -18 0 a 18 18 0 1 0 36 0 a 18 18 0 1 0 -36 0 Z" fill="#453b56"
-                                      p-id="949"/>
-                                <path d="M 860 171 H 632.5 v 0.1 c -0.7 0 -1.5 -0.1 -2.2 -0.1 H 164 c -26.5 0 -48 21.5 -48 48 v 375.6 c 0 41.3 33.6 74.9 74.9 74.9 c 2.7 0 5.4 -0.2 8.1 -0.5 l 16 141.4 c 2.8 24.3 23.3 42.6 47.7 42.6 h 498.6 c 24.4 0 44.9 -18.3 47.7 -42.6 l 55.2 -485.6 c 24.5 -2.1 43.8 -22.7 43.8 -47.8 v -58 c 0 -26.5 -21.5 -48 -48 -48 Z M 190.9 633.5 c -21.5 0 -38.9 -17.4 -38.9 -38.9 V 219 c 0 -6.6 5.4 -12 12 -12 h 466.3 v 301.1 c 0 24.8 -20.1 44.9 -44.9 44.9 c -24.8 0 -44.9 -20.1 -44.9 -44.9 V 393.5 c 0 -33.1 -26.9 -60 -60 -60 s -60 26.9 -60 60 v 68.1 c 0 19.5 -15.8 35.4 -35.4 35.4 c -19.5 0 -35.4 -15.8 -35.4 -35.4 v -68.1 c 0 -33.1 -26.9 -60 -60 -60 s -60 26.9 -60 60 v 201.1 c 0.1 21.5 -17.4 38.9 -38.8 38.9 Z m 582.3 172.9 c -0.7 6.1 -5.8 10.6 -11.9 10.6 H 262.7 c -6.1 0 -11.2 -4.6 -11.9 -10.6 l -6.7 -59 h 396.6 c 9.9 0 18 -8.1 18 -18 s -8.1 -18 -18 -18 H 240 l -6.3 -55.4 c 19.3 -13.6 32.1 -36 32.1 -61.3 V 393.5 c 0 -13.2 10.8 -24 24 -24 s 24 10.8 24 24 v 68.1 c 0 39.4 32 71.4 71.4 71.4 s 71.4 -32 71.4 -71.4 v -68.1 c 0 -13.2 10.8 -24 24 -24 s 24 10.8 24 24 v 114.6 c 0 44.6 36.3 80.9 80.9 80.9 c 44.6 0 80.9 -36.3 80.9 -80.9 V 325 h 161.7 l -54.9 481.4 Z M 872 277 c 0 6.6 -5.4 12 -12 12 H 666.3 v -82 H 860 c 6.6 0 12 5.4 12 12 v 58 Z"
-                                      fill="#453b56"
-                                      p-id="950"/>
-                            </svg>
-                        </div>
-                    </div>
-                </div>
-            </div>
-        </div>
-        <div class="layui-col-xs6 layui-col-md3">
-            <div class="layui-card top-panel">
-                <div class="layui-card-header">本周访问</div>
-                <div class="layui-card-body">
-                    <div class="layui-row layui-col-space5">
-                        <div class="layui-col-xs8 layui-col-md8 top-panel-number" id="value2" style="color: #28333E;">
-                            0
-                        </div>
-                        <div class="layui-col-xs4 layui-col-md4 top-panel-tips">
-                            <svg class="icon" height="200" p-id="3170" t="1591462430908"
-                                 version="1.1"
-                                 viewBox="0 0 1024 1024" width="200" xmlns="http://www.w3.org/2000/svg">
-                                <path d="M532 784.2c0 24.4-19.8 44.3-44.3 44.3s-44.3-19.8-44.3-44.3c0-24.4 44.3-80.3 44.3-80.3s44.3 55.8 44.3 80.3zM766 784.2c0 24.4 19.8 44.3 44.3 44.3 24.4 0 44.3-19.8 44.3-44.3 0-24.4-44.3-80.3-44.3-80.3S766 759.7 766 784.2z"
-                                      fill="#97DCFF" p-id="3171"></path>
-                                <path d="M123.5 471.3c-9.9 0-18-8.1-18-18v-302c0-9.9 8.1-18 18-18h58c9.9 0 18 8.1 18 18v302c0 9.9-8.1 18-18 18h-58z"
-                                      fill="#FCC66F" p-id="3172"></path>
-                                <path d="M181.5 151.3v302h-58v-302h58m0-36h-58c-19.9 0-36 16.1-36 36v302c0 19.9 16.1 36 36 36h58c19.9 0 36-16.1 36-36v-302c0-19.8-16.1-36-36-36z"
-                                      fill="#453B56" p-id="3173"></path>
-                                <path d="M266.4 210.7m-18 0a18 18 0 1 0 36 0 18 18 0 1 0-36 0Z" fill="#453B56"
-                                      p-id="3174"></path>
-                                <path d="M430.8 641.1c-9.9 0-18-8.1-18-18v-21.6c0-130.3 106-236.3 236.3-236.3s236.3 106 236.3 236.3v21.6c0 9.9-8.1 18-18 18H430.8z"
-                                      fill="#FCC66F" p-id="3175"></path>
-                                <path d="M649 383.2c-5 0-10 0.2-15 0.6 113.5 7.7 203.3 102.2 203.3 217.7v21.6h30v-21.6c0-120.6-97.7-218.3-218.3-218.3z"
-                                      fill="#FFD79C" p-id="3176"></path>
-                                <path d="M419.6 694.4c-22.1 0-40.1-18-40.1-40.1s18-40.1 40.1-40.1h458.8c22.1 0 40.1 18 40.1 40.1s-18 40.1-40.1 40.1H419.6z"
-                                      fill="#F56E73" p-id="3177"></path>
-                                <path d="M878.4 632.3h-30c12.2 0 22.1 9.9 22.1 22.1s-9.9 22.1-22.1 22.1h30c12.2 0 22.1-9.9 22.1-22.1s-9.9-22.1-22.1-22.1z"
-                                      fill="#FFA1A8" p-id="3178"></path>
-                                <path d="M693.3 846.4c0 24.4-19.8 44.3-44.3 44.3-24.4 0-44.3-19.8-44.3-44.3s44.3-80.3 44.3-80.3 44.3 55.9 44.3 80.3z"
-                                      fill="#97DCFF" p-id="3179"></path>
-                                <path d="M649 908.7c-34.3 0-62.3-27.9-62.3-62.3 0-28.5 36.9-77.2 48.1-91.4 3.4-4.3 8.6-6.8 14.1-6.8s10.7 2.5 14.1 6.8c11.3 14.2 48.1 62.9 48.1 91.4 0.2 34.3-27.8 62.3-62.1 62.3z m0-112.3c-14.1 20.4-26.3 41.9-26.3 50 0 14.5 11.8 26.3 26.3 26.3s26.3-11.8 26.3-26.3c0-8.1-12.1-29.6-26.3-50z"
-                                      fill="#453B56" p-id="3180"></path>
-                                <path d="M903.3 601.9v-0.5c0-134.1-104.4-244.3-236.3-253.6v-30.7c0-68.7-55.9-124.6-124.6-124.6H326.5c-9.9 0-18 8.1-18 18s8.1 18 18 18h215.9c48.8 0 88.6 39.7 88.6 88.6v30.7c-131.8 9.3-236.3 119.4-236.3 253.6v0.5c-19.6 9.3-33.2 29.3-33.2 52.4 0 32 26 58.1 58.1 58.1H459c-14.8 21-33.5 51.5-33.5 71.8 0 34.3 27.9 62.3 62.3 62.3 34.3 0 62.2-27.9 62.2-62.3 0-20.3-18.6-50.7-33.5-71.8h264.9c-14.8 21-33.5 51.5-33.5 71.8 0 34.3 27.9 62.3 62.3 62.3 34.3 0 62.3-27.9 62.3-62.3 0-20.3-18.6-50.7-33.5-71.8h39.4c32 0 58.1-26 58.1-58.1 0-23.1-13.6-43-33.2-52.4zM487.8 810.4c-14.5 0-26.3-11.8-26.3-26.3 0-8.1 12.1-29.6 26.3-50 14.1 20.4 26.2 41.9 26.2 50 0 14.5-11.8 26.3-26.2 26.3z m322.5 0c-14.5 0-26.3-11.8-26.3-26.3 0-8.1 12.1-29.6 26.3-50 14.1 20.4 26.3 41.9 26.3 50-0.1 14.5-11.9 26.3-26.3 26.3zM649 383.2c118.8 0 215.4 94.9 218.1 213.1H430.9c2.8-118.1 99.3-213.1 218.1-213.1z m251.5 271.1c0 12.2-9.9 22.1-22.1 22.1H419.6c-12.2 0-22.1-9.9-22.1-22.1 0-12.2 9.9-22.1 22.1-22.1h458.8c12.2 0.1 22.1 10 22.1 22.1z"
-                                      fill="#453B56" p-id="3181"></path>
-                            </svg>
-                        </div>
-                    </div>
-                </div>
-            </div>
-        </div>
-        <div class="layui-col-xs6 layui-col-md3">
-            <div class="layui-card top-panel">
-                <div class="layui-card-header">本月访问</div>
-                <div class="layui-card-body">
-                    <div class="layui-row layui-col-space5">
-                        <div class="layui-col-xs8 layui-col-md8 top-panel-number" id="value3" style="color: #28333E;">
-                            0
-                        </div>
-                        <div class="layui-col-xs4 layui-col-md4  top-panel-tips">
-                            <svg class="icon" height="200" p-id="3311" t="1591462464512"
-                                 version="1.1"
-                                 viewBox="0 0 1024 1024" width="200" xmlns="http://www.w3.org/2000/svg">
-                                <path d="M750.4 216.5h-130v-15.3c0-32.9-26.8-59.7-59.7-59.7h-97.3c-32.9 0-59.7 26.8-59.7 59.7v15.3h-130c-30.7 0-55.6 25-55.6 55.6v72.4c0 9.9 8.1 18 18 18h31.5v478c0 23.2 18.8 42 42 42h405c23.2 0 42-18.8 42-42v-478H788c9.9 0 18-8.1 18-18v-72.4c0-30.6-25-55.6-55.6-55.6z"
-                                      fill="#FCC66F" p-id="3312"></path>
-                                <path d="M708.5 344.5v496c0 13.3-10.7 24-24 24h30c13.3 0 24-10.7 24-24v-496h-30z"
-                                      fill="#FFD79C" p-id="3313"></path>
-                                <path d="M309.5 882.5c-23.2 0-42-18.8-42-42V596c0-9.9 8.1-18 18-18h36.8c30.2 0 54.8 24.6 54.8 54.8v231.7c0 9.9-8.1 18-18 18h-49.6zM664.9 882.5c-9.9 0-18-8.1-18-18V632.8c0-30.2 24.6-54.8 54.8-54.8h36.8c9.9 0 18 8.1 18 18v244.5c0 23.2-18.8 42-42 42h-49.6z"
-                                      fill="#F56E73" p-id="3314"></path>
-                                <path d="M708.5 596v244.5c0 13.3-10.7 24-24 24h30c13.3 0 24-10.7 24-24V596h-30z"
-                                      fill="#FFA1A8" p-id="3315"></path>
-                                <path d="M475.2 882.5c-9.9 0-18-8.1-18-18V632.8c0-30.2 24.6-54.8 54.8-54.8 30.2 0 54.8 24.6 54.8 54.8v231.7c0 9.9-8.1 18-18 18h-73.6z"
-                                      fill="#F56E73" p-id="3316"></path>
-                                <path d="M560.7 159.5h-18c23 0 41.7 18.7 41.7 41.7V221h18v-19.8c-0.1-23-18.7-41.7-41.7-41.7zM750.4 234.5h-30c20.8 0 37.6 16.8 37.6 37.6v72.4h30v-72.4c0-20.8-16.8-37.6-37.6-37.6z"
-                                      fill="#FFD79C" p-id="3317"></path>
-                                <path d="M750.4 198.5H638.2c-1.4-41.6-35.6-75-77.5-75h-97.3c-41.9 0-76.1 33.4-77.5 75H273.6c-40.6 0-73.6 33-73.6 73.6v72.4c0 19.9 16.1 36 36 36h13.5v460c0 33.1 26.9 60 60 60H714.7c33.1 0 60-26.9 60-60v-460H788c19.9 0 36-16.1 36-36v-72.4c0-40.6-33-73.6-73.6-73.6z m-287.1-39h97.3c22.1 0 40.2 17.2 41.5 39H421.8c1.4-21.8 19.4-39 41.5-39z m-104.2 705h-49.6c-13.3 0-24-10.7-24-24V596h36.8c20.3 0 36.8 16.5 36.8 36.8v231.7z m189.7 0h-73.6V632.8c0-20.3 16.5-36.8 36.8-36.8 20.3 0 36.8 16.5 36.8 36.8v231.7z m189.7-24c0 13.3-10.7 24-24 24h-49.6V632.8c0-20.3 16.5-36.8 36.8-36.8h36.8v244.5z m0-280.5h-36.8c-40.1 0-72.8 32.6-72.8 72.8v231.7h-44.2V632.8c0-40.1-32.6-72.8-72.8-72.8-40.1 0-72.8 32.6-72.8 72.8v231.7h-44.2V632.8c0-40.1-32.6-72.8-72.8-72.8h-36.8v-74.5h279c9.9 0 18-8.1 18-18s-8.1-18-18-18h-279v-69h453V560zM788 344.5H236v-72.4c0-20.8 16.8-37.6 37.6-37.6h476.8c20.8 0 37.6 16.8 37.6 37.6v72.4z"
-                                      fill="#453B56" p-id="3318"></path>
-                                <path d="M621.8 467.5m-18 0a18 18 0 1 0 36 0 18 18 0 1 0-36 0Z" fill="#453B56"
-                                      p-id="3319"></path>
-                            </svg>
-                        </div>
-                    </div>
-                </div>
-            </div>
-        </div>
-        <div class="layui-col-xs6 layui-col-md3">
-            <div class="layui-card top-panel">
-                <div class="layui-card-header">季度访问</div>
-                <div class="layui-card-body">
-                    <div class="layui-row layui-col-space5">
-                        <div class="layui-col-xs8 layui-col-md8 top-panel-number" id="value4" style="color: #28333E;">
-                            0
-                        </div>
-                        <div class="layui-col-xs4 layui-col-md4 top-panel-tips">
-                            <svg class="icon" height="200" p-id="3449" t="1591462491887"
-                                 version="1.1"
-                                 viewBox="0 0 1024 1024" width="200" xmlns="http://www.w3.org/2000/svg">
-                                <path d="M363.2 807c-9.9 0-18-8.1-18-18v-75.5c0-9.9 8.1-18 18-18h108.5c9.9 0 18 8.1 18 18V789c0 9.9-8.1 18-18 18H363.2z"
-                                      fill="#F56E73" p-id="3450"></path>
-                                <path d="M441.7 713.5h30V789h-30z" fill="#FFA1A8" p-id="3451"></path>
-                                <path d="M259.6 398c-9.9 0-18-8.1-18-18V178.6c0-23.8 19.3-43.1 43.1-43.1s43.1 19.3 43.1 43.1V380c0 9.9-8.1 18-18 18h-50.2zM525.1 398c-9.9 0-18-8.1-18-18V178.6c0-23.8 19.3-43.1 43.1-43.1s43.1 19.3 43.1 43.1V380c0 9.9-8.1 18-18 18h-50.2z"
-                                      fill="#65C8FF" p-id="3452"></path>
-                                <path d="M550.2 153.5c-3.2 0-6.2 0.7-9 1.7 9.4 3.6 16.1 12.7 16.1 23.4V380h18V178.6c0.1-13.9-11.2-25.1-25.1-25.1z"
-                                      fill="#97DCFF" p-id="3453"></path>
-                                <path d="M686 330.5H149c-9.9 0-18 8.1-18 18v63c0 9.9 8.1 18 18 18h33.2l45 225c8.7 43.4 47.1 75 91.4 75h197.6c44.3 0 82.7-31.5 91.4-75l45-225H686c9.9 0 18-8.1 18-18v-63c0-9.9-8.1-18-18-18z"
-                                      fill="#FCC66F" p-id="3454"></path>
-                                <path d="M608 411.5L560.1 651c-7 35.2-37.9 60.5-73.8 60.5h30c35.9 0 66.7-25.3 73.8-60.5L638 411.5h-30zM656 348.5h30v63h-30z"
-                                      fill="#FFD79C" p-id="3455"></path>
-                                <path d="M474.2 543.5m-18 0a18 18 0 1 0 36 0 18 18 0 1 0-36 0Z" fill="#453B56"
-                                      p-id="3456"></path>
-                                <path d="M416.9 525.5h-125c-9.9 0-18 8.1-18 18s8.1 18 18 18h125c9.9 0 18-8.1 18-18s-8.1-18-18-18zM893 543.5h-33.4c-65.2 0-118.2 53-118.2 118.2v19.6c0 9.9 8.1 18 18 18s18-8.1 18-18v-19.6c0-45.3 36.9-82.2 82.2-82.2H893c9.9 0 18-8.1 18-18s-8-18-18-18zM772.2 744.2c7-7 7-18.4 0-25.5-7-7-18.4-7-25.5 0s-7 18.4 0 25.5 18.4 7.1 25.5 0z"
-                                      fill="#453B56" p-id="3457"></path>
-                                <path d="M759.5 761.6c-9.9 0-18 8.1-18 18v11.6c0 43.7-35.6 79.3-79.3 79.3H487.3c-26.4 0-48.3-19.9-51.4-45.5h35.8c19.9 0 36-16.1 36-36v-41.5h8.6c52.8 0 98.7-37.6 109.1-89.4l42.1-210.6H686c19.9 0 36-16.1 36-36v-63c0-19.9-16.1-36-36-36h-74.6V178.6c0-33.7-27.4-61.1-61.1-61.1s-61.1 27.4-61.1 61.1v133.9H345.9V178.6c0-33.7-27.4-61.1-61.1-61.1s-61.1 27.4-61.1 61.1v133.9H149c-19.9 0-36 16.1-36 36v63c0 19.9 16.1 36 36 36h18.5l42.1 210.6c10.4 51.8 56.2 89.4 109.1 89.4h8.6V789c0 19.9 16.1 36 36 36h36.6c3.3 45.5 41.2 81.5 87.5 81.5h174.8c63.6 0 115.3-51.7 115.3-115.3v-11.6c0-10-8.1-18-18-18z m-234.4-583c0-13.9 11.2-25.1 25.1-25.1s25.1 11.2 25.1 25.1v133.9H525V178.6z m-265.5 0c0-13.9 11.2-25.1 25.1-25.1s25.1 11.2 25.1 25.1v133.9h-50.3V178.6zM149 411.5v-63h537v63H149z m169.7 300c-35.9 0-66.7-25.3-73.8-60.5l-40.7-203.5h426.6L590.1 651c-7 35.2-37.9 60.5-73.8 60.5H318.7z m44.5 77.5v-41.5h108.5V789H363.2z"
-                                      fill="#453B56" p-id="3458"></path>
-                            </svg>
-                        </div>
-                    </div>
-                </div>
-            </div>
+    <div>
+        <p  align="center" style="font-size: 50px;">欢迎来到原子TikTok后台!</p>
+        <div >
+            <p  style="margin-left: 10%; font-size: 30px;">原子弹幕工具使用手册:</p>
+            <p  style="margin-left: 15%; font-size: 20px; color: blue;">
+                <a  href="https://evamru67gf9.feishu.cn/docx/At6hdt68royHXsxNZB5cBfiBnvh?from=from_copylink" target="_blank">&gt;&gt;&gt;点击此处跳转查看!(内附视频教学)</a>
+            </p>
         </div>
     </div>
-    <div class="layui-row layui-col-space10">
-        <div class="layui-col-md9">
-            <div class="layui-card">
-                <div class="layui-card-body">
-                    <div class="layui-tab custom-tab layui-tab-brief" lay-filter="docDemoTabBrief">
-                        <div id="echarts-records" style="background-color:#ffffff;min-height:400px;padding: 10px"></div>
-                    </div>
-                </div>
-            </div>
-            <div class="layui-card">
-                <div class="layui-card-header">动态</div>
-                <div class="layui-card-body">
-                    <dl class="layuiadmin-card-status">
-                        <dd>
-                            <div class="layui-status-img"><a href="javascript:;"><img
-                                    src="https://portrait.gitee.com/uploads/avatars/user/1611/4835367_Jmysy_1578975358.png!avatar200"
-                                    style="width: 32px;height: 32px;border-radius: 50px;"></a>
-                            </div>
-                            <div>
-                                <p>七彩枫叶 在 <a lay-href="https://gitee.com/Jmysy/Pear-Admin-Layui">Pear Admin 专区</a> 回答问题
-                                </p>
-                                <span>几秒前</span>
-                            </div>
-                        </dd>
-                        <dd>
-                            <div class="layui-status-img"><a href="javascript:;"><img
-                                    src="https://portrait.gitee.com/uploads/avatars/user/1611/4835367_Jmysy_1578975358.png!avatar200"
-                                    style="width: 32px;height: 32px;border-radius: 50px;"></a>
-                            </div>
-                            <div>
-                                <p>简 在 <a lay-href="https://gitee.com/Jmysy/Pear-Admin-Layui">Pear Admin 专区</a> 进行了 <a
-                                        lay-href="http://fly.layui.com/vipclub/list/layuiadmin/column/quiz/">提问</a></p>
-                                <span>2天前</span>
-                            </div>
-                        </dd>
-                        <dd>
-                            <div class="layui-status-img"><a href="javascript:;"><img
-                                    src="https://portrait.gitee.com/uploads/avatars/user/1611/4835367_Jmysy_1578975358.png!avatar200"
-                                    style="width: 32px;height: 32px;border-radius: 50px;"></a>
-                            </div>
-                            <div>
-                                <p>恒宇少年 将 <a lay-href="https://gitee.com/Jmysy/Pear-Admin-Layui">Pear Admin </a> 更新至
-                                    2.3.0 版本</p>
-                                <span>7天前</span>
-                            </div>
-                        </dd>
-                        <dd>
-                            <div class="layui-status-img"><a href="javascript:;"><img
-                                    src="https://portrait.gitee.com/uploads/avatars/user/1611/4835367_Jmysy_1578975358.png!avatar200"
-                                    style="width: 32px;height: 32px;border-radius: 50px;"></a>
-                            </div>
-                            <div>
-                                <p>如花 在 <a lay-href="https://gitee.com/Jmysy/Pear-Admin-Layui">Pear Admin 社区</a> 发布了 <a
-                                        lay-href="http://fly.layui.com/column/suggest/">建议</a></p>
-                                <span>7天前</span>
-                            </div>
-                        </dd>
-                        <dd>
-                            <div class="layui-status-img"><a href="javascript:;"><img
-                                    src="https://portrait.gitee.com/uploads/avatars/user/1611/4835367_Jmysy_1578975358.png!avatar200"
-                                    style="width: 32px;height: 32px;border-radius: 50px;"></a>
-                            </div>
-                            <div>
-                                <p>伍 月 在 <a lay-href="https://gitee.com/Jmysy/Pear-Admin-Layui">Pear Admin 社区</a> 发布了
-                                    <a lay-href="http://fly.layui.com/column/suggest/">建议</a></p>
-                                <span>8天前</span>
-                            </div>
-                        </dd>
-                        <dd>
-                            <div class="layui-status-img"><a href="javascript:;"><img
-                                    src="https://portrait.gitee.com/uploads/avatars/user/1611/4835367_Jmysy_1578975358.png!avatar200"
-                                    style="width: 32px;height: 32px;border-radius: 50px;"></a>
-                            </div>
-                            <div>
-                                <p>贤心 在 <a lay-href="https://gitee.com/Jmysy/Pear-Admin-Layui">Pear Admin 专区</a> 进行了 <a
-                                        lay-href="http://fly.layui.com/vipclub/list/layuiadmin/column/quiz/">提问</a></p>
-                                <span>8天前</span>
-                            </div>
-                        </dd>
-                    </dl>
-                </div>
-            </div>
-        </div>
-        <div class="layui-col-md3">
-            <div class="layui-card">
-                <div class="layui-card-header">系统公告</div>
-                <div class="layui-card-body">
-                    <ul class="list">
-                        <li class="list-item"><span class="title">优化代码格式</span><span
-                                class="footer">2020-06-04 11:28</span></li>
-                        <li class="list-item"><span class="title">新增消息组件</span><span
-                                class="footer">2020-06-01 04:23</span></li>
-                        <li class="list-item"><span class="title">移动端兼容</span><span
-                                class="footer">2020-05-22 21:38</span></li>
-                        <li class="list-item"><span class="title">系统布局优化</span><span
-                                class="footer">2020-05-15 14:26</span></li>
-                        <li class="list-item"><span class="title">兼容多系统菜单模式</span><span
-                                class="footer">2020-05-13 16:32</span></li>
-                        <li class="list-item"><span class="title">兼容多标签页切换</span><span
-                                class="footer">2019-12-9 14:58</span></li>
-                        <li class="list-item"><span class="title">扩展下拉组件</span><span
-                                class="footer">2019-12-7 9:06</span></li>
-                        <li class="list-item"><span class="title">扩展卡片样式</span><span
-                                class="footer">2019-12-1 10:26</span></li>
-                    </ul>
-                </div>
-            </div>
-            <div class="layui-card">
-                <div class="layui-card-header">
-                    链接
-                </div>
-                <div class="layui-card-body">
-                    <a class="pear-btn pear-btn-success layui-btn-fluid" href="http://www.pearadmin.com" style="height: 50px;line-height: 50px;"
-                       target="_blank">官 网</a>
-                    <br/>
-                    <a class="pear-btn pear-btn-primary  layui-btn-fluid" href="http://www.pearadmin.com/doc/"
-                       style="margin-top: 8px;height: 50px;line-height: 50px;"
-                       target="_blank">文 档</a>
-                    <br/>
-                    <a class="pear-btn pear-btn-warming  layui-btn-fluid" href="https://gitee.com/pear-admin/Pear-Admin-Boot"
-                       style="margin-top: 8px;height: 50px;line-height: 50px;"
-                       target="_blank">下 载</a>
-                </div>
-            </div>
-        </div>
+<!--    <div class="layui-row layui-col-space10">-->
+<!--        <div class="layui-col-xs6 layui-col-md3">-->
+<!--            <div class="layui-card top-panel">-->
+<!--                <div class="layui-card-header">今日访问</div>-->
+<!--                <div class="layui-card-body">-->
+<!--                    <div class="layui-row layui-col-space5">-->
+<!--                        <div class="layui-col-xs8 layui-col-md8 top-panel-number" id="value1" style="color: #28333E;">-->
+<!--                            0-->
+<!--                        </div>-->
+<!--                        <div class="layui-col-xs4 layui-col-md4 top-panel-tips">-->
+<!--                            <svg class="icon" height="200" p-id="942" t="1591462258798"-->
+<!--                                 version="1.1" viewBox="0 0 1024 1024"-->
+<!--                                 width="200" xmlns="http://www.w3.org/2000/svg">-->
+<!--                                <path d="M 262.7 835 c -15.3 0 -28.1 -11.4 -29.8 -26.6 L 174.1 291 c -0.6 -5.1 1 -10.2 4.5 -14 s 8.3 -6 13.4 -6 h 640 c 5.1 0 10 2.2 13.4 6 s 5 8.9 4.5 14 l -58.8 517.4 c -1.7 15.2 -14.5 26.6 -29.8 26.6 H 262.7 Z"-->
+<!--                                      fill="#fcc66f"-->
+<!--                                      p-id="943"/>-->
+<!--                                <path d="M 802 289 l -58.8 517.4 c -0.7 6.1 -5.8 10.6 -11.9 10.6 h 30 c 6.1 0 11.2 -4.6 11.9 -10.6 L 832 289 h -30 Z"-->
+<!--                                      fill="#ffd79c"-->
+<!--                                      p-id="944"/>-->
+<!--                                <path d="M 164 307 c -16.5 0 -30 -13.5 -30 -30 v -58 c 0 -16.5 13.5 -30 30 -30 h 696 c 16.5 0 30 13.5 30 30 v 58 c 0 16.5 -13.5 30 -30 30 H 164 Z"-->
+<!--                                      fill="#f56e73"-->
+<!--                                      p-id="945"/>-->
+<!--                                <path d="M 860 207 h -30 c 6.6 0 12 5.4 12 12 v 58 c 0 6.6 -5.4 12 -12 12 h 30 c 6.6 0 12 -5.4 12 -12 v -58 c 0 -6.6 -5.4 -12 -12 -12 Z"-->
+<!--                                      fill="#ffa1a8"-->
+<!--                                      p-id="946"/>-->
+<!--                                <path d="M 190.9 651.5 c -31.4 0 -56.9 -25.5 -56.9 -56.9 V 219 c 0 -16.5 13.5 -30 30 -30 h 466.2 c 9.9 0 18 8.1 18 18 v 301.1 c 0 34.7 -28.2 62.9 -62.9 62.9 s -62.9 -28.2 -62.9 -62.9 V 393.5 c 0 -23.2 -18.8 -42 -42 -42 s -42 18.8 -42 42 v 68.1 c 0 29.4 -23.9 53.4 -53.4 53.4 s -53.4 -23.9 -53.4 -53.4 v -68.1 c 0 -23.2 -18.8 -42 -42 -42 s -42 18.8 -42 42 v 201.1 c 0.1 31.4 -25.4 56.9 -56.7 56.9 Z"-->
+<!--                                      fill="#65c8ff"-->
+<!--                                      p-id="947"/>-->
+<!--                                <path d="M 277.8 321.5 c -33.1 0 -60 26.9 -60 60 v 201.1 c 0 21.5 -17.4 38.9 -38.9 38.9 c -7.7 0 -14.8 -2.2 -20.8 -6.1 c 6.9 10.9 19 18.1 32.8 18.1 c 21.5 0 38.9 -17.4 38.9 -38.9 V 393.5 c 0 -33.1 26.9 -60 60 -60 c 13.5 0 25.9 4.5 36 12 c -11 -14.5 -28.4 -24 -48 -24 Z M 618.3 207 v 289.1 c 0 24.8 -20.1 44.9 -44.9 44.9 c -9.3 0 -18 -2.8 -25.2 -7.7 c 8.1 11.9 21.7 19.7 37.2 19.7 c 24.8 0 44.9 -20.1 44.9 -44.9 V 207 h -12 Z M 468.5 321.5 c -33.1 0 -60 26.9 -60 60 v 68.1 c 0 19.5 -15.8 35.4 -35.4 35.4 c -6.7 0 -12.9 -1.9 -18.3 -5.1 c 6.2 10.2 17.4 17.1 30.3 17.1 c 19.5 0 35.4 -15.8 35.4 -35.4 v -68.1 c 0 -33.1 26.9 -60 60 -60 c 13.5 0 25.9 4.5 36 12 c -11 -14.5 -28.4 -24 -48 -24 Z"-->
+<!--                                      fill="#b3eaff"-->
+<!--                                      p-id="948"/>-->
+<!--                                <path d="M 698 729.4 m -18 0 a 18 18 0 1 0 36 0 a 18 18 0 1 0 -36 0 Z" fill="#453b56"-->
+<!--                                      p-id="949"/>-->
+<!--                                <path d="M 860 171 H 632.5 v 0.1 c -0.7 0 -1.5 -0.1 -2.2 -0.1 H 164 c -26.5 0 -48 21.5 -48 48 v 375.6 c 0 41.3 33.6 74.9 74.9 74.9 c 2.7 0 5.4 -0.2 8.1 -0.5 l 16 141.4 c 2.8 24.3 23.3 42.6 47.7 42.6 h 498.6 c 24.4 0 44.9 -18.3 47.7 -42.6 l 55.2 -485.6 c 24.5 -2.1 43.8 -22.7 43.8 -47.8 v -58 c 0 -26.5 -21.5 -48 -48 -48 Z M 190.9 633.5 c -21.5 0 -38.9 -17.4 -38.9 -38.9 V 219 c 0 -6.6 5.4 -12 12 -12 h 466.3 v 301.1 c 0 24.8 -20.1 44.9 -44.9 44.9 c -24.8 0 -44.9 -20.1 -44.9 -44.9 V 393.5 c 0 -33.1 -26.9 -60 -60 -60 s -60 26.9 -60 60 v 68.1 c 0 19.5 -15.8 35.4 -35.4 35.4 c -19.5 0 -35.4 -15.8 -35.4 -35.4 v -68.1 c 0 -33.1 -26.9 -60 -60 -60 s -60 26.9 -60 60 v 201.1 c 0.1 21.5 -17.4 38.9 -38.8 38.9 Z m 582.3 172.9 c -0.7 6.1 -5.8 10.6 -11.9 10.6 H 262.7 c -6.1 0 -11.2 -4.6 -11.9 -10.6 l -6.7 -59 h 396.6 c 9.9 0 18 -8.1 18 -18 s -8.1 -18 -18 -18 H 240 l -6.3 -55.4 c 19.3 -13.6 32.1 -36 32.1 -61.3 V 393.5 c 0 -13.2 10.8 -24 24 -24 s 24 10.8 24 24 v 68.1 c 0 39.4 32 71.4 71.4 71.4 s 71.4 -32 71.4 -71.4 v -68.1 c 0 -13.2 10.8 -24 24 -24 s 24 10.8 24 24 v 114.6 c 0 44.6 36.3 80.9 80.9 80.9 c 44.6 0 80.9 -36.3 80.9 -80.9 V 325 h 161.7 l -54.9 481.4 Z M 872 277 c 0 6.6 -5.4 12 -12 12 H 666.3 v -82 H 860 c 6.6 0 12 5.4 12 12 v 58 Z"-->
+<!--                                      fill="#453b56"-->
+<!--                                      p-id="950"/>-->
+<!--                            </svg>-->
+<!--                        </div>-->
+<!--                    </div>-->
+<!--                </div>-->
+<!--            </div>-->
+<!--        </div>-->
+<!--        <div class="layui-col-xs6 layui-col-md3">-->
+<!--            <div class="layui-card top-panel">-->
+<!--                <div class="layui-card-header">本周访问</div>-->
+<!--                <div class="layui-card-body">-->
+<!--                    <div class="layui-row layui-col-space5">-->
+<!--                        <div class="layui-col-xs8 layui-col-md8 top-panel-number" id="value2" style="color: #28333E;">-->
+<!--                            0-->
+<!--                        </div>-->
+<!--                        <div class="layui-col-xs4 layui-col-md4 top-panel-tips">-->
+<!--                            <svg class="icon" height="200" p-id="3170" t="1591462430908"-->
+<!--                                 version="1.1"-->
+<!--                                 viewBox="0 0 1024 1024" width="200" xmlns="http://www.w3.org/2000/svg">-->
+<!--                                <path d="M532 784.2c0 24.4-19.8 44.3-44.3 44.3s-44.3-19.8-44.3-44.3c0-24.4 44.3-80.3 44.3-80.3s44.3 55.8 44.3 80.3zM766 784.2c0 24.4 19.8 44.3 44.3 44.3 24.4 0 44.3-19.8 44.3-44.3 0-24.4-44.3-80.3-44.3-80.3S766 759.7 766 784.2z"-->
+<!--                                      fill="#97DCFF" p-id="3171"></path>-->
+<!--                                <path d="M123.5 471.3c-9.9 0-18-8.1-18-18v-302c0-9.9 8.1-18 18-18h58c9.9 0 18 8.1 18 18v302c0 9.9-8.1 18-18 18h-58z"-->
+<!--                                      fill="#FCC66F" p-id="3172"></path>-->
+<!--                                <path d="M181.5 151.3v302h-58v-302h58m0-36h-58c-19.9 0-36 16.1-36 36v302c0 19.9 16.1 36 36 36h58c19.9 0 36-16.1 36-36v-302c0-19.8-16.1-36-36-36z"-->
+<!--                                      fill="#453B56" p-id="3173"></path>-->
+<!--                                <path d="M266.4 210.7m-18 0a18 18 0 1 0 36 0 18 18 0 1 0-36 0Z" fill="#453B56"-->
+<!--                                      p-id="3174"></path>-->
+<!--                                <path d="M430.8 641.1c-9.9 0-18-8.1-18-18v-21.6c0-130.3 106-236.3 236.3-236.3s236.3 106 236.3 236.3v21.6c0 9.9-8.1 18-18 18H430.8z"-->
+<!--                                      fill="#FCC66F" p-id="3175"></path>-->
+<!--                                <path d="M649 383.2c-5 0-10 0.2-15 0.6 113.5 7.7 203.3 102.2 203.3 217.7v21.6h30v-21.6c0-120.6-97.7-218.3-218.3-218.3z"-->
+<!--                                      fill="#FFD79C" p-id="3176"></path>-->
+<!--                                <path d="M419.6 694.4c-22.1 0-40.1-18-40.1-40.1s18-40.1 40.1-40.1h458.8c22.1 0 40.1 18 40.1 40.1s-18 40.1-40.1 40.1H419.6z"-->
+<!--                                      fill="#F56E73" p-id="3177"></path>-->
+<!--                                <path d="M878.4 632.3h-30c12.2 0 22.1 9.9 22.1 22.1s-9.9 22.1-22.1 22.1h30c12.2 0 22.1-9.9 22.1-22.1s-9.9-22.1-22.1-22.1z"-->
+<!--                                      fill="#FFA1A8" p-id="3178"></path>-->
+<!--                                <path d="M693.3 846.4c0 24.4-19.8 44.3-44.3 44.3-24.4 0-44.3-19.8-44.3-44.3s44.3-80.3 44.3-80.3 44.3 55.9 44.3 80.3z"-->
+<!--                                      fill="#97DCFF" p-id="3179"></path>-->
+<!--                                <path d="M649 908.7c-34.3 0-62.3-27.9-62.3-62.3 0-28.5 36.9-77.2 48.1-91.4 3.4-4.3 8.6-6.8 14.1-6.8s10.7 2.5 14.1 6.8c11.3 14.2 48.1 62.9 48.1 91.4 0.2 34.3-27.8 62.3-62.1 62.3z m0-112.3c-14.1 20.4-26.3 41.9-26.3 50 0 14.5 11.8 26.3 26.3 26.3s26.3-11.8 26.3-26.3c0-8.1-12.1-29.6-26.3-50z"-->
+<!--                                      fill="#453B56" p-id="3180"></path>-->
+<!--                                <path d="M903.3 601.9v-0.5c0-134.1-104.4-244.3-236.3-253.6v-30.7c0-68.7-55.9-124.6-124.6-124.6H326.5c-9.9 0-18 8.1-18 18s8.1 18 18 18h215.9c48.8 0 88.6 39.7 88.6 88.6v30.7c-131.8 9.3-236.3 119.4-236.3 253.6v0.5c-19.6 9.3-33.2 29.3-33.2 52.4 0 32 26 58.1 58.1 58.1H459c-14.8 21-33.5 51.5-33.5 71.8 0 34.3 27.9 62.3 62.3 62.3 34.3 0 62.2-27.9 62.2-62.3 0-20.3-18.6-50.7-33.5-71.8h264.9c-14.8 21-33.5 51.5-33.5 71.8 0 34.3 27.9 62.3 62.3 62.3 34.3 0 62.3-27.9 62.3-62.3 0-20.3-18.6-50.7-33.5-71.8h39.4c32 0 58.1-26 58.1-58.1 0-23.1-13.6-43-33.2-52.4zM487.8 810.4c-14.5 0-26.3-11.8-26.3-26.3 0-8.1 12.1-29.6 26.3-50 14.1 20.4 26.2 41.9 26.2 50 0 14.5-11.8 26.3-26.2 26.3z m322.5 0c-14.5 0-26.3-11.8-26.3-26.3 0-8.1 12.1-29.6 26.3-50 14.1 20.4 26.3 41.9 26.3 50-0.1 14.5-11.9 26.3-26.3 26.3zM649 383.2c118.8 0 215.4 94.9 218.1 213.1H430.9c2.8-118.1 99.3-213.1 218.1-213.1z m251.5 271.1c0 12.2-9.9 22.1-22.1 22.1H419.6c-12.2 0-22.1-9.9-22.1-22.1 0-12.2 9.9-22.1 22.1-22.1h458.8c12.2 0.1 22.1 10 22.1 22.1z"-->
+<!--                                      fill="#453B56" p-id="3181"></path>-->
+<!--                            </svg>-->
+<!--                        </div>-->
+<!--                    </div>-->
+<!--                </div>-->
+<!--            </div>-->
+<!--        </div>-->
+<!--        <div class="layui-col-xs6 layui-col-md3">-->
+<!--            <div class="layui-card top-panel">-->
+<!--                <div class="layui-card-header">本月访问</div>-->
+<!--                <div class="layui-card-body">-->
+<!--                    <div class="layui-row layui-col-space5">-->
+<!--                        <div class="layui-col-xs8 layui-col-md8 top-panel-number" id="value3" style="color: #28333E;">-->
+<!--                            0-->
+<!--                        </div>-->
+<!--                        <div class="layui-col-xs4 layui-col-md4  top-panel-tips">-->
+<!--                            <svg class="icon" height="200" p-id="3311" t="1591462464512"-->
+<!--                                 version="1.1"-->
+<!--                                 viewBox="0 0 1024 1024" width="200" xmlns="http://www.w3.org/2000/svg">-->
+<!--                                <path d="M750.4 216.5h-130v-15.3c0-32.9-26.8-59.7-59.7-59.7h-97.3c-32.9 0-59.7 26.8-59.7 59.7v15.3h-130c-30.7 0-55.6 25-55.6 55.6v72.4c0 9.9 8.1 18 18 18h31.5v478c0 23.2 18.8 42 42 42h405c23.2 0 42-18.8 42-42v-478H788c9.9 0 18-8.1 18-18v-72.4c0-30.6-25-55.6-55.6-55.6z"-->
+<!--                                      fill="#FCC66F" p-id="3312"></path>-->
+<!--                                <path d="M708.5 344.5v496c0 13.3-10.7 24-24 24h30c13.3 0 24-10.7 24-24v-496h-30z"-->
+<!--                                      fill="#FFD79C" p-id="3313"></path>-->
+<!--                                <path d="M309.5 882.5c-23.2 0-42-18.8-42-42V596c0-9.9 8.1-18 18-18h36.8c30.2 0 54.8 24.6 54.8 54.8v231.7c0 9.9-8.1 18-18 18h-49.6zM664.9 882.5c-9.9 0-18-8.1-18-18V632.8c0-30.2 24.6-54.8 54.8-54.8h36.8c9.9 0 18 8.1 18 18v244.5c0 23.2-18.8 42-42 42h-49.6z"-->
+<!--                                      fill="#F56E73" p-id="3314"></path>-->
+<!--                                <path d="M708.5 596v244.5c0 13.3-10.7 24-24 24h30c13.3 0 24-10.7 24-24V596h-30z"-->
+<!--                                      fill="#FFA1A8" p-id="3315"></path>-->
+<!--                                <path d="M475.2 882.5c-9.9 0-18-8.1-18-18V632.8c0-30.2 24.6-54.8 54.8-54.8 30.2 0 54.8 24.6 54.8 54.8v231.7c0 9.9-8.1 18-18 18h-73.6z"-->
+<!--                                      fill="#F56E73" p-id="3316"></path>-->
+<!--                                <path d="M560.7 159.5h-18c23 0 41.7 18.7 41.7 41.7V221h18v-19.8c-0.1-23-18.7-41.7-41.7-41.7zM750.4 234.5h-30c20.8 0 37.6 16.8 37.6 37.6v72.4h30v-72.4c0-20.8-16.8-37.6-37.6-37.6z"-->
+<!--                                      fill="#FFD79C" p-id="3317"></path>-->
+<!--                                <path d="M750.4 198.5H638.2c-1.4-41.6-35.6-75-77.5-75h-97.3c-41.9 0-76.1 33.4-77.5 75H273.6c-40.6 0-73.6 33-73.6 73.6v72.4c0 19.9 16.1 36 36 36h13.5v460c0 33.1 26.9 60 60 60H714.7c33.1 0 60-26.9 60-60v-460H788c19.9 0 36-16.1 36-36v-72.4c0-40.6-33-73.6-73.6-73.6z m-287.1-39h97.3c22.1 0 40.2 17.2 41.5 39H421.8c1.4-21.8 19.4-39 41.5-39z m-104.2 705h-49.6c-13.3 0-24-10.7-24-24V596h36.8c20.3 0 36.8 16.5 36.8 36.8v231.7z m189.7 0h-73.6V632.8c0-20.3 16.5-36.8 36.8-36.8 20.3 0 36.8 16.5 36.8 36.8v231.7z m189.7-24c0 13.3-10.7 24-24 24h-49.6V632.8c0-20.3 16.5-36.8 36.8-36.8h36.8v244.5z m0-280.5h-36.8c-40.1 0-72.8 32.6-72.8 72.8v231.7h-44.2V632.8c0-40.1-32.6-72.8-72.8-72.8-40.1 0-72.8 32.6-72.8 72.8v231.7h-44.2V632.8c0-40.1-32.6-72.8-72.8-72.8h-36.8v-74.5h279c9.9 0 18-8.1 18-18s-8.1-18-18-18h-279v-69h453V560zM788 344.5H236v-72.4c0-20.8 16.8-37.6 37.6-37.6h476.8c20.8 0 37.6 16.8 37.6 37.6v72.4z"-->
+<!--                                      fill="#453B56" p-id="3318"></path>-->
+<!--                                <path d="M621.8 467.5m-18 0a18 18 0 1 0 36 0 18 18 0 1 0-36 0Z" fill="#453B56"-->
+<!--                                      p-id="3319"></path>-->
+<!--                            </svg>-->
+<!--                        </div>-->
+<!--                    </div>-->
+<!--                </div>-->
+<!--            </div>-->
+<!--        </div>-->
+<!--        <div class="layui-col-xs6 layui-col-md3">-->
+<!--            <div class="layui-card top-panel">-->
+<!--                <div class="layui-card-header">季度访问</div>-->
+<!--                <div class="layui-card-body">-->
+<!--                    <div class="layui-row layui-col-space5">-->
+<!--                        <div class="layui-col-xs8 layui-col-md8 top-panel-number" id="value4" style="color: #28333E;">-->
+<!--                            0-->
+<!--                        </div>-->
+<!--                        <div class="layui-col-xs4 layui-col-md4 top-panel-tips">-->
+<!--                            <svg class="icon" height="200" p-id="3449" t="1591462491887"-->
+<!--                                 version="1.1"-->
+<!--                                 viewBox="0 0 1024 1024" width="200" xmlns="http://www.w3.org/2000/svg">-->
+<!--                                <path d="M363.2 807c-9.9 0-18-8.1-18-18v-75.5c0-9.9 8.1-18 18-18h108.5c9.9 0 18 8.1 18 18V789c0 9.9-8.1 18-18 18H363.2z"-->
+<!--                                      fill="#F56E73" p-id="3450"></path>-->
+<!--                                <path d="M441.7 713.5h30V789h-30z" fill="#FFA1A8" p-id="3451"></path>-->
+<!--                                <path d="M259.6 398c-9.9 0-18-8.1-18-18V178.6c0-23.8 19.3-43.1 43.1-43.1s43.1 19.3 43.1 43.1V380c0 9.9-8.1 18-18 18h-50.2zM525.1 398c-9.9 0-18-8.1-18-18V178.6c0-23.8 19.3-43.1 43.1-43.1s43.1 19.3 43.1 43.1V380c0 9.9-8.1 18-18 18h-50.2z"-->
+<!--                                      fill="#65C8FF" p-id="3452"></path>-->
+<!--                                <path d="M550.2 153.5c-3.2 0-6.2 0.7-9 1.7 9.4 3.6 16.1 12.7 16.1 23.4V380h18V178.6c0.1-13.9-11.2-25.1-25.1-25.1z"-->
+<!--                                      fill="#97DCFF" p-id="3453"></path>-->
+<!--                                <path d="M686 330.5H149c-9.9 0-18 8.1-18 18v63c0 9.9 8.1 18 18 18h33.2l45 225c8.7 43.4 47.1 75 91.4 75h197.6c44.3 0 82.7-31.5 91.4-75l45-225H686c9.9 0 18-8.1 18-18v-63c0-9.9-8.1-18-18-18z"-->
+<!--                                      fill="#FCC66F" p-id="3454"></path>-->
+<!--                                <path d="M608 411.5L560.1 651c-7 35.2-37.9 60.5-73.8 60.5h30c35.9 0 66.7-25.3 73.8-60.5L638 411.5h-30zM656 348.5h30v63h-30z"-->
+<!--                                      fill="#FFD79C" p-id="3455"></path>-->
+<!--                                <path d="M474.2 543.5m-18 0a18 18 0 1 0 36 0 18 18 0 1 0-36 0Z" fill="#453B56"-->
+<!--                                      p-id="3456"></path>-->
+<!--                                <path d="M416.9 525.5h-125c-9.9 0-18 8.1-18 18s8.1 18 18 18h125c9.9 0 18-8.1 18-18s-8.1-18-18-18zM893 543.5h-33.4c-65.2 0-118.2 53-118.2 118.2v19.6c0 9.9 8.1 18 18 18s18-8.1 18-18v-19.6c0-45.3 36.9-82.2 82.2-82.2H893c9.9 0 18-8.1 18-18s-8-18-18-18zM772.2 744.2c7-7 7-18.4 0-25.5-7-7-18.4-7-25.5 0s-7 18.4 0 25.5 18.4 7.1 25.5 0z"-->
+<!--                                      fill="#453B56" p-id="3457"></path>-->
+<!--                                <path d="M759.5 761.6c-9.9 0-18 8.1-18 18v11.6c0 43.7-35.6 79.3-79.3 79.3H487.3c-26.4 0-48.3-19.9-51.4-45.5h35.8c19.9 0 36-16.1 36-36v-41.5h8.6c52.8 0 98.7-37.6 109.1-89.4l42.1-210.6H686c19.9 0 36-16.1 36-36v-63c0-19.9-16.1-36-36-36h-74.6V178.6c0-33.7-27.4-61.1-61.1-61.1s-61.1 27.4-61.1 61.1v133.9H345.9V178.6c0-33.7-27.4-61.1-61.1-61.1s-61.1 27.4-61.1 61.1v133.9H149c-19.9 0-36 16.1-36 36v63c0 19.9 16.1 36 36 36h18.5l42.1 210.6c10.4 51.8 56.2 89.4 109.1 89.4h8.6V789c0 19.9 16.1 36 36 36h36.6c3.3 45.5 41.2 81.5 87.5 81.5h174.8c63.6 0 115.3-51.7 115.3-115.3v-11.6c0-10-8.1-18-18-18z m-234.4-583c0-13.9 11.2-25.1 25.1-25.1s25.1 11.2 25.1 25.1v133.9H525V178.6z m-265.5 0c0-13.9 11.2-25.1 25.1-25.1s25.1 11.2 25.1 25.1v133.9h-50.3V178.6zM149 411.5v-63h537v63H149z m169.7 300c-35.9 0-66.7-25.3-73.8-60.5l-40.7-203.5h426.6L590.1 651c-7 35.2-37.9 60.5-73.8 60.5H318.7z m44.5 77.5v-41.5h108.5V789H363.2z"-->
+<!--                                      fill="#453B56" p-id="3458"></path>-->
+<!--                            </svg>-->
+<!--                        </div>-->
+<!--                    </div>-->
+<!--                </div>-->
+<!--            </div>-->
+<!--        </div>-->
+<!--    </div>-->
+<!--    <div class="layui-row layui-col-space10">-->
+<!--        <div class="layui-col-md9">-->
+<!--            <div class="layui-card">-->
+<!--                <div class="layui-card-body">-->
+<!--                    <div class="layui-tab custom-tab layui-tab-brief" lay-filter="docDemoTabBrief">-->
+<!--                        <div id="echarts-records" style="background-color:#ffffff;min-height:400px;padding: 10px"></div>-->
+<!--                    </div>-->
+<!--                </div>-->
+<!--            </div>-->
+<!--            <div class="layui-card">-->
+<!--                <div class="layui-card-header">动态</div>-->
+<!--                <div class="layui-card-body">-->
+<!--                    <dl class="layuiadmin-card-status">-->
+<!--                        <dd>-->
+<!--                            <div class="layui-status-img"><a href="javascript:;"><img-->
+<!--                                    src="https://portrait.gitee.com/uploads/avatars/user/1611/4835367_Jmysy_1578975358.png!avatar200"-->
+<!--                                    style="width: 32px;height: 32px;border-radius: 50px;"></a>-->
+<!--                            </div>-->
+<!--                            <div>-->
+<!--                                <p>七彩枫叶 在 <a lay-href="https://gitee.com/Jmysy/Pear-Admin-Layui">Pear Admin 专区</a> 回答问题-->
+<!--                                </p>-->
+<!--                                <span>几秒前</span>-->
+<!--                            </div>-->
+<!--                        </dd>-->
+<!--                        <dd>-->
+<!--                            <div class="layui-status-img"><a href="javascript:;"><img-->
+<!--                                    src="https://portrait.gitee.com/uploads/avatars/user/1611/4835367_Jmysy_1578975358.png!avatar200"-->
+<!--                                    style="width: 32px;height: 32px;border-radius: 50px;"></a>-->
+<!--                            </div>-->
+<!--                            <div>-->
+<!--                                <p>简 在 <a lay-href="https://gitee.com/Jmysy/Pear-Admin-Layui">Pear Admin 专区</a> 进行了 <a-->
+<!--                                        lay-href="http://fly.layui.com/vipclub/list/layuiadmin/column/quiz/">提问</a></p>-->
+<!--                                <span>2天前</span>-->
+<!--                            </div>-->
+<!--                        </dd>-->
+<!--                        <dd>-->
+<!--                            <div class="layui-status-img"><a href="javascript:;"><img-->
+<!--                                    src="https://portrait.gitee.com/uploads/avatars/user/1611/4835367_Jmysy_1578975358.png!avatar200"-->
+<!--                                    style="width: 32px;height: 32px;border-radius: 50px;"></a>-->
+<!--                            </div>-->
+<!--                            <div>-->
+<!--                                <p>恒宇少年 将 <a lay-href="https://gitee.com/Jmysy/Pear-Admin-Layui">Pear Admin </a> 更新至-->
+<!--                                    2.3.0 版本</p>-->
+<!--                                <span>7天前</span>-->
+<!--                            </div>-->
+<!--                        </dd>-->
+<!--                        <dd>-->
+<!--                            <div class="layui-status-img"><a href="javascript:;"><img-->
+<!--                                    src="https://portrait.gitee.com/uploads/avatars/user/1611/4835367_Jmysy_1578975358.png!avatar200"-->
+<!--                                    style="width: 32px;height: 32px;border-radius: 50px;"></a>-->
+<!--                            </div>-->
+<!--                            <div>-->
+<!--                                <p>如花 在 <a lay-href="https://gitee.com/Jmysy/Pear-Admin-Layui">Pear Admin 社区</a> 发布了 <a-->
+<!--                                        lay-href="http://fly.layui.com/column/suggest/">建议</a></p>-->
+<!--                                <span>7天前</span>-->
+<!--                            </div>-->
+<!--                        </dd>-->
+<!--                        <dd>-->
+<!--                            <div class="layui-status-img"><a href="javascript:;"><img-->
+<!--                                    src="https://portrait.gitee.com/uploads/avatars/user/1611/4835367_Jmysy_1578975358.png!avatar200"-->
+<!--                                    style="width: 32px;height: 32px;border-radius: 50px;"></a>-->
+<!--                            </div>-->
+<!--                            <div>-->
+<!--                                <p>伍 月 在 <a lay-href="https://gitee.com/Jmysy/Pear-Admin-Layui">Pear Admin 社区</a> 发布了-->
+<!--                                    <a lay-href="http://fly.layui.com/column/suggest/">建议</a></p>-->
+<!--                                <span>8天前</span>-->
+<!--                            </div>-->
+<!--                        </dd>-->
+<!--                        <dd>-->
+<!--                            <div class="layui-status-img"><a href="javascript:;"><img-->
+<!--                                    src="https://portrait.gitee.com/uploads/avatars/user/1611/4835367_Jmysy_1578975358.png!avatar200"-->
+<!--                                    style="width: 32px;height: 32px;border-radius: 50px;"></a>-->
+<!--                            </div>-->
+<!--                            <div>-->
+<!--                                <p>贤心 在 <a lay-href="https://gitee.com/Jmysy/Pear-Admin-Layui">Pear Admin 专区</a> 进行了 <a-->
+<!--                                        lay-href="http://fly.layui.com/vipclub/list/layuiadmin/column/quiz/">提问</a></p>-->
+<!--                                <span>8天前</span>-->
+<!--                            </div>-->
+<!--                        </dd>-->
+<!--                    </dl>-->
+<!--                </div>-->
+<!--            </div>-->
+<!--        </div>-->
+<!--        <div class="layui-col-md3">-->
+<!--            <div class="layui-card">-->
+<!--                <div class="layui-card-header">系统公告</div>-->
+<!--                <div class="layui-card-body">-->
+<!--                    <ul class="list">-->
+<!--                        <li class="list-item"><span class="title">优化代码格式</span><span-->
+<!--                                class="footer">2020-06-04 11:28</span></li>-->
+<!--                        <li class="list-item"><span class="title">新增消息组件</span><span-->
+<!--                                class="footer">2020-06-01 04:23</span></li>-->
+<!--                        <li class="list-item"><span class="title">移动端兼容</span><span-->
+<!--                                class="footer">2020-05-22 21:38</span></li>-->
+<!--                        <li class="list-item"><span class="title">系统布局优化</span><span-->
+<!--                                class="footer">2020-05-15 14:26</span></li>-->
+<!--                        <li class="list-item"><span class="title">兼容多系统菜单模式</span><span-->
+<!--                                class="footer">2020-05-13 16:32</span></li>-->
+<!--                        <li class="list-item"><span class="title">兼容多标签页切换</span><span-->
+<!--                                class="footer">2019-12-9 14:58</span></li>-->
+<!--                        <li class="list-item"><span class="title">扩展下拉组件</span><span-->
+<!--                                class="footer">2019-12-7 9:06</span></li>-->
+<!--                        <li class="list-item"><span class="title">扩展卡片样式</span><span-->
+<!--                                class="footer">2019-12-1 10:26</span></li>-->
+<!--                    </ul>-->
+<!--                </div>-->
+<!--            </div>-->
+<!--            <div class="layui-card">-->
+<!--                <div class="layui-card-header">-->
+<!--                    链接-->
+<!--                </div>-->
+<!--                <div class="layui-card-body">-->
+<!--                    <a class="pear-btn pear-btn-success layui-btn-fluid" href="http://www.pearadmin.com" style="height: 50px;line-height: 50px;"-->
+<!--                       target="_blank">官 网</a>-->
+<!--                    <br/>-->
+<!--                    <a class="pear-btn pear-btn-primary  layui-btn-fluid" href="http://www.pearadmin.com/doc/"-->
+<!--                       style="margin-top: 8px;height: 50px;line-height: 50px;"-->
+<!--                       target="_blank">文 档</a>-->
+<!--                    <br/>-->
+<!--                    <a class="pear-btn pear-btn-warming  layui-btn-fluid" href="https://gitee.com/pear-admin/Pear-Admin-Boot"-->
+<!--                       style="margin-top: 8px;height: 50px;line-height: 50px;"-->
+<!--                       target="_blank">下 载</a>-->
+<!--                </div>-->
+<!--            </div>-->
+<!--        </div>-->
     </div>
 </div>
 <th:block th:include="include :: footer"/>

+ 1 - 6
src/main/resources/templates/index.html

@@ -1,7 +1,7 @@
 <!DOCTYPE html>
 <html xmlns:th="http://www.thymeleaf.org">
 <head>
-    <th:block th:include="include :: header('Pear Admin 开发平台')"/>
+    <th:block th:include="include :: header('Hy Admin 开发平台')"/>
     <link href="admin/css/loader.css" rel="stylesheet"/>
     <link href="admin/css/admin.css" rel="stylesheet"/>
 </head>
@@ -29,7 +29,6 @@
         <ul class="layui-nav layui-layout-right">
             <li class="layui-nav-item layui-hide-xs"><a href="#" class="menuSearch layui-icon layui-icon-search"></a></li>
             <li class="layui-nav-item layui-hide-xs"><a class="fullScreen layui-icon layui-icon-screen-full" href="#"></a></li>
-            <li class="layui-nav-item layui-hide-xs"><a class="layui-icon layui-icon-website" href="http://www.pearadmin.com"></a></li>
             <li class="layui-nav-item layui-hide-xs message"></li>
             <li class="layui-nav-item user">
                 <!-- 头 像 -->
@@ -66,10 +65,6 @@
     <!-- 页脚 -->
     <div class="layui-footer layui-text">
         <span class="left">
-            <span>
-                官网:<a href="http://www.pearadmin.com/team.html" target="_blank">www.pearadmin.com</a>&nbsp;&nbsp;&nbsp;
-                仓库:<a href="https://gitee.com/pear-admin/Pear-Admin-Layui" target="_blank">gitee.com/pear-admin</a>
-            </span>
         </span>
         <span class="center"></span>
         <span class="right"></span>

+ 2 - 2
src/main/resources/templates/login.html

@@ -9,9 +9,9 @@
 <form action="javascript:void(0);" class="layui-form">
     <div class="layui-form-item">
         <img class="logo" src="admin/images/logo.png"/>
-        <div class="title">Pear Admin</div>
+        <div class="title">Hy Admin</div>
         <div class="desc">
-            明 湖 区 最 具 影 响 力 的 设 计 规 范 之 一
+            辉 杨 科 技 开 发 平 台
         </div>
     </div>
     <div class="layui-form-item">

+ 1 - 0
src/main/resources/vm/java/serviceImpl.java.vm

@@ -2,6 +2,7 @@ package ${packageName}.service.impl;
 
 import java.util.List;
 
+import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
 import com.github.pagehelper.PageHelper;
 import com.github.pagehelper.PageInfo;
 import com.hy.common.web.domain.request.PageDomain;