You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@shenyu.apache.org by zh...@apache.org on 2021/07/14 08:18:57 UTC

[incubator-shenyu-dashboard] branch master updated: Delete unused resource (#134)

This is an automated email from the ASF dual-hosted git repository.

zhangyonglun pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-shenyu-dashboard.git


The following commit(s) were added to refs/heads/master by this push:
     new a9b6c09  Delete unused resource (#134)
a9b6c09 is described below

commit a9b6c099842955140a779fe48f5751dce2659a1d
Author: fengzhenbing <fe...@126.com>
AuthorDate: Wed Jul 14 16:18:50 2021 +0800

    Delete unused resource (#134)
    
    * Fix:delete unused resource.
    
    * Fix: clean unused resource.
    
    * Fix: clean mock.
---
 README.md                     |  12 --
 doc/img/add-rules.jpg         | Bin 61277 -> 0 bytes
 doc/img/divide-plugin.png     | Bin 47672 -> 0 bytes
 doc/img/index.ejs.png         | Bin 212909 -> 0 bytes
 doc/img/plugin-management.jpg | Bin 95124 -> 0 bytes
 mock/.gitkeep                 |   0
 mock/api.js                   | 296 ------------------------------------------
 mock/notices.js               |  99 --------------
 mock/platform.js              | 206 -----------------------------
 mock/plugin.js                |  78 -----------
 mock/rules.js                 |   0
 mock/selector.js              |   0
 mock/user.js                  |  49 -------
 package.json                  |   4 +-
 public/favicon.ico            | Bin 0 -> 4286 bytes
 public/favicon.png            | Bin 10826 -> 0 bytes
 16 files changed, 2 insertions(+), 742 deletions(-)

diff --git a/README.md b/README.md
index a5e6668..cc96d7d 100644
--- a/README.md
+++ b/README.md
@@ -14,7 +14,6 @@ ShenYu Dashboard is frontend of a management background for [shenyu](https://git
 ### Configuration
 
 Modify the api url for different environment, eg: `http://192.168.1.100:8000`
-![index.ejs](https://dromara.github.io/shenyu-dashboard/doc/img/index.ejs.png)
 
 
 ### Develop Environment
@@ -38,14 +37,3 @@ npm run build
 cp -rf dist/* shenyu-admin/src/main/resources/static/
 ```
 
-## Screenshots
-
-#### Divide Plugin
-![Divide Plugin](https://dromara.github.io/shenyu-dashboard/doc/img/divide-plugin.png)
-
-#### Add Rules
-![Add Rules](https://dromara.github.io/shenyu-dashboard/doc/img/add-rules.jpg)
-
-#### Plugin Management
-![Plugin Management](https://dromara.github.io/shenyu-dashboard/doc/img/plugin-management.jpg)
-
diff --git a/doc/img/add-rules.jpg b/doc/img/add-rules.jpg
deleted file mode 100644
index a1be895..0000000
Binary files a/doc/img/add-rules.jpg and /dev/null differ
diff --git a/doc/img/divide-plugin.png b/doc/img/divide-plugin.png
deleted file mode 100644
index 97928a9..0000000
Binary files a/doc/img/divide-plugin.png and /dev/null differ
diff --git a/doc/img/index.ejs.png b/doc/img/index.ejs.png
deleted file mode 100644
index 19137fb..0000000
Binary files a/doc/img/index.ejs.png and /dev/null differ
diff --git a/doc/img/plugin-management.jpg b/doc/img/plugin-management.jpg
deleted file mode 100644
index 0709bf3..0000000
Binary files a/doc/img/plugin-management.jpg and /dev/null differ
diff --git a/mock/.gitkeep b/mock/.gitkeep
deleted file mode 100644
index e69de29..0000000
diff --git a/mock/api.js b/mock/api.js
deleted file mode 100644
index c5ffd3b..0000000
--- a/mock/api.js
+++ /dev/null
@@ -1,296 +0,0 @@
-import { parse } from 'url';
-
-const titles = [
-  'Alipay',
-  'Angular',
-  'Ant Design',
-  'Ant Design Pro',
-  'Bootstrap',
-  'React',
-  'Vue',
-  'Webpack',
-];
-const avatars = [
-  'https://gw.alipayobjects.com/zos/rmsportal/WdGqmHpayyMjiEhcKoVE.png', // Alipay
-  'https://gw.alipayobjects.com/zos/rmsportal/zOsKZmFRdUtvpqCImOVY.png', // Angular
-  'https://gw.alipayobjects.com/zos/rmsportal/dURIMkkrRFpPgTuzkwnB.png', // Ant Design
-  'https://gw.alipayobjects.com/zos/rmsportal/sfjbOqnsXXJgNCjCzDBL.png', // Ant Design
-  'https://gw.alipayobjects.com/zos/rmsportal/siCrBXXhmvTQGWPNLBow.png', // Bootstrap
-  'https://gw.alipayobjects.com/zos/rmsportal/kZzEzemZyKLKFsojXItE.png', // React
-  'https://gw.alipayobjects.com/zos/rmsportal/ComBAopevLwENQdKWiIn.png', // Vue
-  'https://gw.alipayobjects.com/zos/rmsportal/nxkuOJlFJuAUhzlMTCEe.png', // Webpack
-];
-
-const avatars2 = [
-  'https://gw.alipayobjects.com/zos/rmsportal/BiazfanxmamNRoxxVxka.png',
-  'https://gw.alipayobjects.com/zos/rmsportal/cnrhVkzwxjPwAaCfPbdc.png',
-  'https://gw.alipayobjects.com/zos/rmsportal/gaOngJwsRYRaVAuXXcmB.png',
-  'https://gw.alipayobjects.com/zos/rmsportal/ubnKSIfAJTxIgXOKlciN.png',
-  'https://gw.alipayobjects.com/zos/rmsportal/WhxKECPNujWoWEFNdnJE.png',
-  'https://gw.alipayobjects.com/zos/rmsportal/jZUIxmJycoymBprLOUbT.png',
-  'https://gw.alipayobjects.com/zos/rmsportal/psOgztMplJMGpVEqfcgF.png',
-  'https://gw.alipayobjects.com/zos/rmsportal/ZpBqSxLxVEXfcUNoPKrz.png',
-  'https://gw.alipayobjects.com/zos/rmsportal/laiEnJdGHVOhJrUShBaJ.png',
-  'https://gw.alipayobjects.com/zos/rmsportal/UrQsqscbKEpNuJcvBZBu.png',
-];
-
-const covers = [
-  'https://gw.alipayobjects.com/zos/rmsportal/uMfMFlvUuceEyPpotzlq.png',
-  'https://gw.alipayobjects.com/zos/rmsportal/iZBVOIhGJiAnhplqjvZW.png',
-  'https://gw.alipayobjects.com/zos/rmsportal/uVZonEtjWwmUZPBQfycs.png',
-  'https://gw.alipayobjects.com/zos/rmsportal/gLaIAoVWTtLbBWZNYEMg.png',
-];
-const desc = [
-  '那是一种内在的东西, 他们到达不了,也无法触及的',
-  '希望是一个好东西,也许是最好的,好东西是不会消亡的',
-  '生命就像一盒巧克力,结果往往出人意料',
-  '城镇中有那么多的酒馆,她却偏偏走进了我的酒馆',
-  '那时候我只会想自己想要什么,从不想自己拥有什么',
-];
-
-const user = [
-  '付小小',
-  '曲丽丽',
-  '林东东',
-  '周星星',
-  '吴加好',
-  '朱偏右',
-  '鱼酱',
-  '乐哥',
-  '谭小仪',
-  '仲尼',
-];
-
-export function fakeList(count) {
-  const list = [];
-  for (let i = 0; i < count; i += 1) {
-    list.push({
-      id: `fake-list-${i}`,
-      owner: user[i % 10],
-      title: titles[i % 8],
-      avatar: avatars[i % 8],
-      cover: parseInt(i / 4, 10) % 2 === 0 ? covers[i % 4] : covers[3 - i % 4],
-      status: ['active', 'exception', 'normal'][i % 3],
-      percent: Math.ceil(Math.random() * 50) + 50,
-      logo: avatars[i % 8],
-      href: 'https://ant.design',
-      updatedAt: new Date(new Date().getTime() - 1000 * 60 * 60 * 2 * i),
-      createdAt: new Date(new Date().getTime() - 1000 * 60 * 60 * 2 * i),
-      subDescription: desc[i % 5],
-      description:
-        '在中台产品的研发过程中,会出现不同的设计规范和实现方式,但其中往往存在很多类似的页面和组件,这些类似的组件会被抽离成一套标准规范。',
-      activeUser: Math.ceil(Math.random() * 100000) + 100000,
-      newUser: Math.ceil(Math.random() * 1000) + 1000,
-      star: Math.ceil(Math.random() * 100) + 100,
-      like: Math.ceil(Math.random() * 100) + 100,
-      message: Math.ceil(Math.random() * 10) + 10,
-      content:
-        '段落示意:蚂蚁金服设计平台 ant.design,用最小的工作量,无缝接入蚂蚁金服生态,提供跨越设计与开发的体验解决方案。蚂蚁金服设计平台 ant.design,用最小的工作量,无缝接入蚂蚁金服生态,提供跨越设计与开发的体验解决方案。',
-      members: [
-        {
-          avatar: 'https://gw.alipayobjects.com/zos/rmsportal/ZiESqWwCXBRQoaPONSJe.png',
-          name: '曲丽丽',
-        },
-        {
-          avatar: 'https://gw.alipayobjects.com/zos/rmsportal/tBOxZPlITHqwlGjsJWaF.png',
-          name: '王昭君',
-        },
-        {
-          avatar: 'https://gw.alipayobjects.com/zos/rmsportal/sBxjgqiuHMGRkIjqlQCd.png',
-          name: '董娜娜',
-        },
-      ],
-    });
-  }
-
-  return list;
-}
-
-export function getFakeList(req, res, u) {
-  let url = u;
-  if (!url || Object.prototype.toString.call(url) !== '[object String]') {
-    url = req.url; // eslint-disable-line
-  }
-
-  const params = parse(url, true).query;
-
-  const count = params.count * 1 || 20;
-
-  const result = fakeList(count);
-
-  if (res && res.json) {
-    res.json(result);
-  } else {
-    return result;
-  }
-}
-
-export const getNotice = [
-  {
-    id: 'xxx1',
-    title: titles[0],
-    logo: avatars[0],
-    description: '那是一种内在的东西,他们到达不了,也无法触及的',
-    updatedAt: new Date(),
-    member: '科学搬砖组',
-    href: '',
-    memberLink: '',
-  },
-  {
-    id: 'xxx2',
-    title: titles[1],
-    logo: avatars[1],
-    description: '希望是一个好东西,也许是最好的,好东西是不会消亡的',
-    updatedAt: new Date('2017-07-24'),
-    member: '全组都是吴彦祖',
-    href: '',
-    memberLink: '',
-  },
-  {
-    id: 'xxx3',
-    title: titles[2],
-    logo: avatars[2],
-    description: '城镇中有那么多的酒馆,她却偏偏走进了我的酒馆',
-    updatedAt: new Date(),
-    member: '中二少女团',
-    href: '',
-    memberLink: '',
-  },
-  {
-    id: 'xxx4',
-    title: titles[3],
-    logo: avatars[3],
-    description: '那时候我只会想自己想要什么,从不想自己拥有什么',
-    updatedAt: new Date('2017-07-23'),
-    member: '程序员日常',
-    href: '',
-    memberLink: '',
-  },
-  {
-    id: 'xxx5',
-    title: titles[4],
-    logo: avatars[4],
-    description: '凛冬将至',
-    updatedAt: new Date('2017-07-23'),
-    member: '高逼格设计天团',
-    href: '',
-    memberLink: '',
-  },
-  {
-    id: 'xxx6',
-    title: titles[5],
-    logo: avatars[5],
-    description: '生命就像一盒巧克力,结果往往出人意料',
-    updatedAt: new Date('2017-07-23'),
-    member: '骗你来学计算机',
-    href: '',
-    memberLink: '',
-  },
-];
-
-export const getActivities = [
-  {
-    id: 'trend-1',
-    updatedAt: new Date(),
-    user: {
-      name: '曲丽丽',
-      avatar: avatars2[0],
-    },
-    group: {
-      name: '高逼格设计天团',
-      link: 'http://github.com/',
-    },
-    project: {
-      name: '六月迭代',
-      link: 'http://github.com/',
-    },
-    template: '在 @{group} 新建项目 @{project}',
-  },
-  {
-    id: 'trend-2',
-    updatedAt: new Date(),
-    user: {
-      name: '付小小',
-      avatar: avatars2[1],
-    },
-    group: {
-      name: '高逼格设计天团',
-      link: 'http://github.com/',
-    },
-    project: {
-      name: '六月迭代',
-      link: 'http://github.com/',
-    },
-    template: '在 @{group} 新建项目 @{project}',
-  },
-  {
-    id: 'trend-3',
-    updatedAt: new Date(),
-    user: {
-      name: '林东东',
-      avatar: avatars2[2],
-    },
-    group: {
-      name: '中二少女团',
-      link: 'http://github.com/',
-    },
-    project: {
-      name: '六月迭代',
-      link: 'http://github.com/',
-    },
-    template: '在 @{group} 新建项目 @{project}',
-  },
-  {
-    id: 'trend-4',
-    updatedAt: new Date(),
-    user: {
-      name: '周星星',
-      avatar: avatars2[4],
-    },
-    project: {
-      name: '5 月日常迭代',
-      link: 'http://github.com/',
-    },
-    template: '将 @{project} 更新至已发布状态',
-  },
-  {
-    id: 'trend-5',
-    updatedAt: new Date(),
-    user: {
-      name: '朱偏右',
-      avatar: avatars2[3],
-    },
-    project: {
-      name: '工程效能',
-      link: 'http://github.com/',
-    },
-    comment: {
-      name: '留言',
-      link: 'http://github.com/',
-    },
-    template: '在 @{project} 发布了 @{comment}',
-  },
-  {
-    id: 'trend-6',
-    updatedAt: new Date(),
-    user: {
-      name: '乐哥',
-      avatar: avatars2[5],
-    },
-    group: {
-      name: '程序员日常',
-      link: 'http://github.com/',
-    },
-    project: {
-      name: '品牌迭代',
-      link: 'http://github.com/',
-    },
-    template: '在 @{group} 新建项目 @{project}',
-  },
-];
-
-export default {
-  getNotice,
-  getActivities,
-  getFakeList,
-};
diff --git a/mock/notices.js b/mock/notices.js
deleted file mode 100644
index 7e1b3ce..0000000
--- a/mock/notices.js
+++ /dev/null
@@ -1,99 +0,0 @@
-export const getNotices = (req, res) => {
-  res.json([
-    {
-      id: '000000001',
-      avatar: 'https://gw.alipayobjects.com/zos/rmsportal/ThXAXghbEsBCCSDihZxY.png',
-      title: '你收到了 14 份新周报',
-      datetime: '2017-08-09',
-      type: '通知',
-    },
-    {
-      id: '000000002',
-      avatar: 'https://gw.alipayobjects.com/zos/rmsportal/OKJXDXrmkNshAMvwtvhu.png',
-      title: '你推荐的 曲妮妮 已通过第三轮面试',
-      datetime: '2017-08-08',
-      type: '通知',
-    },
-    {
-      id: '000000003',
-      avatar: 'https://gw.alipayobjects.com/zos/rmsportal/kISTdvpyTAhtGxpovNWd.png',
-      title: '这种模板可以区分多种通知类型',
-      datetime: '2017-08-07',
-      read: true,
-      type: '通知',
-    },
-    {
-      id: '000000004',
-      avatar: 'https://gw.alipayobjects.com/zos/rmsportal/GvqBnKhFgObvnSGkDsje.png',
-      title: '左侧图标用于区分不同的类型',
-      datetime: '2017-08-07',
-      type: '通知',
-    },
-    {
-      id: '000000005',
-      avatar: 'https://gw.alipayobjects.com/zos/rmsportal/ThXAXghbEsBCCSDihZxY.png',
-      title: '内容不要超过两行字,超出时自动截断',
-      datetime: '2017-08-07',
-      type: '通知',
-    },
-    {
-      id: '000000006',
-      avatar: 'https://gw.alipayobjects.com/zos/rmsportal/fcHMVNCjPOsbUGdEduuv.jpeg',
-      title: '曲丽丽 评论了你',
-      description: '描述信息描述信息描述信息',
-      datetime: '2017-08-07',
-      type: '消息',
-    },
-    {
-      id: '000000007',
-      avatar: 'https://gw.alipayobjects.com/zos/rmsportal/fcHMVNCjPOsbUGdEduuv.jpeg',
-      title: '朱偏右 回复了你',
-      description: '这种模板用于提醒谁与你发生了互动,左侧放『谁』的头像',
-      datetime: '2017-08-07',
-      type: '消息',
-    },
-    {
-      id: '000000008',
-      avatar: 'https://gw.alipayobjects.com/zos/rmsportal/fcHMVNCjPOsbUGdEduuv.jpeg',
-      title: '标题',
-      description: '这种模板用于提醒谁与你发生了互动,左侧放『谁』的头像',
-      datetime: '2017-08-07',
-      type: '消息',
-    },
-    {
-      id: '000000009',
-      title: '任务名称',
-      description: '任务需要在 2017-01-12 20:00 前启动',
-      extra: '未开始',
-      status: 'todo',
-      type: '待办',
-    },
-    {
-      id: '000000010',
-      title: '第三方紧急代码变更',
-      description: '冠霖提交于 2017-01-06,需在 2017-01-07 前完成代码变更任务',
-      extra: '马上到期',
-      status: 'urgent',
-      type: '待办',
-    },
-    {
-      id: '000000011',
-      title: '信息安全考试',
-      description: '指派竹尔于 2017-01-09 前完成更新并发布',
-      extra: '已耗时 8 天',
-      status: 'doing',
-      type: '待办',
-    },
-    {
-      id: '000000012',
-      title: 'ABCD 版本发布',
-      description: '冠霖提交于 2017-01-06,需在 2017-01-07 前完成代码变更任务',
-      extra: '进行中',
-      status: 'processing',
-      type: '待办',
-    },
-  ]);
-};
-export default {
-  getNotices,
-};
diff --git a/mock/platform.js b/mock/platform.js
deleted file mode 100644
index 273c678..0000000
--- a/mock/platform.js
+++ /dev/null
@@ -1,206 +0,0 @@
-export const getPlatform = (req, res) => {
-  res.json({
-    "code": 200,
-    "message": null,
-    "data": {
-      "matchModeEnums": [{
-        "code": 0,
-        "name": "and",
-        "support": true,
-      }, {
-        "code": 1,
-        "name": "or",
-        "support": true,
-      }],
-      "wafEnums": [{
-        "code": 0,
-        "name": "reject",
-        "support": true,
-      }, {
-        "code": 1,
-        "name": "allow",
-        "support": true,
-      }],
-      "pluginEnums": [{
-        "code": 1,
-        "name": "global",
-        "support": true,
-      }, {
-        "code": 2,
-        "name": "sign",
-        "support": true,
-      }, {
-        "code": 10,
-        "name": "waf",
-        "support": true,
-      }, {
-        "code": 20,
-        "name": "rate_limiter",
-        "support": true,
-      }, {
-        "code": 30,
-        "name": "rewrite",
-        "support": true,
-      }, {
-        "code": 40,
-        "name": "redirect",
-        "support": true,
-      }, {
-        "code": 50,
-        "name": "divide",
-        "support": true,
-      }, {
-        "code": 60,
-        "name": "dubbo",
-        "support": true,
-      }, {
-        "code": 70,
-        "name": "springCloud",
-        "support": true,
-      }, {
-        "code": 80,
-        "name": "monitor",
-        "support": true,
-      }],
-      "selectorTypeEnums": [{
-        "code": 0,
-        "name": "full flow",
-        "support": true,
-      }, {
-        "code": 1,
-        "name": "custom flow",
-        "support": true,
-      }],
-      "rpcTypeEnums": [{
-        "code": null,
-        "name": "http",
-        "support": true,
-      }, {
-        "code": null,
-        "name": "dubbo",
-        "support": true,
-      }, {
-        "code": null,
-        "name": "springCloud",
-        "support": true,
-      }, {
-        "code": null,
-        "name": "motan",
-        "support": false,
-      }, {
-        "code": null,
-        "name": "grpc",
-        "support": false,
-      }],
-      "operatorEnums": [{
-        "code": null,
-        "name": "match",
-        "support": true,
-      }, {
-        "code": null,
-        "name": "=",
-        "support": true,
-      }, {
-        "code": null,
-        "name": ">",
-        "support": false,
-      }, {
-        "code": null,
-        "name": "<",
-        "support": false,
-      }, {
-        "code": null,
-        "name": "like",
-        "support": true,
-      }],
-      "paramTypeEnums": [{
-        "code": null,
-        "name": "post",
-        "support": false,
-      }, {
-        "code": null,
-        "name": "uri",
-        "support": false,
-      }, {
-        "code": null,
-        "name": "query",
-        "support": false,
-      }, {
-        "code": null,
-        "name": "host",
-        "support": true,
-      }, {
-        "code": null,
-        "name": "ip",
-        "support": true,
-      }, {
-        "code": null,
-        "name": "header",
-        "support": true,
-      }],
-      "pluginTypeEnums": [{
-        "code": null,
-        "name": "before",
-        "support": true,
-      }, {
-        "code": null,
-        "name": "function",
-        "support": true,
-      }, {
-        "code": null,
-        "name": "last",
-        "support": true,
-      }],
-      "loadBalanceEnums": [{
-        "code": 1,
-        "name": "hash",
-        "support": true,
-      }, {
-        "code": 2,
-        "name": "random",
-        "support": true,
-      }, {
-        "code": 3,
-        "name": "roundRobin",
-        "support": true,
-      }],
-      "httpMethodEnums": [{
-        "code": null,
-        "name": "get",
-        "support": true,
-      }, {
-        "code": null,
-        "name": "post",
-        "support": true,
-      }, {
-        "code": null,
-        "name": "put",
-        "support": false,
-      }, {
-        "code": null,
-        "name": "delete",
-        "support": false,
-      }],
-      "serializeEnums": [{
-        "code": null,
-        "name": "jdk",
-        "support": true,
-      }, {
-        "code": null,
-        "name": "kryo",
-        "support": true,
-      }, {
-        "code": null,
-        "name": "hessian",
-        "support": true,
-      }, {
-        "code": null,
-        "name": "protostuff",
-        "support": true,
-      }],
-    },
-  });
-};
-export default {
-  getPlatform,
-};
diff --git a/mock/plugin.js b/mock/plugin.js
deleted file mode 100644
index 5a1182f..0000000
--- a/mock/plugin.js
+++ /dev/null
@@ -1,78 +0,0 @@
-export const getPlugin = (req, res) => {
-  res.json({
-    "code": 200,
-    "message": null,
-    "data": {
-      "page": {
-        "currentPage": 1,
-        "prePage": 1,
-        "nextPage": 1,
-        "pageSize": 10,
-        "offset": 0,
-        "totalPage": 1,
-        "totalCount": 7,
-      },
-      "dataList": [
-        {
-          "id": "1",
-          "code": 2,
-          "name": "sign",
-          "enabled": false,
-          "dateCreated": "2018-06-14 10:17:35",
-          "dateUpdated": "2018-06-14 10:17:35",
-        },
-        {
-          "id": "2",
-          "code": 10,
-          "name": "waf",
-          "enabled": false,
-          "dateCreated": "2018-06-23 10:26:30",
-          "dateUpdated": "2018-06-13 15:43:10",
-        },
-        {
-          "id": "3",
-          "code": 30,
-          "name": "rewrite",
-          "enabled": false,
-          "dateCreated": "2018-06-23 10:26:34",
-          "dateUpdated": "2018-06-25 13:59:31",
-        },
-        {
-          "id": "4",
-          "code": 20,
-          "name": "rate_limiter",
-          "enabled": false,
-          "dateCreated": "2018-06-23 10:26:37",
-          "dateUpdated": "2018-06-13 15:34:48",
-        },
-        {
-          "id": "5",
-          "code": 50,
-          "name": "divide",
-          "enabled": true,
-          "dateCreated": "2018-06-25 10:19:10",
-          "dateUpdated": "2018-06-13 13:56:04",
-        },
-        {
-          "id": "6",
-          "code": 60,
-          "name": "dubbo",
-          "enabled": false,
-          "dateCreated": "2018-06-23 10:26:41",
-          "dateUpdated": "2018-06-11 10:11:47",
-        },
-        {
-          "id": "7",
-          "code": 80,
-          "name": "monitor",
-          "enabled": false,
-          "dateCreated": "2018-06-25 13:47:57",
-          "dateUpdated": "2018-06-25 13:47:57",
-        },
-      ],
-    },
-  });
-};
-export default {
-  getPlugin,
-};
diff --git a/mock/rules.js b/mock/rules.js
deleted file mode 100644
index e69de29..0000000
diff --git a/mock/selector.js b/mock/selector.js
deleted file mode 100644
index e69de29..0000000
diff --git a/mock/user.js b/mock/user.js
deleted file mode 100644
index 5faa40f..0000000
--- a/mock/user.js
+++ /dev/null
@@ -1,49 +0,0 @@
-export const getUsers = () => {
-  return {
-    code: 200,
-    data: {
-      page: {
-        currentPage: 1,
-        prePage: 1,
-        nextPage: 1,
-        pageSize: 10,
-        offset: 0,
-        totalPage: 1,
-        totalCount: 1,
-      },
-      dataList: [
-        {
-          id: '1',
-          userName: 'ADMIN',
-          password: '123456',
-          role: 1,
-          enabled: true,
-          dateCreated: '2018-07-28 13:38:05',
-          dateUpdated: '2018-07-28 13:38:05',
-        },
-        {
-          id: '2',
-          userName: 'ADMIN2',
-          password: '123456',
-          role: 1,
-          enabled: true,
-          dateCreated: '2018-07-28 13:38:05',
-          dateUpdated: '2018-07-28 13:38:05',
-        },
-        {
-          id: '3',
-          userName: 'User',
-          password: '123456',
-          role: 1,
-          enabled: true,
-          dateCreated: '2018-07-28 13:38:05',
-          dateUpdated: '2018-07-28 13:38:05',
-        },
-      ],
-    },
-  }
-
-};
-export default {
-  getUsers,
-};
diff --git a/package.json b/package.json
index 4361ad3..aee4123 100755
--- a/package.json
+++ b/package.json
@@ -10,8 +10,8 @@
     "site": "roadhog-api-doc static && gh-pages -d dist",
     "analyze": "cross-env ANALYZE=true roadhog build",
     "lint:style": "stylelint \"src/**/*.less\" --syntax less",
-    "lint": "eslint --ext .js src mock tests && npm run lint:style",
-    "lint:fix": "eslint --fix --ext .js src mock tests && npm run lint:style",
+    "lint": "eslint --ext .js src tests && npm run lint:style",
+    "lint:fix": "eslint --fix --ext .js src tests && npm run lint:style",
     "lint-staged": "lint-staged",
     "lint-staged:js": "eslint --ext .js",
     "test": "roadhog test",
diff --git a/public/favicon.ico b/public/favicon.ico
new file mode 100644
index 0000000..b6e72f0
Binary files /dev/null and b/public/favicon.ico differ
diff --git a/public/favicon.png b/public/favicon.png
deleted file mode 100644
index d0992d2..0000000
Binary files a/public/favicon.png and /dev/null differ