From cfde7297fdb90b1f9e3d35d1184b76f58d4a5499 Mon Sep 17 00:00:00 2001 From: hoteas Date: Mon, 31 Oct 2022 01:18:40 +0800 Subject: [PATCH] =?UTF-8?q?=E9=87=8D=E6=96=B0=E7=B4=A2=E5=BC=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- config/admin.json | 399 ++++ config/adminDB.json | 4824 +++++++++++++++++++++++++++++++++++++++++++ config/rule.json | 422 ++++ go.mod | 14 + go.sum | 243 +++ 5 files changed, 5902 insertions(+) create mode 100644 config/admin.json create mode 100644 config/adminDB.json create mode 100644 config/rule.json create mode 100644 go.mod create mode 100644 go.sum diff --git a/config/admin.json b/config/admin.json new file mode 100644 index 0000000..f3e5141 --- /dev/null +++ b/config/admin.json @@ -0,0 +1,399 @@ +{ + "flow": { + "category": { + "sql": { + "admin_id": "id" + }, + "stop": false, + "table": "category" + }, + "company": { + "sql": { + "admin_id": "id" + }, + "stop": false, + "table": "company" + }, + "company_history": { + "sql": { + "admin_id": "id" + }, + "stop": false, + "table": "company_history" + }, + "company_tune": { + "sql": { + "admin_id": "id" + }, + "stop": false, + "table": "company_tune" + }, + "industry": { + "sql": { + "admin_id": "id" + }, + "stop": false, + "table": "industry" + }, + "logs": { + "sql": { + "admin_id": "id" + }, + "stop": false, + "table": "logs" + }, + "org": { + "sql": { + "admin_id": "id" + }, + "stop": false, + "table": "org" + }, + "tag": { + "sql": { + "admin_id": "id" + }, + "stop": false, + "table": "tag" + }, + "tag_ctg": { + "sql": { + "admin_id": "id" + }, + "stop": false, + "table": "tag_ctg" + } + }, + "id": "9997520cd653386cbace95a787c95b7c", + "label": "HoTime管理平台", + "labelConfig": { + "add": "添加", + "delete": "删除", + "download": "下载清单", + "edit": "编辑", + "info": "查看详情", + "show": "开启" + }, + "menus": [ + { + "auth": ["show"], + "icon": "Setting", + "label": "首 页", + "name": "HelloWorld" + }, + { + "auth": [ + "show" + ], + "icon": "Setting", + "label": "企业管理", + "menus": [ + { + "auth": [ + "show", + "add", + "upload", + "delete", + "edit", + "info", + "download" + ], + "label": "企业管理", + "table": "company" + }, + { + "auth": [ + "show", + "add", + "delete", + "edit", + "info", + "download" + ], + "label": "历史信息", + "table": "company_history" + }, + { + "auth": [ + "show", + "add", + "delete", + "edit", + "info", + "download" + ], + "label": "企业调整", + "table": "company_tune" + } + + ], + "name": "sys:company" + }, + { + "auth": [ + "show" + ], + "icon": "Setting", + "label": "行业分类", + "menus": [ + { + "auth": [ + "show", + "add", + "delete", + "edit", + "info", + "download" + ], + "label": "行业分类", + "table": "category" + }, + { + "auth": [ + "show", + "add", + "delete", + "edit", + "info", + "download" + ], + "label": "行业分析", + "table": "category_analyse" + } + ], + "name": "sys:category" + }, + { + "auth": [ + "show" + ], + "icon": "Setting", + "label": "系统管理", + "menus": [ + { + "auth": [ + "show", + "download" + ], + "label": "日志管理", + "table": "logs" + }, + { + "auth": [ + "show", + "add", + "delete", + "edit", + "info", + "download" + ], + "label": "角色管理", + "table": "role" + }, + { + "auth": [ + "show", + "add", + "delete", + "edit", + "info", + "download" + ], + "label": "企业用户", + "table": "user" + }, + { + "auth": [ + "show", + "add", + "delete", + "edit", + "info", + "download" + ], + "label": "微信信息", + "table": "wechat" + }, + { + "auth": [ + "show", + "add", + "delete", + "edit", + "info", + "download" + ], + "label": "地区管理", + "table": "area" + }, + { + "auth": [ + "show", + "add", + "delete", + "edit", + "info", + "download" + ], + "label": "城市管理", + "table": "city" + }, + { + "auth": [ + "show", + "add", + "delete", + "edit", + "info", + "download" + ], + "label": "人员管理", + "table": "admin" + } + ], + "name": "sys" + }, + + { + "auth": [ + "show" + ], + "icon": "Setting", + "label": "产业分析", + "menus": [ + { + "auth": [ + "show", + "add", + "delete", + "edit", + "info", + "download" + ], + "label": "产业分析", + "table": "industry_analyse" + }, + { + "auth": [ + "show", + "add", + "delete", + "edit", + "info", + "download" + ], + "label": "产业分类", + "table": "industry" + } + ], + "name": "sys:industry" + }, + { + "auth": [ + "show" + ], + "icon": "Setting", + "label": "行业评价", + "menus": [ + { + "auth": [ + "show", + "add", + "delete", + "edit", + "info", + "download" + ], + "label": "行业评价", + "table": "org_analyse" + }, + { + "auth": [ + "show", + "add", + "delete", + "edit", + "info", + "download" + ], + "label": "部门管理", + "table": "org" + } + ], + "name": "sys:org" + }, + { + "auth": [ + "show" + ], + "icon": "Setting", + "label": "指标分类", + "menus": [ + { + "auth": [ + "show", + "add", + "delete", + "edit", + "info", + "download" + ], + "label": "指标分类", + "table": "tag_ctg" + }, + { + "auth": [ + "show", + "add", + "delete", + "edit", + "info", + "download" + ], + "label": "指标管理", + "table": "tag" + } + ], + "name": "sys:tag" + }, + { + "auth": [ + "show" + ], + "icon": "Setting", + "label": "调查管理", + "menus": [ + { + "auth": [ + "show", + "add", + "delete", + "edit", + "info", + "download" + ], + "label": "调查管理", + "table": "question" + }, + { + "auth": [ + "show", + "add", + "delete", + "edit", + "info", + "download" + ], + "label": "调查结果", + "table": "question_company" + } + ], + "name": "sys:question" + } + ], + "name": "admin", + "stop": [ + "role", + "org" + ] +} \ No newline at end of file diff --git a/config/adminDB.json b/config/adminDB.json new file mode 100644 index 0000000..8ad274c --- /dev/null +++ b/config/adminDB.json @@ -0,0 +1,4824 @@ +{ + "flow": { + "category": { + "sql": { + "admin_id": "id" + }, + "stop": false, + "table": "category" + }, + "company": { + "sql": { + "admin_id": "id" + }, + "stop": false, + "table": "company" + }, + "company_history": { + "sql": { + "admin_id": "id" + }, + "stop": false, + "table": "company_history" + }, + "company_tune": { + "sql": { + "admin_id": "id" + }, + "stop": false, + "table": "company_tune" + }, + "industry": { + "sql": { + "admin_id": "id" + }, + "stop": false, + "table": "industry" + }, + "logs": { + "sql": { + "admin_id": "id" + }, + "stop": false, + "table": "logs" + }, + "org": { + "sql": { + "admin_id": "id" + }, + "stop": false, + "table": "org" + }, + "tag": { + "sql": { + "admin_id": "id" + }, + "stop": false, + "table": "tag" + }, + "tag_ctg": { + "sql": { + "admin_id": "id" + }, + "stop": false, + "table": "tag_ctg" + } + }, + "id": "9997520cd653386cbace95a787c95b7c", + "label": "HoTime管理平台", + "labelConfig": { + "add": "添加", + "delete": "删除", + "download": "下载清单", + "edit": "编辑", + "info": "查看详情", + "show": "开启" + }, + "menus": [ + { + "auth": [ + "show" + ], + "icon": "Setting", + "label": "系统管理", + "menus": [ + { + "auth": [ + "show", + "add", + "delete", + "edit", + "info", + "download" + ], + "label": "城市管理", + "table": "city" + }, + { + "auth": [ + "show", + "add", + "delete", + "edit", + "info", + "download" + ], + "label": "企业用户", + "table": "user" + }, + { + "auth": [ + "show", + "add", + "delete", + "edit", + "info", + "download" + ], + "label": "角色管理", + "table": "role" + }, + { + "auth": [ + "show", + "add", + "delete", + "edit", + "info", + "download" + ], + "label": "人员管理", + "table": "admin" + }, + { + "auth": [ + "show", + "add", + "delete", + "edit", + "info", + "download" + ], + "label": "地区管理", + "table": "area" + }, + { + "auth": [ + "show", + "add", + "delete", + "edit", + "info", + "download" + ], + "label": "微信信息", + "table": "wechat" + }, + { + "auth": [ + "show", + "download" + ], + "label": "日志管理", + "table": "logs" + } + ], + "name": "sys" + }, + { + "auth": [ + "show" + ], + "icon": "Setting", + "label": "调查管理", + "menus": [ + { + "auth": [ + "show", + "add", + "delete", + "edit", + "info", + "download" + ], + "label": "调查管理", + "table": "question" + }, + { + "auth": [ + "show", + "add", + "delete", + "edit", + "info", + "download" + ], + "label": "调查结果", + "table": "question_company" + } + ], + "name": "sys:question" + }, + { + "auth": [ + "show" + ], + "icon": "Setting", + "label": "历史信息", + "menus": [ + { + "auth": [ + "show", + "add", + "delete", + "edit", + "info", + "download" + ], + "label": "历史信息", + "table": "company_history" + }, + { + "auth": [ + "show", + "add", + "delete", + "edit", + "info", + "download" + ], + "label": "企业管理", + "table": "company" + }, + { + "auth": [ + "show", + "add", + "delete", + "edit", + "info", + "download" + ], + "label": "企业调整", + "table": "company_tune" + } + ], + "name": "sys:company" + }, + { + "auth": [ + "show" + ], + "icon": "Setting", + "label": "产业分类", + "menus": [ + { + "auth": [ + "show", + "add", + "delete", + "edit", + "info", + "download" + ], + "label": "产业分类", + "table": "industry" + }, + { + "auth": [ + "show", + "add", + "delete", + "edit", + "info", + "download" + ], + "label": "产业分析", + "table": "industry_analyse" + } + ], + "name": "sys:industry" + }, + { + "auth": [ + "show" + ], + "icon": "Setting", + "label": "行业分类", + "menus": [ + { + "auth": [ + "show", + "add", + "delete", + "edit", + "info", + "download" + ], + "label": "行业分类", + "table": "category" + }, + { + "auth": [ + "show", + "add", + "delete", + "edit", + "info", + "download" + ], + "label": "行业分析", + "table": "category_analyse" + } + ], + "name": "sys:category" + }, + { + "auth": [ + "show" + ], + "icon": "Setting", + "label": "指标分类", + "menus": [ + { + "auth": [ + "show", + "add", + "delete", + "edit", + "info", + "download" + ], + "label": "指标分类", + "table": "tag_ctg" + }, + { + "auth": [ + "show", + "add", + "delete", + "edit", + "info", + "download" + ], + "label": "指标管理", + "table": "tag" + } + ], + "name": "sys:tag" + }, + { + "auth": [ + "show" + ], + "icon": "Setting", + "label": "行业评价", + "menus": [ + { + "auth": [ + "show", + "add", + "delete", + "edit", + "info", + "download" + ], + "label": "行业评价", + "table": "org_analyse" + }, + { + "auth": [ + "show", + "add", + "delete", + "edit", + "info", + "download" + ], + "label": "部门管理", + "table": "org" + } + ], + "name": "sys:org" + } + ], + "name": "admin", + "stop": [ + "role", + "org" + ], + "tables": { + "admin": { + "auth": [ + "show", + "add", + "delete", + "edit", + "info", + "download" + ], + "columns": [ + { + "add": false, + "edit": false, + "label": "ID", + "name": "id", + "sortable": true, + "type": "number" + }, + { + "label": "名称", + "name": "name", + "type": "text" + }, + { + "label": "手机号", + "name": "phone", + "type": "text" + }, + { + "add": false, + "edit": false, + "label": "创建时间", + "list": false, + "name": "create_time", + "type": "unixTime" + }, + { + "add": false, + "edit": false, + "label": "变更时间", + "name": "modify_time", + "type": "unixTime" + }, + { + "label": "状态", + "name": "state", + "options": [ + { + "name": "已启用", + "value": "0" + }, + { + "name": "未启用", + "value": "1" + }, + { + "name": "异常", + "value": "2" + } + ], + "type": "select" + }, + { + "info": false, + "label": "密码", + "list": false, + "name": "password", + "type": "password" + }, + { + "label": "头像", + "list": false, + "name": "avatar_img", + "type": "image" + }, + { + "label": "职位", + "name": "title", + "type": "text" + } + ], + "label": "人员管理", + "search": [ + { + "label": "筛选", + "name": "keywordtable", + "options": [ + { + "name": "无", + "value": null + }, + { + "name": "ID", + "value": "id" + }, + { + "name": "职位", + "value": "title" + }, + { + "name": "名称", + "value": "name" + }, + { + "name": "手机号", + "value": "phone" + } + ], + "type": "search", + "value": null + }, + { + "label": "筛选", + "name": "daterangetable", + "options": [ + { + "name": "无", + "value": null + } + ], + "type": "search", + "value": null + }, + { + "label": "请输入关键词", + "name": "keyword", + "type": "search", + "value": null + }, + { + "label": "时间段", + "name": "daterange", + "type": "search", + "value": null + }, + { + "label": "排序", + "name": "sort", + "type": "search", + "value": null + }, + { + "label": "状态", + "name": "state", + "options": [ + { + "name": "已启用", + "value": "0" + }, + { + "name": "未启用", + "value": "1" + }, + { + "name": "异常", + "value": "2" + }, + { + "name": "全部", + "value": null + } + ], + "type": "select", + "value": null + } + ], + "table": "admin" + }, + "area": { + "auth": [ + "show", + "add", + "delete", + "edit", + "info", + "download" + ], + "columns": [ + { + "add": false, + "edit": false, + "label": "id", + "name": "id", + "sortable": true, + "type": "number" + }, + { + "add": false, + "edit": false, + "label": "层级", + "list": false, + "name": "level", + "sortable": true, + "type": "number" + }, + { + "label": "父级行政代码", + "name": "parent_code", + "sortable": true, + "type": "number" + }, + { + "label": "行政代码", + "name": "area_code", + "sortable": true, + "type": "number" + }, + { + "label": "邮政编码", + "name": "zip_code", + "sortable": true, + "type": "number" + }, + { + "label": "区号", + "name": "city_code", + "type": "text" + }, + { + "label": "名称", + "name": "name", + "type": "text" + }, + { + "label": "简称", + "name": "short_name", + "type": "text" + }, + { + "label": "组合名", + "name": "merger_name", + "type": "text" + }, + { + "label": "拼音", + "name": "pinyin", + "type": "text" + }, + { + "label": "经度", + "list": false, + "name": "lng", + "sortable": true, + "type": "number" + }, + { + "label": "纬度", + "list": false, + "name": "lat", + "sortable": true, + "type": "number" + } + ], + "label": "地区管理", + "search": [ + { + "label": "筛选", + "name": "keywordtable", + "options": [ + { + "name": "无", + "value": null + } + ], + "type": "search", + "value": null + }, + { + "label": "筛选", + "name": "daterangetable", + "options": [ + { + "name": "无", + "value": null + } + ], + "type": "search", + "value": null + }, + { + "label": "请输入关键词", + "name": "keyword", + "type": "search", + "value": null + }, + { + "label": "时间段", + "name": "daterange", + "type": "search", + "value": null + }, + { + "label": "排序", + "name": "sort", + "type": "search", + "value": null + } + ], + "table": "area" + }, + "category": { + "auth": [ + "show", + "add", + "delete", + "edit", + "info", + "download" + ], + "columns": [ + { + "add": false, + "edit": false, + "label": "ID", + "name": "id", + "sortable": true, + "type": "number" + }, + { + "label": "名称", + "name": "name", + "type": "text" + }, + { + "label": "排序", + "list": false, + "name": "sort", + "sortable": true, + "type": "number" + }, + { + "label": "上级分类", + "link": "category", + "name": "parent_id", + "sortable": true, + "type": "number", + "value": "name" + }, + { + "label": "创建人员", + "link": "admin", + "name": "admin_id", + "sortable": true, + "type": "number", + "value": "name" + }, + { + "add": false, + "edit": false, + "label": "创建时间", + "list": false, + "name": "create_time", + "type": "unixTime" + }, + { + "add": false, + "edit": false, + "label": "变更时间", + "name": "modify_time", + "type": "unixTime" + }, + { + "label": "状态", + "name": "state", + "options": [ + { + "name": "已启用", + "value": "0" + }, + { + "name": "未启用", + "value": "1" + }, + { + "name": "异常", + "value": "2" + } + ], + "type": "select" + }, + { + "add": false, + "edit": false, + "info": false, + "label": "索引", + "list": false, + "name": "index", + "notUse": true, + "type": "index" + }, + { + "label": "行业代码", + "name": "code", + "type": "text" + }, + { + "add": false, + "edit": false, + "label": "层级", + "list": false, + "name": "level", + "sortable": true, + "type": "number" + } + ], + "label": "行业分类", + "search": [ + { + "label": "筛选", + "name": "keywordtable", + "options": [ + { + "name": "无", + "value": null + }, + { + "name": "名称", + "value": "name" + }, + { + "name": "ID", + "value": "id" + }, + { + "name": "行业代码", + "value": "code" + } + ], + "type": "search", + "value": null + }, + { + "label": "筛选", + "name": "daterangetable", + "options": [ + { + "name": "无", + "value": null + } + ], + "type": "search", + "value": null + }, + { + "label": "请输入关键词", + "name": "keyword", + "type": "search", + "value": null + }, + { + "label": "时间段", + "name": "daterange", + "type": "search", + "value": null + }, + { + "label": "排序", + "name": "sort", + "type": "search", + "value": null + }, + { + "label": "状态", + "name": "state", + "options": [ + { + "name": "已启用", + "value": "0" + }, + { + "name": "未启用", + "value": "1" + }, + { + "name": "异常", + "value": "2" + }, + { + "name": "全部", + "value": null + } + ], + "type": "select", + "value": null + }, + { + "label": "上级分类", + "link": "category", + "name": "parent_id", + "type": "tree", + "value": "name" + } + ], + "table": "category" + }, + "category_analyse": { + "auth": [ + "show", + "add", + "delete", + "edit", + "info", + "download" + ], + "columns": [ + { + "add": false, + "edit": false, + "label": "ID", + "name": "id", + "sortable": true, + "type": "number" + }, + { + "label": "名称", + "name": "name", + "type": "text" + }, + { + "label": "状态", + "name": "state", + "options": [ + { + "name": "已启用", + "value": "0" + }, + { + "name": "未启用", + "value": "1" + }, + { + "name": "异常", + "value": "2" + } + ], + "type": "select" + }, + { + "label": "组织", + "link": "org", + "name": "org_id", + "sortable": true, + "type": "number", + "value": "name" + }, + { + "label": "分析结果", + "name": "data", + "type": "text" + }, + { + "label": "城市", + "link": "city", + "name": "city_id", + "sortable": true, + "type": "number", + "value": "name" + }, + { + "label": "行业", + "link": "category", + "name": "category_id", + "sortable": true, + "type": "number", + "value": "name" + }, + { + "add": false, + "edit": false, + "label": "变更时间", + "name": "modify_time", + "type": "unixTime" + }, + { + "add": false, + "edit": false, + "label": "创建时间", + "list": false, + "name": "create_time", + "type": "unixTime" + } + ], + "label": "行业分析", + "search": [ + { + "label": "筛选", + "name": "keywordtable", + "options": [ + { + "name": "无", + "value": null + }, + { + "name": "ID", + "value": "id" + }, + { + "name": "名称", + "value": "name" + }, + { + "name": "分析结果", + "value": "data" + } + ], + "type": "search", + "value": null + }, + { + "label": "筛选", + "name": "daterangetable", + "options": [ + { + "name": "无", + "value": null + } + ], + "type": "search", + "value": null + }, + { + "label": "请输入关键词", + "name": "keyword", + "type": "search", + "value": null + }, + { + "label": "时间段", + "name": "daterange", + "type": "search", + "value": null + }, + { + "label": "排序", + "name": "sort", + "type": "search", + "value": null + }, + { + "label": "状态", + "name": "state", + "options": [ + { + "name": "已启用", + "value": "0" + }, + { + "name": "未启用", + "value": "1" + }, + { + "name": "异常", + "value": "2" + }, + { + "name": "全部", + "value": null + } + ], + "type": "select", + "value": null + }, + { + "label": "城市", + "link": "city", + "name": "city_id", + "type": "tree", + "value": "name" + }, + { + "label": "组织", + "link": "org", + "name": "org_id", + "type": "tree", + "value": "name" + }, + { + "label": "行业", + "link": "category", + "name": "category_id", + "type": "tree", + "value": "name" + } + ], + "table": "category_analyse" + }, + "city": { + "auth": [ + "show", + "add", + "delete", + "edit", + "info", + "download" + ], + "columns": [ + { + "add": false, + "edit": false, + "label": "ID", + "name": "id", + "sortable": true, + "type": "number" + }, + { + "add": false, + "edit": false, + "label": "层级", + "list": false, + "name": "level", + "sortable": true, + "type": "number" + }, + { + "label": "上级区域", + "link": "city", + "name": "parent_id", + "sortable": true, + "type": "number", + "value": "name" + }, + { + "label": "行政代码", + "name": "area_code", + "sortable": true, + "type": "number" + }, + { + "label": "邮政编码", + "name": "zip_code", + "sortable": true, + "type": "number" + }, + { + "label": "区号", + "name": "city_code", + "type": "text" + }, + { + "label": "名称", + "name": "name", + "type": "text" + }, + { + "label": "简称", + "name": "short_name", + "type": "text" + }, + { + "label": "组合名", + "name": "merger_name", + "type": "text" + }, + { + "label": "拼音", + "name": "pinyin", + "type": "text" + }, + { + "label": "经度", + "list": false, + "name": "lng", + "sortable": true, + "type": "number" + }, + { + "label": "纬度", + "list": false, + "name": "lat", + "sortable": true, + "type": "number" + }, + { + "add": false, + "edit": false, + "info": false, + "label": "索引", + "list": false, + "name": "index", + "notUse": true, + "type": "index" + } + ], + "label": "城市管理", + "search": [ + { + "label": "筛选", + "name": "keywordtable", + "options": [ + { + "name": "无", + "value": null + } + ], + "type": "search", + "value": null + }, + { + "label": "筛选", + "name": "daterangetable", + "options": [ + { + "name": "无", + "value": null + } + ], + "type": "search", + "value": null + }, + { + "label": "请输入关键词", + "name": "keyword", + "type": "search", + "value": null + }, + { + "label": "时间段", + "name": "daterange", + "type": "search", + "value": null + }, + { + "label": "排序", + "name": "sort", + "type": "search", + "value": null + }, + { + "label": "上级区域", + "link": "city", + "name": "parent_id", + "type": "tree", + "value": "name" + } + ], + "table": "city" + }, + "company": { + "auth": [ + "show", + "add", + "delete", + "edit", + "info", + "download" + ], + "columns": [ + { + "add": false, + "edit": false, + "label": "id", + "name": "id", + "sortable": true, + "type": "number" + }, + { + "label": "企业名称", + "name": "name", + "type": "text" + }, + { + "add": false, + "edit": false, + "label": "统一社会信用代码", + "name": "sn", + "type": "text" + }, + { + "label": "归属组织", + "link": "org", + "name": "org_id", + "sortable": true, + "type": "number", + "value": "name" + }, + { + "label": "行业类型", + "link": "category", + "name": "category_id", + "sortable": true, + "type": "number", + "value": "name" + }, + { + "label": "企业地址", + "name": "address", + "type": "text" + }, + { + "label": "属地名称", + "name": "unit", + "type": "text" + }, + { + "label": "营业收入", + "name": "yysr", + "type": "text" + }, + { + "label": "利润总额", + "name": "lrze", + "type": "text" + }, + { + "label": "占地面积", + "name": "zdmj", + "type": "text" + }, + { + "label": "应缴税金", + "name": "yjsj", + "type": "text" + }, + { + "label": "研发经费", + "name": "yfjf", + "type": "text" + }, + { + "label": "职工人数", + "name": "zgrs", + "type": "text" + }, + { + "label": "主要污染物排放当量", + "name": "zywrwpfdl", + "type": "text" + }, + { + "label": "综合能耗", + "name": "zhnh", + "type": "text" + }, + { + "add": false, + "edit": false, + "label": "创建时间", + "list": false, + "name": "create_time", + "type": "unixTime" + }, + { + "add": false, + "edit": false, + "label": "变更时间", + "name": "modify_time", + "type": "unixTime" + }, + { + "label": "状态", + "name": "state", + "options": [ + { + "name": "已启用", + "value": "0" + }, + { + "name": "未启用", + "value": "1" + }, + { + "name": "异常", + "value": "2" + } + ], + "type": "select" + }, + { + "label": "变更用户", + "link": "admin", + "name": "admin_id", + "sortable": true, + "type": "number", + "value": "name" + }, + { + "label": "企业规模", + "name": "gs", + "options": [ + { + "name": "规下", + "value": "0" + }, + { + "name": "规上", + "value": "1" + } + ], + "sortable": true, + "type": "select" + }, + { + "label": "企业画像", + "name": "analyse", + "type": "text" + }, + { + "add": false, + "edit": false, + "label": "企业评级", + "list": false, + "name": "level", + "options": [ + { + "name": "A", + "value": "0" + }, + { + "name": "B", + "value": "1" + }, + { + "name": "C", + "value": "2" + }, + { + "name": "D", + "value": "3" + } + ], + "sortable": true, + "type": "select" + }, + { + "label": "企业得分", + "name": "score", + "sortable": true, + "type": "number" + }, + { + "label": "上传数据", + "name": "upload_data", + "type": "text" + }, + { + "label": "采集数据", + "name": "collect_data", + "type": "text" + }, + { + "label": "城市", + "link": "city", + "name": "city_id", + "sortable": true, + "type": "number", + "value": "name" + }, + { + "label": "经度", + "list": false, + "name": "lat", + "sortable": true, + "type": "number" + }, + { + "label": "纬度", + "list": false, + "name": "lng", + "sortable": true, + "type": "number" + }, + { + "label": "最新历史", + "link": "company_history", + "name": "company_history_id", + "sortable": true, + "type": "number", + "value": "name" + }, + { + "label": "产业类别", + "link": "industry", + "name": "industry_id", + "sortable": true, + "type": "number", + "value": "name" + }, + { + "label": "认证状态", + "name": "status", + "options": [ + { + "name": "未认证", + "value": "0" + }, + { + "name": "已认证", + "value": "1" + }, + { + "name": "异常", + "value": "2" + } + ], + "type": "select" + }, + { + "label": "营业执照", + "list": false, + "name": "img", + "type": "image" + } + ], + "label": "企业管理", + "search": [ + { + "label": "筛选", + "name": "keywordtable", + "options": [ + { + "name": "无", + "value": null + }, + { + "name": "职工人数", + "value": "zgrs" + }, + { + "name": "营业收入", + "value": "yysr" + }, + { + "name": "应缴税金", + "value": "yjsj" + }, + { + "name": "综合能耗", + "value": "zhnh" + }, + { + "name": "研发经费", + "value": "yfjf" + }, + { + "name": "采集数据", + "value": "collect_data" + }, + { + "name": "统一社会信用代码", + "value": "sn" + }, + { + "name": "企业地址", + "value": "address" + }, + { + "name": "利润总额", + "value": "lrze" + }, + { + "name": "企业画像", + "value": "analyse" + }, + { + "name": "企业名称", + "value": "name" + }, + { + "name": "上传数据", + "value": "upload_data" + }, + { + "name": "id", + "value": "id" + }, + { + "name": "属地名称", + "value": "unit" + }, + { + "name": "占地面积", + "value": "zdmj" + }, + { + "name": "主要污染物排放当量", + "value": "zywrwpfdl" + } + ], + "type": "search", + "value": null + }, + { + "label": "筛选", + "name": "daterangetable", + "options": [ + { + "name": "无", + "value": null + } + ], + "type": "search", + "value": null + }, + { + "label": "请输入关键词", + "name": "keyword", + "type": "search", + "value": null + }, + { + "label": "时间段", + "name": "daterange", + "type": "search", + "value": null + }, + { + "label": "排序", + "name": "sort", + "type": "search", + "value": null + }, + { + "label": "状态", + "name": "state", + "options": [ + { + "name": "已启用", + "value": "0" + }, + { + "name": "未启用", + "value": "1" + }, + { + "name": "异常", + "value": "2" + }, + { + "name": "全部", + "value": null + } + ], + "type": "select", + "value": null + }, + { + "label": "认证状态", + "name": "status", + "options": [ + { + "name": "未认证", + "value": "0" + }, + { + "name": "已认证", + "value": "1" + }, + { + "name": "异常", + "value": "2" + }, + { + "name": "全部", + "value": null + } + ], + "type": "select", + "value": null + }, + { + "add": false, + "edit": false, + "label": "企业评级", + "list": false, + "name": "level", + "options": [ + { + "name": "A", + "value": "0" + }, + { + "name": "B", + "value": "1" + }, + { + "name": "C", + "value": "2" + }, + { + "name": "D", + "value": "3" + }, + { + "name": "全部", + "value": null + } + ], + "sortable": true, + "type": "select", + "value": null + }, + { + "label": "企业规模", + "name": "gs", + "options": [ + { + "name": "规下", + "value": "0" + }, + { + "name": "规上", + "value": "1" + }, + { + "name": "全部", + "value": null + } + ], + "sortable": true, + "type": "select", + "value": null + }, + { + "label": "城市", + "link": "city", + "name": "city_id", + "type": "tree", + "value": "name" + }, + { + "label": "归属组织", + "link": "org", + "name": "org_id", + "type": "tree", + "value": "name" + }, + { + "label": "行业类型", + "link": "category", + "name": "category_id", + "type": "tree", + "value": "name" + } + ], + "table": "company" + }, + "company_history": { + "auth": [ + "show", + "add", + "delete", + "edit", + "info", + "download" + ], + "columns": [ + { + "add": false, + "edit": false, + "label": "id", + "name": "id", + "sortable": true, + "type": "number" + }, + { + "label": "企业名称", + "name": "name", + "type": "text" + }, + { + "add": false, + "edit": false, + "label": "统一社会信用代码", + "name": "sn", + "type": "text" + }, + { + "label": "归属组织", + "link": "org", + "name": "org_id", + "sortable": true, + "type": "number", + "value": "name" + }, + { + "label": "行业类型", + "link": "category", + "name": "category_id", + "sortable": true, + "type": "number", + "value": "name" + }, + { + "label": "企业地址", + "name": "address", + "type": "text" + }, + { + "label": "属地名称", + "name": "unit", + "type": "text" + }, + { + "label": "营业收入", + "name": "yysr", + "type": "text" + }, + { + "label": "利润总额", + "name": "lrze", + "type": "text" + }, + { + "label": "占地面积", + "name": "zdmj", + "type": "text" + }, + { + "label": "应缴税金", + "name": "yjsj", + "type": "text" + }, + { + "label": "研发经费", + "name": "yfjf", + "type": "text" + }, + { + "label": "职工人数", + "name": "zgrs", + "type": "text" + }, + { + "label": "主要污染物排放当量", + "name": "zywrwpfdl", + "type": "text" + }, + { + "label": "综合能耗", + "name": "zhnh", + "type": "text" + }, + { + "add": false, + "edit": false, + "label": "创建时间", + "list": false, + "name": "create_time", + "type": "unixTime" + }, + { + "add": false, + "edit": false, + "label": "变更时间", + "name": "modify_time", + "type": "unixTime" + }, + { + "label": "状态", + "name": "state", + "options": [ + { + "name": "已启用", + "value": "0" + }, + { + "name": "未启用", + "value": "1" + }, + { + "name": "异常", + "value": "2" + } + ], + "type": "select" + }, + { + "label": "变更用户", + "link": "admin", + "name": "admin_id", + "sortable": true, + "type": "number", + "value": "name" + }, + { + "label": "企业规模", + "name": "gs", + "options": [ + { + "name": "规下", + "value": "0" + }, + { + "name": "规上", + "value": "1" + } + ], + "sortable": true, + "type": "select" + }, + { + "label": "企业画像", + "name": "analyse", + "type": "text" + }, + { + "add": false, + "edit": false, + "label": "企业评级", + "list": false, + "name": "level", + "options": [ + { + "name": "A", + "value": "0" + }, + { + "name": "B", + "value": "1" + }, + { + "name": "C", + "value": "2" + }, + { + "name": "D", + "value": "3" + } + ], + "sortable": true, + "type": "select" + }, + { + "label": "企业得分", + "name": "score", + "sortable": true, + "type": "number" + }, + { + "label": "上传数据", + "name": "upload_data", + "type": "text" + }, + { + "label": "采集数据", + "name": "collect_data", + "type": "text" + }, + { + "label": "企业", + "link": "company", + "name": "company_id", + "sortable": true, + "type": "number", + "value": "name" + }, + { + "label": "经度", + "list": false, + "name": "lat", + "sortable": true, + "type": "number" + }, + { + "label": "纬度", + "list": false, + "name": "lng", + "sortable": true, + "type": "number" + }, + { + "label": "城市", + "link": "city", + "name": "city_id", + "sortable": true, + "type": "number", + "value": "name" + }, + { + "label": "产业类别", + "link": "industry", + "name": "industry_id", + "sortable": true, + "type": "number", + "value": "name" + } + ], + "label": "历史信息", + "search": [ + { + "label": "筛选", + "name": "keywordtable", + "options": [ + { + "name": "无", + "value": null + }, + { + "name": "企业地址", + "value": "address" + }, + { + "name": "应缴税金", + "value": "yjsj" + }, + { + "name": "职工人数", + "value": "zgrs" + }, + { + "name": "主要污染物排放当量", + "value": "zywrwpfdl" + }, + { + "name": "id", + "value": "id" + }, + { + "name": "企业名称", + "value": "name" + }, + { + "name": "利润总额", + "value": "lrze" + }, + { + "name": "上传数据", + "value": "upload_data" + }, + { + "name": "采集数据", + "value": "collect_data" + }, + { + "name": "占地面积", + "value": "zdmj" + }, + { + "name": "研发经费", + "value": "yfjf" + }, + { + "name": "营业收入", + "value": "yysr" + }, + { + "name": "综合能耗", + "value": "zhnh" + }, + { + "name": "企业画像", + "value": "analyse" + }, + { + "name": "统一社会信用代码", + "value": "sn" + }, + { + "name": "属地名称", + "value": "unit" + } + ], + "type": "search", + "value": null + }, + { + "label": "筛选", + "name": "daterangetable", + "options": [ + { + "name": "无", + "value": null + } + ], + "type": "search", + "value": null + }, + { + "label": "请输入关键词", + "name": "keyword", + "type": "search", + "value": null + }, + { + "label": "时间段", + "name": "daterange", + "type": "search", + "value": null + }, + { + "label": "排序", + "name": "sort", + "type": "search", + "value": null + }, + { + "label": "状态", + "name": "state", + "options": [ + { + "name": "已启用", + "value": "0" + }, + { + "name": "未启用", + "value": "1" + }, + { + "name": "异常", + "value": "2" + }, + { + "name": "全部", + "value": null + } + ], + "type": "select", + "value": null + }, + { + "add": false, + "edit": false, + "label": "企业评级", + "list": false, + "name": "level", + "options": [ + { + "name": "A", + "value": "0" + }, + { + "name": "B", + "value": "1" + }, + { + "name": "C", + "value": "2" + }, + { + "name": "D", + "value": "3" + }, + { + "name": "全部", + "value": null + } + ], + "sortable": true, + "type": "select", + "value": null + }, + { + "label": "企业规模", + "name": "gs", + "options": [ + { + "name": "规下", + "value": "0" + }, + { + "name": "规上", + "value": "1" + }, + { + "name": "全部", + "value": null + } + ], + "sortable": true, + "type": "select", + "value": null + }, + { + "label": "行业类型", + "link": "category", + "name": "category_id", + "type": "tree", + "value": "name" + }, + { + "label": "归属组织", + "link": "org", + "name": "org_id", + "type": "tree", + "value": "name" + }, + { + "label": "城市", + "link": "city", + "name": "city_id", + "type": "tree", + "value": "name" + } + ], + "table": "company_history" + }, + "company_tune": { + "auth": [ + "show", + "add", + "delete", + "edit", + "info", + "download" + ], + "columns": [ + { + "add": false, + "edit": false, + "label": "ID", + "name": "id", + "sortable": true, + "type": "number" + }, + { + "label": "名称", + "name": "name", + "type": "text" + }, + { + "label": "企业", + "link": "company", + "name": "company_id", + "sortable": true, + "type": "number", + "value": "name" + }, + { + "add": false, + "edit": false, + "label": "调整级别", + "list": false, + "name": "level", + "type": "text" + }, + { + "label": "调整理由", + "list": false, + "name": "content", + "type": "textArea" + }, + { + "label": "证明文件", + "list": false, + "name": "file", + "type": "file" + }, + { + "label": "分值调整", + "name": "rule", + "type": "form" + }, + { + "label": "调整人员", + "link": "admin", + "name": "admin_id", + "sortable": true, + "type": "number", + "value": "name" + }, + { + "add": false, + "edit": false, + "label": "创建时间", + "list": false, + "name": "create_time", + "type": "unixTime" + }, + { + "add": false, + "edit": false, + "label": "变更时间", + "name": "modify_time", + "type": "unixTime" + }, + { + "label": "状态", + "name": "state", + "options": [ + { + "name": "已启用", + "value": "0" + }, + { + "name": "未启用", + "value": "1" + }, + { + "name": "异常", + "value": "2" + } + ], + "type": "select" + } + ], + "label": "企业调整", + "search": [ + { + "label": "筛选", + "name": "keywordtable", + "options": [ + { + "name": "无", + "value": null + }, + { + "name": "调整理由", + "value": "content" + }, + { + "name": "ID", + "value": "id" + }, + { + "name": "名称", + "value": "name" + }, + { + "name": "调整级别", + "value": "level" + } + ], + "type": "search", + "value": null + }, + { + "label": "筛选", + "name": "daterangetable", + "options": [ + { + "name": "无", + "value": null + } + ], + "type": "search", + "value": null + }, + { + "label": "请输入关键词", + "name": "keyword", + "type": "search", + "value": null + }, + { + "label": "时间段", + "name": "daterange", + "type": "search", + "value": null + }, + { + "label": "排序", + "name": "sort", + "type": "search", + "value": null + }, + { + "label": "状态", + "name": "state", + "options": [ + { + "name": "已启用", + "value": "0" + }, + { + "name": "未启用", + "value": "1" + }, + { + "name": "异常", + "value": "2" + }, + { + "name": "全部", + "value": null + } + ], + "type": "select", + "value": null + } + ], + "table": "company_tune" + }, + "industry": { + "auth": [ + "show", + "add", + "delete", + "edit", + "info", + "download" + ], + "columns": [ + { + "add": false, + "edit": false, + "label": "ID", + "name": "id", + "sortable": true, + "type": "number" + }, + { + "label": "名称", + "name": "name", + "type": "text" + }, + { + "label": "排序", + "list": false, + "name": "sort", + "sortable": true, + "type": "number" + }, + { + "label": "创建人员", + "link": "admin", + "name": "admin_id", + "sortable": true, + "type": "number", + "value": "name" + }, + { + "add": false, + "edit": false, + "label": "创建时间", + "list": false, + "name": "create_time", + "type": "unixTime" + }, + { + "add": false, + "edit": false, + "label": "变更时间", + "name": "modify_time", + "type": "unixTime" + }, + { + "label": "状态", + "name": "state", + "options": [ + { + "name": "已启用", + "value": "0" + }, + { + "name": "未启用", + "value": "1" + }, + { + "name": "异常", + "value": "2" + } + ], + "type": "select" + } + ], + "label": "产业分类", + "search": [ + { + "label": "筛选", + "name": "keywordtable", + "options": [ + { + "name": "无", + "value": null + }, + { + "name": "名称", + "value": "name" + }, + { + "name": "ID", + "value": "id" + } + ], + "type": "search", + "value": null + }, + { + "label": "筛选", + "name": "daterangetable", + "options": [ + { + "name": "无", + "value": null + } + ], + "type": "search", + "value": null + }, + { + "label": "请输入关键词", + "name": "keyword", + "type": "search", + "value": null + }, + { + "label": "时间段", + "name": "daterange", + "type": "search", + "value": null + }, + { + "label": "排序", + "name": "sort", + "type": "search", + "value": null + }, + { + "label": "状态", + "name": "state", + "options": [ + { + "name": "已启用", + "value": "0" + }, + { + "name": "未启用", + "value": "1" + }, + { + "name": "异常", + "value": "2" + }, + { + "name": "全部", + "value": null + } + ], + "type": "select", + "value": null + } + ], + "table": "industry" + }, + "industry_analyse": { + "auth": [ + "show", + "add", + "delete", + "edit", + "info", + "download" + ], + "columns": [ + { + "add": false, + "edit": false, + "label": "ID", + "name": "id", + "sortable": true, + "type": "number" + }, + { + "label": "名称", + "name": "name", + "type": "text" + }, + { + "label": "状态", + "name": "state", + "options": [ + { + "name": "已启用", + "value": "0" + }, + { + "name": "未启用", + "value": "1" + }, + { + "name": "异常", + "value": "2" + } + ], + "type": "select" + }, + { + "label": "组织", + "link": "org", + "name": "org_id", + "sortable": true, + "type": "number", + "value": "name" + }, + { + "label": "分析结果", + "name": "data", + "type": "text" + }, + { + "label": "城市", + "link": "city", + "name": "city_id", + "sortable": true, + "type": "number", + "value": "name" + }, + { + "label": "行业", + "link": "industry", + "name": "industry_id", + "sortable": true, + "type": "number", + "value": "name" + }, + { + "add": false, + "edit": false, + "label": "变更时间", + "name": "modify_time", + "type": "unixTime" + }, + { + "add": false, + "edit": false, + "label": "创建时间", + "list": false, + "name": "create_time", + "type": "unixTime" + } + ], + "label": "产业分析", + "search": [ + { + "label": "筛选", + "name": "keywordtable", + "options": [ + { + "name": "无", + "value": null + }, + { + "name": "ID", + "value": "id" + }, + { + "name": "名称", + "value": "name" + }, + { + "name": "分析结果", + "value": "data" + } + ], + "type": "search", + "value": null + }, + { + "label": "筛选", + "name": "daterangetable", + "options": [ + { + "name": "无", + "value": null + } + ], + "type": "search", + "value": null + }, + { + "label": "请输入关键词", + "name": "keyword", + "type": "search", + "value": null + }, + { + "label": "时间段", + "name": "daterange", + "type": "search", + "value": null + }, + { + "label": "排序", + "name": "sort", + "type": "search", + "value": null + }, + { + "label": "状态", + "name": "state", + "options": [ + { + "name": "已启用", + "value": "0" + }, + { + "name": "未启用", + "value": "1" + }, + { + "name": "异常", + "value": "2" + }, + { + "name": "全部", + "value": null + } + ], + "type": "select", + "value": null + }, + { + "label": "城市", + "link": "city", + "name": "city_id", + "type": "tree", + "value": "name" + }, + { + "label": "组织", + "link": "org", + "name": "org_id", + "type": "tree", + "value": "name" + } + ], + "table": "industry_analyse" + }, + "logs": { + "auth": [ + "show", + "download" + ], + "columns": [ + { + "add": false, + "edit": false, + "label": "ID", + "name": "id", + "sortable": true, + "type": "number" + }, + { + "label": "日志名", + "name": "name", + "type": "text" + }, + { + "label": "操作类型", + "name": "type", + "options": [ + { + "name": "详情", + "value": "0" + }, + { + "name": "新增", + "value": "1" + }, + { + "name": "修改", + "value": "2" + }, + { + "name": "删除", + "value": "3" + } + ], + "sortable": true, + "type": "select" + }, + { + "add": false, + "edit": false, + "label": "操作值", + "name": "table_id", + "type": "table_id" + }, + { + "add": false, + "edit": false, + "label": "操作表", + "name": "table", + "type": "table" + }, + { + "label": "用户", + "link": "user", + "name": "user_id", + "sortable": true, + "type": "number", + "value": "name" + }, + { + "label": "管理员", + "link": "admin", + "name": "admin_id", + "sortable": true, + "type": "number", + "value": "name" + }, + { + "label": "状态", + "name": "state", + "options": [ + { + "name": "已启用", + "value": "0" + }, + { + "name": "未启用", + "value": "1" + }, + { + "name": "异常", + "value": "2" + } + ], + "type": "select" + } + ], + "label": "日志管理", + "search": [ + { + "label": "筛选", + "name": "keywordtable", + "options": [ + { + "name": "无", + "value": null + }, + { + "name": "ID", + "value": "id" + }, + { + "name": "日志名", + "value": "name" + } + ], + "type": "search", + "value": null + }, + { + "label": "筛选", + "name": "daterangetable", + "options": [ + { + "name": "无", + "value": null + } + ], + "type": "search", + "value": null + }, + { + "label": "请输入关键词", + "name": "keyword", + "type": "search", + "value": null + }, + { + "label": "时间段", + "name": "daterange", + "type": "search", + "value": null + }, + { + "label": "排序", + "name": "sort", + "type": "search", + "value": null + }, + { + "label": "状态", + "name": "state", + "options": [ + { + "name": "已启用", + "value": "0" + }, + { + "name": "未启用", + "value": "1" + }, + { + "name": "异常", + "value": "2" + }, + { + "name": "全部", + "value": null + } + ], + "type": "select", + "value": null + }, + { + "label": "操作类型", + "name": "type", + "options": [ + { + "name": "详情", + "value": "0" + }, + { + "name": "新增", + "value": "1" + }, + { + "name": "修改", + "value": "2" + }, + { + "name": "删除", + "value": "3" + }, + { + "name": "全部", + "value": null + } + ], + "sortable": true, + "type": "select", + "value": null + } + ], + "table": "logs" + }, + "org": { + "auth": [ + "show", + "add", + "delete", + "edit", + "info", + "download" + ], + "columns": [ + { + "add": false, + "edit": false, + "label": "ID", + "name": "id", + "sortable": true, + "type": "number" + }, + { + "label": "组织名称", + "name": "name", + "type": "text" + }, + { + "label": "上级组织", + "link": "org", + "name": "parent_id", + "sortable": true, + "type": "number", + "value": "name" + }, + { + "label": "状态", + "name": "state", + "options": [ + { + "name": "启用", + "value": "0" + }, + { + "name": "未启用", + "value": "1" + }, + { + "name": "异常", + "value": "2" + } + ], + "type": "select" + }, + { + "add": false, + "edit": false, + "label": "注册时间", + "list": false, + "name": "create_time", + "type": "unixTime" + }, + { + "add": false, + "edit": false, + "label": "变更时间", + "name": "modify_time", + "type": "unixTime" + }, + { + "label": "创建用户", + "link": "admin", + "name": "admin_id", + "sortable": true, + "type": "number", + "value": "name" + }, + { + "add": false, + "edit": false, + "info": false, + "label": "索引", + "list": false, + "name": "parent_ids", + "notUse": true, + "type": "index" + }, + { + "label": "联系方式", + "name": "contact", + "type": "text" + } + ], + "label": "部门管理", + "search": [ + { + "label": "筛选", + "name": "keywordtable", + "options": [ + { + "name": "无", + "value": null + }, + { + "name": "ID", + "value": "id" + }, + { + "name": "联系方式", + "value": "contact" + }, + { + "name": "组织名称", + "value": "name" + } + ], + "type": "search", + "value": null + }, + { + "label": "筛选", + "name": "daterangetable", + "options": [ + { + "name": "无", + "value": null + } + ], + "type": "search", + "value": null + }, + { + "label": "请输入关键词", + "name": "keyword", + "type": "search", + "value": null + }, + { + "label": "时间段", + "name": "daterange", + "type": "search", + "value": null + }, + { + "label": "排序", + "name": "sort", + "type": "search", + "value": null + }, + { + "label": "状态", + "name": "state", + "options": [ + { + "name": "启用", + "value": "0" + }, + { + "name": "未启用", + "value": "1" + }, + { + "name": "异常", + "value": "2" + }, + { + "name": "全部", + "value": null + } + ], + "type": "select", + "value": null + }, + { + "label": "上级组织", + "link": "org", + "name": "parent_id", + "type": "tree", + "value": "name" + } + ], + "table": "org" + }, + "org_analyse": { + "auth": [ + "show", + "add", + "delete", + "edit", + "info", + "download" + ], + "columns": [ + { + "add": false, + "edit": false, + "label": "ID", + "name": "id", + "sortable": true, + "type": "number" + }, + { + "label": "分析名称", + "name": "name", + "type": "text" + }, + { + "label": "首页分析", + "name": "home_data", + "type": "text" + }, + { + "label": "组织", + "link": "org", + "name": "org_id", + "sortable": true, + "type": "number", + "value": "name" + }, + { + "add": false, + "edit": false, + "label": "创建时间", + "list": false, + "name": "create_time", + "type": "unixTime" + }, + { + "add": false, + "edit": false, + "label": "变更时间", + "name": "modify_time", + "type": "unixTime" + }, + { + "label": "状态", + "name": "state", + "options": [ + { + "name": "已启用", + "value": "0" + }, + { + "name": "未启用", + "value": "1" + }, + { + "name": "异常", + "value": "2" + } + ], + "type": "select" + }, + { + "label": "“6”项量化", + "name": "six_item_data", + "type": "text" + }, + { + "label": "“3”项定性", + "name": "three_item_data", + "type": "text" + }, + { + "label": "“N”项特色", + "name": "n_item_data", + "type": "text" + } + ], + "label": "行业评价", + "search": [ + { + "label": "筛选", + "name": "keywordtable", + "options": [ + { + "name": "无", + "value": null + }, + { + "name": "“6”项量化", + "value": "six_item_data" + }, + { + "name": "“3”项定性", + "value": "three_item_data" + }, + { + "name": "“N”项特色", + "value": "n_item_data" + }, + { + "name": "首页分析", + "value": "home_data" + }, + { + "name": "ID", + "value": "id" + }, + { + "name": "分析名称", + "value": "name" + } + ], + "type": "search", + "value": null + }, + { + "label": "筛选", + "name": "daterangetable", + "options": [ + { + "name": "无", + "value": null + } + ], + "type": "search", + "value": null + }, + { + "label": "请输入关键词", + "name": "keyword", + "type": "search", + "value": null + }, + { + "label": "时间段", + "name": "daterange", + "type": "search", + "value": null + }, + { + "label": "排序", + "name": "sort", + "type": "search", + "value": null + }, + { + "label": "状态", + "name": "state", + "options": [ + { + "name": "已启用", + "value": "0" + }, + { + "name": "未启用", + "value": "1" + }, + { + "name": "异常", + "value": "2" + }, + { + "name": "全部", + "value": null + } + ], + "type": "select", + "value": null + }, + { + "label": "组织", + "link": "org", + "name": "org_id", + "type": "tree", + "value": "name" + } + ], + "table": "org_analyse" + }, + "question": { + "auth": [ + "show", + "add", + "delete", + "edit", + "info", + "download" + ], + "columns": [ + { + "add": false, + "edit": false, + "label": "ID", + "name": "id", + "sortable": true, + "type": "number" + }, + { + "label": "名称", + "name": "name", + "type": "text" + }, + { + "label": "内容", + "name": "question_data", + "type": "text" + }, + { + "label": "组织", + "link": "org", + "name": "org_id", + "sortable": true, + "type": "number", + "value": "name" + }, + { + "add": false, + "edit": false, + "label": "创建时间", + "list": false, + "name": "create_time", + "type": "unixTime" + }, + { + "add": false, + "edit": false, + "label": "变更时间", + "name": "modify_time", + "type": "unixTime" + }, + { + "label": "开始时间", + "name": "start_time", + "type": "unixTime" + }, + { + "label": "结束时间", + "name": "end_time", + "type": "unixTime" + }, + { + "label": "状态", + "name": "state", + "options": [ + { + "name": "已启用", + "value": "0" + }, + { + "name": "未启用", + "value": "1" + }, + { + "name": "异常", + "value": "2" + } + ], + "type": "select" + } + ], + "label": "调查管理", + "search": [ + { + "label": "筛选", + "name": "keywordtable", + "options": [ + { + "name": "无", + "value": null + }, + { + "name": "名称", + "value": "name" + }, + { + "name": "内容", + "value": "question_data" + }, + { + "name": "ID", + "value": "id" + } + ], + "type": "search", + "value": null + }, + { + "label": "筛选", + "name": "daterangetable", + "options": [ + { + "name": "无", + "value": null + } + ], + "type": "search", + "value": null + }, + { + "label": "请输入关键词", + "name": "keyword", + "type": "search", + "value": null + }, + { + "label": "时间段", + "name": "daterange", + "type": "search", + "value": null + }, + { + "label": "排序", + "name": "sort", + "type": "search", + "value": null + }, + { + "label": "状态", + "name": "state", + "options": [ + { + "name": "已启用", + "value": "0" + }, + { + "name": "未启用", + "value": "1" + }, + { + "name": "异常", + "value": "2" + }, + { + "name": "全部", + "value": null + } + ], + "type": "select", + "value": null + }, + { + "label": "组织", + "link": "org", + "name": "org_id", + "type": "tree", + "value": "name" + } + ], + "table": "question" + }, + "question_company": { + "auth": [ + "show", + "add", + "delete", + "edit", + "info", + "download" + ], + "columns": [ + { + "add": false, + "edit": false, + "label": "ID", + "name": "id", + "sortable": true, + "type": "number" + }, + { + "label": "名称", + "name": "name", + "type": "text" + }, + { + "label": "填报内容", + "name": "question_data", + "type": "text" + }, + { + "label": "组织", + "link": "org", + "name": "org_id", + "sortable": true, + "type": "number", + "value": "name" + }, + { + "label": "调查内容", + "link": "question", + "name": "question_id", + "sortable": true, + "type": "number", + "value": "name" + }, + { + "label": "相关企业", + "link": "company", + "name": "company_id", + "sortable": true, + "type": "number", + "value": "name" + }, + { + "label": "填写用户", + "link": "user", + "name": "user_id", + "sortable": true, + "type": "number", + "value": "name" + }, + { + "add": false, + "edit": false, + "label": "创建时间", + "list": false, + "name": "create_time", + "type": "unixTime" + }, + { + "add": false, + "edit": false, + "label": "变更时间", + "name": "modify_time", + "type": "unixTime" + }, + { + "label": "状态", + "name": "state", + "options": [ + { + "name": "已启用", + "value": "0" + }, + { + "name": "未启用", + "value": "1" + }, + { + "name": "异常", + "value": "2" + } + ], + "type": "select" + }, + { + "label": "填报状态", + "name": "status", + "options": [ + { + "name": "待填报", + "value": "0" + }, + { + "name": "待上传文件", + "value": "1" + }, + { + "name": "待审核", + "value": "2" + }, + { + "name": "审核通过", + "value": "3" + }, + { + "name": "驳回", + "value": "4" + } + ], + "type": "select" + } + ], + "label": "调查结果", + "search": [ + { + "label": "筛选", + "name": "keywordtable", + "options": [ + { + "name": "无", + "value": null + }, + { + "name": "ID", + "value": "id" + }, + { + "name": "名称", + "value": "name" + }, + { + "name": "填报内容", + "value": "question_data" + } + ], + "type": "search", + "value": null + }, + { + "label": "筛选", + "name": "daterangetable", + "options": [ + { + "name": "无", + "value": null + } + ], + "type": "search", + "value": null + }, + { + "label": "请输入关键词", + "name": "keyword", + "type": "search", + "value": null + }, + { + "label": "时间段", + "name": "daterange", + "type": "search", + "value": null + }, + { + "label": "排序", + "name": "sort", + "type": "search", + "value": null + }, + { + "label": "状态", + "name": "state", + "options": [ + { + "name": "已启用", + "value": "0" + }, + { + "name": "未启用", + "value": "1" + }, + { + "name": "异常", + "value": "2" + }, + { + "name": "全部", + "value": null + } + ], + "type": "select", + "value": null + }, + { + "label": "填报状态", + "name": "status", + "options": [ + { + "name": "待填报", + "value": "0" + }, + { + "name": "待上传文件", + "value": "1" + }, + { + "name": "待审核", + "value": "2" + }, + { + "name": "审核通过", + "value": "3" + }, + { + "name": "驳回", + "value": "4" + }, + { + "name": "全部", + "value": null + } + ], + "type": "select", + "value": null + }, + { + "label": "组织", + "link": "org", + "name": "org_id", + "type": "tree", + "value": "name" + } + ], + "table": "question_company" + }, + "role": { + "auth": [ + "show", + "add", + "delete", + "edit", + "info", + "download" + ], + "columns": [ + { + "add": false, + "edit": false, + "label": "ID", + "name": "id", + "sortable": true, + "type": "number" + }, + { + "label": "名称", + "name": "name", + "type": "text" + }, + { + "add": false, + "edit": false, + "label": "创建时间", + "list": false, + "name": "create_time", + "type": "unixTime" + }, + { + "add": false, + "edit": false, + "label": "变更时间", + "name": "modify_time", + "type": "unixTime" + }, + { + "label": "状态", + "name": "state", + "options": [ + { + "name": "已启用", + "value": "0" + }, + { + "name": "未启用", + "value": "1" + }, + { + "name": "异常", + "value": "2" + } + ], + "type": "select" + }, + { + "label": "规则", + "name": "rule", + "type": "form" + }, + { + "label": "权限", + "list": false, + "name": "auth", + "type": "auth" + } + ], + "label": "角色管理", + "search": [ + { + "label": "筛选", + "name": "keywordtable", + "options": [ + { + "name": "无", + "value": null + }, + { + "name": "ID", + "value": "id" + }, + { + "name": "名称", + "value": "name" + } + ], + "type": "search", + "value": null + }, + { + "label": "筛选", + "name": "daterangetable", + "options": [ + { + "name": "无", + "value": null + } + ], + "type": "search", + "value": null + }, + { + "label": "请输入关键词", + "name": "keyword", + "type": "search", + "value": null + }, + { + "label": "时间段", + "name": "daterange", + "type": "search", + "value": null + }, + { + "label": "排序", + "name": "sort", + "type": "search", + "value": null + }, + { + "label": "状态", + "name": "state", + "options": [ + { + "name": "已启用", + "value": "0" + }, + { + "name": "未启用", + "value": "1" + }, + { + "name": "异常", + "value": "2" + }, + { + "name": "全部", + "value": null + } + ], + "type": "select", + "value": null + } + ], + "table": "role" + }, + "tag": { + "auth": [ + "show", + "add", + "delete", + "edit", + "info", + "download" + ], + "columns": [ + { + "add": false, + "edit": false, + "label": "ID", + "name": "id", + "sortable": true, + "type": "number" + }, + { + "label": "指标名", + "name": "name", + "type": "text" + }, + { + "add": false, + "edit": false, + "label": "指标标志", + "name": "sn", + "type": "text" + }, + { + "label": "运行命令", + "name": "cmd", + "type": "text" + }, + { + "label": "单位", + "name": "unit", + "type": "text" + }, + { + "label": "类型", + "name": "type", + "options": [ + { + "name": "填入或导入", + "value": "0" + }, + { + "name": "api", + "value": "1" + }, + { + "name": "企业分析", + "value": "2" + }, + { + "name": "行业分析", + "value": "3" + }, + { + "name": "部门分析", + "value": "4" + } + ], + "sortable": true, + "type": "select" + }, + { + "label": "指标描述", + "list": false, + "name": "description", + "type": "text" + }, + { + "label": "状态", + "name": "state", + "options": [ + { + "name": "已启用", + "value": "0" + }, + { + "name": "未启用", + "value": "1" + }, + { + "name": "异常", + "value": "2" + } + ], + "type": "select" + }, + { + "label": "创建人", + "link": "admin", + "name": "admin_id", + "sortable": true, + "type": "number", + "value": "name" + }, + { + "add": false, + "edit": false, + "label": "创建时间", + "list": false, + "name": "create_time", + "type": "unixTime" + }, + { + "add": false, + "edit": false, + "label": "变更时间", + "name": "modify_time", + "type": "unixTime" + }, + { + "label": "指标分类", + "link": "tag_ctg", + "name": "tag_ctg_id", + "sortable": true, + "type": "number", + "value": "name" + }, + { + "label": "组织名称", + "link": "org", + "name": "org_id", + "sortable": true, + "type": "number", + "value": "name" + }, + { + "label": "排序", + "list": false, + "name": "sort", + "sortable": true, + "type": "number" + } + ], + "label": "指标管理", + "search": [ + { + "label": "筛选", + "name": "keywordtable", + "options": [ + { + "name": "无", + "value": null + }, + { + "name": "ID", + "value": "id" + }, + { + "name": "运行命令", + "value": "cmd" + }, + { + "name": "指标描述", + "value": "description" + }, + { + "name": "指标标志", + "value": "sn" + }, + { + "name": "指标名", + "value": "name" + }, + { + "name": "单位", + "value": "unit" + } + ], + "type": "search", + "value": null + }, + { + "label": "筛选", + "name": "daterangetable", + "options": [ + { + "name": "无", + "value": null + } + ], + "type": "search", + "value": null + }, + { + "label": "请输入关键词", + "name": "keyword", + "type": "search", + "value": null + }, + { + "label": "时间段", + "name": "daterange", + "type": "search", + "value": null + }, + { + "label": "排序", + "name": "sort", + "type": "search", + "value": null + }, + { + "label": "类型", + "name": "type", + "options": [ + { + "name": "填入或导入", + "value": "0" + }, + { + "name": "api", + "value": "1" + }, + { + "name": "企业分析", + "value": "2" + }, + { + "name": "行业分析", + "value": "3" + }, + { + "name": "部门分析", + "value": "4" + }, + { + "name": "全部", + "value": null + } + ], + "sortable": true, + "type": "select", + "value": null + }, + { + "label": "状态", + "name": "state", + "options": [ + { + "name": "已启用", + "value": "0" + }, + { + "name": "未启用", + "value": "1" + }, + { + "name": "异常", + "value": "2" + }, + { + "name": "全部", + "value": null + } + ], + "type": "select", + "value": null + }, + { + "label": "指标分类", + "link": "tag_ctg", + "name": "tag_ctg_id", + "type": "tree", + "value": "name" + }, + { + "label": "组织名称", + "link": "org", + "name": "org_id", + "type": "tree", + "value": "name" + } + ], + "table": "tag" + }, + "tag_ctg": { + "auth": [ + "show", + "add", + "delete", + "edit", + "info", + "download" + ], + "columns": [ + { + "add": false, + "edit": false, + "label": "ID", + "name": "id", + "sortable": true, + "type": "number" + }, + { + "label": "分类名称", + "name": "name", + "type": "text" + }, + { + "label": "上级分类", + "link": "tag_ctg", + "name": "parent_id", + "sortable": true, + "type": "number", + "value": "name" + }, + { + "add": false, + "edit": false, + "label": "级别", + "list": false, + "name": "level", + "sortable": true, + "type": "number" + }, + { + "add": false, + "edit": false, + "info": false, + "label": "索引", + "list": false, + "name": "index", + "notUse": true, + "type": "index" + }, + { + "label": "创建者", + "link": "admin", + "name": "admin_id", + "sortable": true, + "type": "number", + "value": "name" + }, + { + "add": false, + "edit": false, + "label": "创建时间", + "list": false, + "name": "create_time", + "type": "unixTime" + }, + { + "add": false, + "edit": false, + "label": "变更时间", + "name": "modify_time", + "type": "unixTime" + }, + { + "label": "状态", + "name": "state", + "options": [ + { + "name": "已启用", + "value": "0" + }, + { + "name": "未启用", + "value": "1" + }, + { + "name": "异常", + "value": "2" + } + ], + "type": "select" + }, + { + "label": "组织", + "link": "org", + "name": "org_id", + "sortable": true, + "type": "number", + "value": "name" + } + ], + "label": "指标分类", + "search": [ + { + "label": "筛选", + "name": "keywordtable", + "options": [ + { + "name": "无", + "value": null + }, + { + "name": "ID", + "value": "id" + }, + { + "name": "分类名称", + "value": "name" + } + ], + "type": "search", + "value": null + }, + { + "label": "筛选", + "name": "daterangetable", + "options": [ + { + "name": "无", + "value": null + } + ], + "type": "search", + "value": null + }, + { + "label": "请输入关键词", + "name": "keyword", + "type": "search", + "value": null + }, + { + "label": "时间段", + "name": "daterange", + "type": "search", + "value": null + }, + { + "label": "排序", + "name": "sort", + "type": "search", + "value": null + }, + { + "label": "状态", + "name": "state", + "options": [ + { + "name": "已启用", + "value": "0" + }, + { + "name": "未启用", + "value": "1" + }, + { + "name": "异常", + "value": "2" + }, + { + "name": "全部", + "value": null + } + ], + "type": "select", + "value": null + }, + { + "label": "上级分类", + "link": "tag_ctg", + "name": "parent_id", + "type": "tree", + "value": "name" + }, + { + "label": "组织", + "link": "org", + "name": "org_id", + "type": "tree", + "value": "name" + } + ], + "table": "tag_ctg" + }, + "user": { + "auth": [ + "show", + "add", + "delete", + "edit", + "info", + "download" + ], + "columns": [ + { + "add": false, + "edit": false, + "label": "ID", + "name": "id", + "sortable": true, + "type": "number" + }, + { + "label": "用户姓名", + "name": "name", + "type": "text" + }, + { + "label": "手机号码", + "name": "phone", + "type": "text" + }, + { + "label": "邮箱", + "list": false, + "name": "email", + "type": "text" + }, + { + "label": "状态", + "name": "state", + "options": [ + { + "name": "正常", + "value": "0" + }, + { + "name": "异常", + "value": "1" + }, + { + "name": "隐藏", + "value": "2" + } + ], + "type": "select" + }, + { + "label": "头像", + "list": false, + "name": "avatar", + "type": "image" + }, + { + "add": false, + "edit": false, + "label": "创建时间", + "list": false, + "name": "create_time", + "type": "unixTime" + }, + { + "add": false, + "edit": false, + "label": "变更时间", + "name": "modify_time", + "type": "unixTime" + }, + { + "label": "企业", + "link": "company", + "name": "company_id", + "sortable": true, + "type": "number", + "value": "name" + }, + { + "label": "身份证号码", + "list": false, + "name": "idcard", + "type": "text" + }, + { + "label": "身份证人像面", + "list": false, + "name": "idcard_front_img", + "type": "image" + }, + { + "label": "身份证国徽面", + "list": false, + "name": "idcard_back_img", + "type": "image" + }, + { + "label": "营业执照", + "list": false, + "name": "company_img", + "type": "image" + }, + { + "label": "认证状态", + "name": "status", + "options": [ + { + "name": "未认证", + "value": "0" + }, + { + "name": "已认证", + "value": "1" + }, + { + "name": "异常", + "value": "2" + } + ], + "type": "select" + }, + { + "label": "昵称", + "name": "nickname", + "type": "text" + }, + { + "label": "组织", + "link": "org", + "name": "org_id", + "sortable": true, + "type": "number", + "value": "name" + }, + { + "label": "真实性申明", + "list": false, + "name": "auth_img", + "type": "auth" + } + ], + "label": "企业用户", + "search": [ + { + "label": "筛选", + "name": "keywordtable", + "options": [ + { + "name": "无", + "value": null + }, + { + "name": "用户姓名", + "value": "name" + }, + { + "name": "ID", + "value": "id" + }, + { + "name": "邮箱", + "value": "email" + }, + { + "name": "身份证号码", + "value": "idcard" + }, + { + "name": "手机号码", + "value": "phone" + }, + { + "name": "昵称", + "value": "nickname" + } + ], + "type": "search", + "value": null + }, + { + "label": "筛选", + "name": "daterangetable", + "options": [ + { + "name": "无", + "value": null + } + ], + "type": "search", + "value": null + }, + { + "label": "请输入关键词", + "name": "keyword", + "type": "search", + "value": null + }, + { + "label": "时间段", + "name": "daterange", + "type": "search", + "value": null + }, + { + "label": "排序", + "name": "sort", + "type": "search", + "value": null + }, + { + "label": "状态", + "name": "state", + "options": [ + { + "name": "正常", + "value": "0" + }, + { + "name": "异常", + "value": "1" + }, + { + "name": "隐藏", + "value": "2" + }, + { + "name": "全部", + "value": null + } + ], + "type": "select", + "value": null + }, + { + "label": "认证状态", + "name": "status", + "options": [ + { + "name": "未认证", + "value": "0" + }, + { + "name": "已认证", + "value": "1" + }, + { + "name": "异常", + "value": "2" + }, + { + "name": "全部", + "value": null + } + ], + "type": "select", + "value": null + }, + { + "label": "组织", + "link": "org", + "name": "org_id", + "type": "tree", + "value": "name" + } + ], + "table": "user" + }, + "wechat": { + "auth": [ + "show", + "add", + "delete", + "edit", + "info", + "download" + ], + "columns": [ + { + "add": false, + "edit": false, + "label": "ID", + "name": "id", + "sortable": true, + "type": "number" + }, + { + "label": "企业用户", + "link": "user", + "name": "user_id", + "sortable": true, + "type": "number", + "value": "name" + }, + { + "label": "access_token", + "name": "acttoken", + "type": "text" + }, + { + "label": "refresh_token", + "name": "retoken", + "type": "text" + }, + { + "label": "openid", + "name": "openid", + "type": "text" + }, + { + "label": "微信appid", + "name": "appid", + "type": "text" + }, + { + "label": "状态", + "name": "state", + "options": [ + { + "name": "正常", + "value": "0" + }, + { + "name": "异常", + "value": "1" + }, + { + "name": "隐藏", + "value": "2" + } + ], + "type": "select" + }, + { + "add": false, + "edit": false, + "label": "创建时间", + "list": false, + "name": "create_time", + "type": "unixTime" + }, + { + "label": "微信组id", + "name": "unionid", + "type": "text" + }, + { + "add": false, + "edit": false, + "label": "变更时间", + "name": "modify_time", + "type": "unixTime" + }, + { + "label": "关联组织", + "link": "org", + "name": "org_id", + "sortable": true, + "type": "number", + "value": "name" + }, + { + "label": "组织传递", + "name": "status", + "options": [ + { + "name": "未传递", + "value": "0" + }, + { + "name": "已传递", + "value": "1" + } + ], + "type": "select" + }, + { + "label": "昵称", + "name": "nickname", + "type": "text" + }, + { + "label": "头像", + "list": false, + "name": "avatar", + "type": "image" + } + ], + "label": "微信信息", + "search": [ + { + "label": "筛选", + "name": "keywordtable", + "options": [ + { + "name": "无", + "value": null + }, + { + "name": "refresh_token", + "value": "retoken" + }, + { + "name": "openid", + "value": "openid" + }, + { + "name": "微信appid", + "value": "appid" + }, + { + "name": "微信组id", + "value": "unionid" + }, + { + "name": "昵称", + "value": "nickname" + }, + { + "name": "ID", + "value": "id" + }, + { + "name": "access_token", + "value": "acttoken" + } + ], + "type": "search", + "value": null + }, + { + "label": "筛选", + "name": "daterangetable", + "options": [ + { + "name": "无", + "value": null + } + ], + "type": "search", + "value": null + }, + { + "label": "请输入关键词", + "name": "keyword", + "type": "search", + "value": null + }, + { + "label": "时间段", + "name": "daterange", + "type": "search", + "value": null + }, + { + "label": "排序", + "name": "sort", + "type": "search", + "value": null + }, + { + "label": "组织传递", + "name": "status", + "options": [ + { + "name": "未传递", + "value": "0" + }, + { + "name": "已传递", + "value": "1" + }, + { + "name": "全部", + "value": null + } + ], + "type": "select", + "value": null + }, + { + "label": "状态", + "name": "state", + "options": [ + { + "name": "正常", + "value": "0" + }, + { + "name": "异常", + "value": "1" + }, + { + "name": "隐藏", + "value": "2" + }, + { + "name": "全部", + "value": null + } + ], + "type": "select", + "value": null + }, + { + "label": "关联组织", + "link": "org", + "name": "org_id", + "type": "tree", + "value": "name" + } + ], + "table": "wechat" + } + } +} \ No newline at end of file diff --git a/config/rule.json b/config/rule.json new file mode 100644 index 0000000..ac3cee9 --- /dev/null +++ b/config/rule.json @@ -0,0 +1,422 @@ +[ + { + "add": true, + "edit": true, + "info": true, + "list": false, + "must": false, + "name": "idcard", + "strict": false, + "type": "" + }, + { + "add": false, + "edit": false, + "info": true, + "list": true, + "must": false, + "name": "id", + "strict": true, + "type": "" + }, + { + "add": false, + "edit": false, + "info": true, + "list": true, + "must": false, + "name": "sn", + "strict": false, + "type": "" + }, + { + "add": false, + "edit": false, + "info": false, + "list": false, + "must": false, + "name": "parent_ids", + "strict": true, + "type": "index" + }, + { + "add": false, + "edit": false, + "info": false, + "list": false, + "must": false, + "name": "index", + "strict": true, + "type": "index" + }, + { + "add": true, + "edit": true, + "info": true, + "list": true, + "must": false, + "name": "parent_id", + "true": false, + "type": "" + }, + { + "add": true, + "edit": true, + "info": true, + "list": true, + "must": false, + "name": "amount", + "strict": true, + "type": "money" + }, + { + "add": true, + "edit": true, + "info": true, + "list": false, + "must": false, + "name": "info", + "strict": false, + "type": "textArea" + }, + { + "add": true, + "edit": true, + "info": true, + "list": true, + "must": false, + "name": "status", + "strict": false, + "type": "select" + }, + { + "add": true, + "edit": true, + "info": true, + "list": true, + "must": false, + "name": "state", + "strict": false, + "type": "select" + }, + { + "add": true, + "edit": true, + "info": true, + "list": true, + "must": false, + "name": "sex", + "strict": false, + "type": "select" + }, + { + "add": false, + "edit": false, + "info": false, + "list": false, + "must": false, + "name": "delete", + "strict": false, + "type": "" + }, + { + "add": true, + "edit": true, + "info": true, + "list": false, + "must": false, + "name": "lat", + "strict": false, + "type": "" + }, + { + "add": true, + "edit": true, + "info": true, + "list": false, + "must": false, + "name": "lng", + "strict": false, + "type": "" + }, + { + "add": true, + "edit": true, + "info": true, + "list": false, + "must": false, + "name": "latitude", + "strict": false, + "type": "" + }, + { + "add": true, + "edit": true, + "info": true, + "list": false, + "must": false, + "name": "longitude", + "strict": false, + "type": "" + }, + { + "add": true, + "edit": true, + "info": false, + "list": false, + "must": false, + "name": "password", + "strict": false, + "type": "password" + }, + { + "add": true, + "edit": true, + "info": false, + "list": false, + "must": false, + "name": "pwd", + "strict": false, + "type": "password" + }, + { + "add": false, + "edit": false, + "info": false, + "list": false, + "must": false, + "name": "version", + "strict": false, + "type": "" + }, + { + "add": true, + "edit": true, + "info": true, + "list": false, + "must": false, + "name": "seq", + "strict": false, + "type": "" + }, + { + "add": true, + "edit": true, + "info": true, + "list": false, + "must": false, + "name": "sort", + "strict": false, + "type": "" + }, + { + "add": true, + "edit": true, + "info": true, + "list": false, + "must": false, + "name": "note", + "strict": false, + "type": "" + }, + { + "add": true, + "edit": true, + "info": true, + "list": false, + "must": false, + "name": "description", + "strict": false, + "type": "" + }, + { + "add": true, + "edit": true, + "info": true, + "list": false, + "must": false, + "name": "abstract", + "strict": false, + "type": "" + }, + { + "add": true, + "edit": true, + "info": true, + "list": false, + "must": false, + "name": "content", + "strict": false, + "type": "textArea" + }, + { + "add": true, + "edit": true, + "info": true, + "list": true, + "must": false, + "name": "address", + "strict": false, + "type": "" + }, + { + "add": true, + "edit": true, + "info": true, + "list": false, + "must": false, + "name": "full_name", + "strict": false, + "type": "" + }, + { + "add": false, + "edit": false, + "info": true, + "list": false, + "must": false, + "name": "create_time", + "strict": true, + "type": "time" + }, + { + "add": false, + "edit": false, + "info": true, + "list": true, + "must": false, + "name": "modify_time", + "strict": true, + "type": "time" + }, + { + "add": true, + "edit": true, + "info": true, + "list": false, + "must": false, + "name": "image", + "strict": false, + "type": "image" + }, + { + "add": true, + "edit": true, + "info": true, + "list": false, + "must": false, + "name": "img", + "strict": false, + "type": "image" + }, + { + "add": true, + "edit": true, + "info": true, + "list": false, + "must": false, + "name": "avatar", + "strict": false, + "type": "image" + }, + { + "add": true, + "edit": true, + "info": true, + "list": false, + "must": false, + "name": "icon", + "strict": false, + "type": "image" + }, + { + "add": true, + "edit": true, + "info": true, + "list": false, + "must": false, + "name": "file", + "strict": false, + "type": "file" + }, + { + "add": true, + "edit": true, + "info": true, + "list": false, + "must": false, + "name": "age", + "strict": false, + "type": "" + }, + { + "add": true, + "edit": true, + "info": true, + "list": false, + "must": false, + "name": "email", + "strict": false, + "type": "" + }, + { + "add": true, + "edit": true, + "info": true, + "list": true, + "must": false, + "name": "time", + "strict": false, + "type": "time" + }, + { + "add": false, + "edit": false, + "info": true, + "list": false, + "must": false, + "name": "level", + "strict": false, + "type": "" + }, + { + "add": true, + "edit": true, + "info": true, + "list": true, + "must": false, + "name": "rule", + "strict": false, + "type": "form" + }, + { + "add": true, + "edit": true, + "info": true, + "list": false, + "must": false, + "name": "auth", + "strict": false, + "type": "auth" + }, + { + "add": false, + "edit": false, + "info": true, + "list": true, + "must": false, + "name": "table", + "strict": false, + "type": "table" + }, + { + "add": false, + "edit": false, + "info": true, + "list": true, + "must": false, + "name": "table_id", + "strict": false, + "type": "table_id" + } +] \ No newline at end of file diff --git a/go.mod b/go.mod new file mode 100644 index 0000000..9d731e3 --- /dev/null +++ b/go.mod @@ -0,0 +1,14 @@ +module iedc-go + +go 1.16 + +require ( + code.hoteas.com/golang/hotime v1.2.70 + github.com/Chain-Zhang/pinyin v0.1.3 + github.com/chanxuehong/rand v0.0.0-20211009035549-2f07823e8e99 // indirect + github.com/chanxuehong/util v0.0.0-20200304121633-ca8141845b13 // indirect + github.com/robertkrimen/otto v0.0.0-20221025135307-511d75fba9f8 + github.com/silenceper/wechat v1.2.6 + github.com/xuri/excelize/v2 v2.6.1 + gopkg.in/chanxuehong/wechat.v2 v2.0.0-20190402080805-fa408c6cc20d +) diff --git a/go.sum b/go.sum new file mode 100644 index 0000000..d99d1ef --- /dev/null +++ b/go.sum @@ -0,0 +1,243 @@ +code.hoteas.com/golang/hotime v1.2.70 h1:qg0wMVO0XMHQ+QVFnpel60beCVc3H9QZnJDhzkl3uMQ= +code.hoteas.com/golang/hotime v1.2.70/go.mod h1:6pa/AvuKE965XbULie1opAaNm+7kBg9LSUJ/h4n95iQ= +github.com/360EntSecGroup-Skylar/excelize v1.4.1 h1:l55mJb6rkkaUzOpSsgEeKYtS6/0gHwBYyfo5Jcjv/Ks= +github.com/360EntSecGroup-Skylar/excelize v1.4.1/go.mod h1:vnax29X2usfl7HHkBrX5EvSCJcmH3dT9luvxzu8iGAE= +github.com/Chain-Zhang/pinyin v0.1.3 h1:RzErNyNwVa8z2sOLCuXSOtVdY/AsARb8mBzI2p2qtnE= +github.com/Chain-Zhang/pinyin v0.1.3/go.mod h1:5iHpt9p4znrnaP59/hfPMnAojajkDxQaP9io+tRMPho= +github.com/astaxie/beego v1.7.1/go.mod h1:0R4++1tUqERR0WYFWdfkcrsyoVBCG4DgpDGokT3yb+U= +github.com/bradfitz/gomemcache v0.0.0-20160117192205-fb1f79c6b65a/go.mod h1:PmM6Mmwb0LSuEubjR8N7PtNe1KxZLtOUHtbeikc5h60= +github.com/bradfitz/gomemcache v0.0.0-20190913173617-a41fca850d0b h1:L/QXpzIa3pOvUGt1D1lA5KjYhPBAN/3iWdP7xeFS9F0= +github.com/bradfitz/gomemcache v0.0.0-20190913173617-a41fca850d0b/go.mod h1:H0wQNHz2YrLsuXOZozoeDmnHXkNCRmMW0gwFWDfEZDA= +github.com/bradfitz/gomemcache v0.0.0-20220106215444-fb4bf637b56d h1:pVrfxiGfwelyab6n21ZBkbkmbevaf+WvMIiR7sr97hw= +github.com/bradfitz/gomemcache v0.0.0-20220106215444-fb4bf637b56d/go.mod h1:H0wQNHz2YrLsuXOZozoeDmnHXkNCRmMW0gwFWDfEZDA= +github.com/cespare/xxhash/v2 v2.1.2 h1:YRXhKfTDauu4ajMg1TPgFO5jnlC2HCbmLXMcTG5cbYE= +github.com/cespare/xxhash/v2 v2.1.2/go.mod h1:VGX0DQ3Q6kWi7AoAeZDth3/j3BFtOZR5XLFGgcrjCOs= +github.com/chanxuehong/rand v0.0.0-20211009035549-2f07823e8e99 h1:K62Lb6bsgLOB++z/VAvRvtiEBdNCuMfmQGTGGWMdPpM= +github.com/chanxuehong/rand v0.0.0-20211009035549-2f07823e8e99/go.mod h1:9+sJ9zvvkXC5sPjPEZM3Jpb9n2Q2VtcrGZly0UHYF5I= +github.com/chanxuehong/util v0.0.0-20200304121633-ca8141845b13 h1:c1vUDbnwvu5d2ucfzXvMzBWzeu5IxPvtESOFPl3CieA= +github.com/chanxuehong/util v0.0.0-20200304121633-ca8141845b13/go.mod h1:XEYt99iTxMqkv+gW85JX/DdUINHUe43Sbe5AtqSaDAQ= +github.com/chzyer/logex v1.1.10/go.mod h1:+Ywpsq7O8HXn0nuIou7OrIPyXbp3wmkHB+jjWRnGsAI= +github.com/chzyer/logex v1.2.1/go.mod h1:JLbx6lG2kDbNRFnfkgvh4eRJRPX1QCoOIWomwysCBrQ= +github.com/chzyer/readline v0.0.0-20180603132655-2972be24d48e/go.mod h1:nSuG5e5PlCu98SY8svDHJxuZscDgtXS6KTTbou5AhLI= +github.com/chzyer/test v0.0.0-20180213035817-a1ea475d72b1/go.mod h1:Q3SI9o4m/ZMnBNeIyt5eFwwo7qiLfzFZmjNmxjkiQlU= +github.com/creack/pty v1.1.9/go.mod h1:oKZEueFk5CKHvIhNR5MUki03XCEU+Q6VDXinZuGJ33E= +github.com/davecgh/go-spew v1.1.0/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38= +github.com/davecgh/go-spew v1.1.1 h1:vj9j/u1bqnvCEfJOwUhtlOARqs3+rkHYY13jYWTU97c= +github.com/davecgh/go-spew v1.1.1/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38= +github.com/dgryski/go-rendezvous v0.0.0-20200823014737-9f7001d12a5f h1:lO4WD4F/rVNCu3HqELle0jiPLLBs70cWOduZpkS1E78= +github.com/dgryski/go-rendezvous v0.0.0-20200823014737-9f7001d12a5f/go.mod h1:cuUVRXasLTGF7a8hSLbxyZXjz+1KgoB3wDUb6vlszIc= +github.com/fatih/structs v1.1.0 h1:Q7juDM0QtcnhCpeyLGQKyg4TOIghuNXrkL32pHAUMxo= +github.com/fatih/structs v1.1.0/go.mod h1:9NiDSp5zOcgEDl+j00MP/WkGVPOlPRLejGD8Ga6PJ7M= +github.com/fsnotify/fsnotify v1.4.7/go.mod h1:jwhsz4b93w/PPRr/qN1Yymfu8t87LnFCMoQvtojpjFo= +github.com/fsnotify/fsnotify v1.4.9 h1:hsms1Qyu0jgnwNXIxa+/V/PDsU6CfLf6CNO8H7IWoS4= +github.com/fsnotify/fsnotify v1.4.9/go.mod h1:znqG4EE+3YCdAaPaxE2ZRY/06pZUdp0tY4IgpuI1SZQ= +github.com/garyburd/redigo v1.6.3 h1:HCeeRluvAgMusMomi1+6Y5dmFOdYV/JzoRrrbFlkGIc= +github.com/garyburd/redigo v1.6.3/go.mod h1:rTb6epsqigu3kYKBnaF028A7Tf/Aw5s0cqA47doKKqw= +github.com/gin-gonic/gin v1.1.4/go.mod h1:7cKuhb5qV2ggCFctp2fJQ+ErvciLZrIeoOSOm6mUr7Y= +github.com/go-pay/gopay v1.5.78/go.mod h1:M6Nlk2VdZHCbWphOw3rtbnz4SiOk6Xvxg6mxwDfg+Ps= +github.com/go-redis/redis/v8 v8.11.5 h1:AcZZR7igkdvfVmQTPnu9WE37LRrO/YrBH5zWyjDC0oI= +github.com/go-redis/redis/v8 v8.11.5/go.mod h1:gREzHqY1hg6oD9ngVRbLStwAWKhA0FEgq8Jd4h5lpwo= +github.com/go-sql-driver/mysql v1.6.0 h1:BCTh4TKNUYmOmMUcQ3IipzF5prigylS7XXjEkfCHuOE= +github.com/go-sql-driver/mysql v1.6.0/go.mod h1:DCzpHaOWr8IXmIStZouvnhqoel9Qv2LBy8hT2VhHyBg= +github.com/go-task/slim-sprig v0.0.0-20210107165309-348f09dbbbc0/go.mod h1:fyg7847qk6SyHyPtNmDHnmrv/HOrqktSC+C9fM+CJOE= +github.com/golang/protobuf v0.0.0-20161117033126-8ee79997227b/go.mod h1:6lQm79b+lXiMfvg/cZm0SGofjICqVBUtrP5yJMmIC1U= +github.com/golang/protobuf v1.2.0/go.mod h1:6lQm79b+lXiMfvg/cZm0SGofjICqVBUtrP5yJMmIC1U= +github.com/golang/protobuf v1.4.0-rc.1/go.mod h1:ceaxUfeHdC40wWswd/P6IGgMaK3YpKi5j83Wpe3EHw8= +github.com/golang/protobuf v1.4.0-rc.1.0.20200221234624-67d41d38c208/go.mod h1:xKAWHe0F5eneWXFV3EuXVDTCmh+JuBKY0li0aMyXATA= +github.com/golang/protobuf v1.4.0-rc.2/go.mod h1:LlEzMj4AhA7rCAGe4KMBDvJI+AwstrUpVNzEA03Pprs= +github.com/golang/protobuf v1.4.0-rc.4.0.20200313231945-b860323f09d0/go.mod h1:WU3c8KckQ9AFe+yFwt9sWVRKCVIyN9cPHBJSNnbL67w= +github.com/golang/protobuf v1.4.0/go.mod h1:jodUvKwWbYaEsadDk5Fwe5c77LiNKVO9IDvqG2KuDX0= +github.com/golang/protobuf v1.4.2/go.mod h1:oDoupMAO8OvCJWAcko0GGGIgR6R6ocIYbsSw735rRwI= +github.com/golang/protobuf v1.5.0/go.mod h1:FsONVRAS9T7sI+LIUmWTfcYkHO4aIWwzhcaSAoJOfIk= +github.com/golang/protobuf v1.5.2/go.mod h1:XVQd3VNwM+JqD3oG2Ue2ip4fOMUkwXdXDdiuN0vRsmY= +github.com/golang/snappy v0.0.1/go.mod h1:/XxbfmMg8lxefKM7IXC3fBNl/7bRcc72aCRzEWrmP2Q= +github.com/gomodule/redigo v1.8.1/go.mod h1:P9dn9mFrCBvWhGE1wpxx6fgq7BAeLBk+UUUzlpkBYO0= +github.com/gomodule/redigo v1.8.5 h1:nRAxCa+SVsyjSBrtZmG/cqb6VbTmuRzpg/PoTFlpumc= +github.com/gomodule/redigo v1.8.5/go.mod h1:P9dn9mFrCBvWhGE1wpxx6fgq7BAeLBk+UUUzlpkBYO0= +github.com/google/go-cmp v0.3.0/go.mod h1:8QqcDgzrUqlUb/G2PQTWiueGozuR1884gddMywk6iLU= +github.com/google/go-cmp v0.3.1/go.mod h1:8QqcDgzrUqlUb/G2PQTWiueGozuR1884gddMywk6iLU= +github.com/google/go-cmp v0.4.0/go.mod h1:v8dTdLbMG2kIc/vJvl+f65V22dbkXbowE6jgT/gNBxE= +github.com/google/go-cmp v0.5.2/go.mod h1:v8dTdLbMG2kIc/vJvl+f65V22dbkXbowE6jgT/gNBxE= +github.com/google/go-cmp v0.5.5/go.mod h1:v8dTdLbMG2kIc/vJvl+f65V22dbkXbowE6jgT/gNBxE= +github.com/google/pprof v0.0.0-20210407192527-94a9f03dee38/go.mod h1:kpwsk12EmLew5upagYY7GY0pfYCcupk39gWOCRROcvE= +github.com/h2non/parth v0.0.0-20190131123155-b4df798d6542 h1:2VTzZjLZBgl62/EtslCrtky5vbi9dd7HrQPQIx6wqiw= +github.com/h2non/parth v0.0.0-20190131123155-b4df798d6542/go.mod h1:Ow0tF8D4Kplbc8s8sSb3V2oUCygFHVp8gC3Dn6U4MNI= +github.com/hpcloud/tail v1.0.0/go.mod h1:ab1qPbhIpdTxEkNHXyeSf5vhxWSCs/tWer42PpOxQnU= +github.com/ianlancetaylor/demangle v0.0.0-20200824232613-28f6c0f3b639/go.mod h1:aSSvb/t6k1mPoxDqO4vJh6VOCGPwU4O0C2/Eqndh1Sc= +github.com/klauspost/compress v1.13.6/go.mod h1:/3/Vjq9QcHkK5uEr5lBEmyoZ1iFhe47etQ6QUkpK6sk= +github.com/kr/pretty v0.1.0/go.mod h1:dAy3ld7l9f0ibDNOQOHHMYYIIbhfbHSm3C4ZsoJORNo= +github.com/kr/pty v1.1.1/go.mod h1:pFQYn66WHrOpPYNljwOMqo10TkYh1fy3cYio2l3bCsQ= +github.com/kr/text v0.1.0/go.mod h1:4Jbv+DJW3UT/LiOwJeYQe1efqtUx/iVham/4vfdArNI= +github.com/kr/text v0.2.0/go.mod h1:eLer722TekiGuMkidMxC/pM04lWEeraHUUmBw8l2grE= +github.com/manucorporat/sse v0.0.0-20160126180136-ee05b128a739/go.mod h1:zUx1mhth20V3VKgL5jbd1BSQcW4Fy6Qs4PZvQwRFwzM= +github.com/mattn/go-isatty v0.0.0-20161123143637-30a891c33c7c/go.mod h1:M+lRXTBqGeGNdLjl/ufCoiOlB5xdOkqRJdNxMWT7Zi4= +github.com/mattn/go-sqlite3 v1.14.12 h1:TJ1bhYJPV44phC+IMu1u2K/i5RriLTPe+yc68XDJ1Z0= +github.com/mattn/go-sqlite3 v1.14.12/go.mod h1:NyWgC/yNuGj7Q9rpYnZvas74GogHl5/Z4A/KQRfk6bU= +github.com/mohae/deepcopy v0.0.0-20170929034955-c48cc78d4826 h1:RWengNIwukTxcDr9M+97sNutRR1RKhG96O6jWumTTnw= +github.com/mohae/deepcopy v0.0.0-20170929034955-c48cc78d4826/go.mod h1:TaXosZuwdSHYgviHp1DAtfrULt5eUgsSMsZf+YrPgl8= +github.com/montanaflynn/stats v0.0.0-20171201202039-1bf9dbcd8cbe/go.mod h1:wL8QJuTMNUDYhXwkmfOly8iTdp5TEcJFWZD2D7SIkUc= +github.com/nbio/st v0.0.0-20140626010706-e9e8d9816f32/go.mod h1:9wM+0iRr9ahx58uYLpLIr5fm8diHn0JbqRycJi6w0Ms= +github.com/niemeyer/pretty v0.0.0-20200227124842-a10e7caefd8e/go.mod h1:zD1mROLANZcx1PVRCS0qkT7pwLkGfwJo4zjcN/Tysno= +github.com/nxadm/tail v1.4.4/go.mod h1:kenIhsEOeOJmVchQTgglprH7qJGnHDVpk1VPCcaMI8A= +github.com/nxadm/tail v1.4.8 h1:nPr65rt6Y5JFSKQO7qToXr7pePgD6Gwiw05lkbyAQTE= +github.com/nxadm/tail v1.4.8/go.mod h1:+ncqLTQzXmGhMZNUePPaPqPvBxHAIsmXswZKocGu+AU= +github.com/onsi/ginkgo v1.6.0/go.mod h1:lLunBs/Ym6LB5Z9jYTR76FiuTmxDTDusOGeTQH+WWjE= +github.com/onsi/ginkgo v1.12.1/go.mod h1:zj2OWP4+oCPe1qIXoGWkgMRwljMUYCdkwsT2108oapk= +github.com/onsi/ginkgo v1.16.4/go.mod h1:dX+/inL/fNMqNlz0e9LfyB9TswhZpCVdJM/Z6Vvnwo0= +github.com/onsi/ginkgo v1.16.5 h1:8xi0RTUf59SOSfEtZMvwTvXYMzG4gV23XVHOZiXNtnE= +github.com/onsi/ginkgo v1.16.5/go.mod h1:+E8gABHa3K6zRBolWtd+ROzc/U5bkGt0FwiG042wbpU= +github.com/onsi/ginkgo/v2 v2.0.0/go.mod h1:vw5CSIxN1JObi/U8gcbwft7ZxR2dgaR70JSE3/PpL4c= +github.com/onsi/gomega v1.7.1/go.mod h1:XdKZgCCFLUoM/7CFJVPcG8C1xQ1AJ0vpAezJrB7JYyY= +github.com/onsi/gomega v1.10.1/go.mod h1:iN09h71vgCQne3DLsj+A5owkum+a2tYe+TOCB1ybHNo= +github.com/onsi/gomega v1.17.0/go.mod h1:HnhC7FXeEQY45zxNK3PPoIUhzk/80Xly9PcubAlGdZY= +github.com/onsi/gomega v1.18.1 h1:M1GfJqGRrBrrGGsbxzV5dqM2U2ApXefZCQpkukxYRLE= +github.com/onsi/gomega v1.18.1/go.mod h1:0q+aL8jAiMXy9hbwj2mr5GziHiwhAIQpFmmtT5hitRs= +github.com/pkg/errors v0.9.1/go.mod h1:bwawxfHBFNV+L2hUp1rHADufV3IMtnDRdf1r5NINEl0= +github.com/pmezard/go-difflib v1.0.0 h1:4DBwDE0NGyQoBHbLQYPwSUPoCMWR5BEzIk/f1lZbAQM= +github.com/pmezard/go-difflib v1.0.0/go.mod h1:iKH77koFhYxTK1pcRnkKkqfTogsbg7gZNVY4sRDYZ/4= +github.com/richardlehane/mscfb v1.0.4 h1:WULscsljNPConisD5hR0+OyZjwK46Pfyr6mPu5ZawpM= +github.com/richardlehane/mscfb v1.0.4/go.mod h1:YzVpcZg9czvAuhk9T+a3avCpcFPMUWm7gK3DypaEsUk= +github.com/richardlehane/msoleps v1.0.1/go.mod h1:BWev5JBpU9Ko2WAgmZEuiz4/u3ZYTKbjLycmwiWUfWg= +github.com/richardlehane/msoleps v1.0.3 h1:aznSZzrwYRl3rLKRT3gUk9am7T/mLNSnJINvN0AQoVM= +github.com/richardlehane/msoleps v1.0.3/go.mod h1:BWev5JBpU9Ko2WAgmZEuiz4/u3ZYTKbjLycmwiWUfWg= +github.com/robertkrimen/otto v0.0.0-20221025135307-511d75fba9f8 h1:qD3uiYZ9HFRMIkjcmA5MnB3QxDQmf/r8TfoOx8BMtQ4= +github.com/robertkrimen/otto v0.0.0-20221025135307-511d75fba9f8/go.mod h1:nuq0maJQz2rTj3sA9EtJleKkkP0QIihFANdtAgTvmyc= +github.com/silenceper/wechat v1.2.6 h1:FED3ko2yD96YD153xIV0I0bDjII4GxWaggjsYKdjQQc= +github.com/silenceper/wechat v1.2.6/go.mod h1:7Wf0sCqQgJG65zCnl4TcDFk2XYxRCfqwQjg0Cf/lKeM= +github.com/silenceper/wechat/v2 v2.1.2/go.mod h1:0OprxYCCp2CZAKw06BBlnaczInTk2KxOLsKeiopshGg= +github.com/silenceper/wechat/v2 v2.1.4 h1:X+G9C/EiBET5AK0zhrflX3ESCP/yxhJUvoRoSXHm0js= +github.com/silenceper/wechat/v2 v2.1.4/go.mod h1:F0PKqImb15THnwoqRNrZO1z3vpwyWuiHr5zzfnjdECY= +github.com/sirupsen/logrus v1.8.1 h1:dJKuHgqk1NNQlqoA6BTlM1Wf9DOH3NBjQyu0h9+AZZE= +github.com/sirupsen/logrus v1.8.1/go.mod h1:yWOB1SBYBC5VeMP7gHvWumXLIWorT60ONWic61uBYv0= +github.com/sirupsen/logrus v1.9.0 h1:trlNQbNUG3OdDrDil03MCb1H2o9nJ1x4/5LYw7byDE0= +github.com/sirupsen/logrus v1.9.0/go.mod h1:naHLuLoDiP4jHNo9R0sCBMtWGeIprob74mVsIT4qYEQ= +github.com/spf13/cast v1.3.1 h1:nFm6S0SMdyzrzcmThSipiEubIDy8WEXKNZ0UOgiRpng= +github.com/spf13/cast v1.3.1/go.mod h1:Qx5cxh0v+4UWYiBimWS+eyWzqEqokIECu5etghLkUJE= +github.com/spf13/cast v1.4.1 h1:s0hze+J0196ZfEMTs80N7UlFt0BDuQ7Q+JDnHiMWKdA= +github.com/spf13/cast v1.4.1/go.mod h1:Qx5cxh0v+4UWYiBimWS+eyWzqEqokIECu5etghLkUJE= +github.com/stretchr/objx v0.1.0/go.mod h1:HFkY916IF+rwdDfMAkV7OtwuqBVzrE8GR6GFx+wExME= +github.com/stretchr/testify v1.2.2/go.mod h1:a8OnRcib4nhh0OaRAV+Yts87kKdq0PP7pXfy6kDkUVs= +github.com/stretchr/testify v1.2.3-0.20181224173747-660f15d67dbb/go.mod h1:a8OnRcib4nhh0OaRAV+Yts87kKdq0PP7pXfy6kDkUVs= +github.com/stretchr/testify v1.5.1/go.mod h1:5W2xD1RspED5o8YsWQXVCued0rvSQ+mT+I5cxcmMvtA= +github.com/stretchr/testify v1.6.1/go.mod h1:6Fq8oRcR53rry900zMqJjRRixrwX3KX962/h/Wwjteg= +github.com/stretchr/testify v1.7.0/go.mod h1:6Fq8oRcR53rry900zMqJjRRixrwX3KX962/h/Wwjteg= +github.com/stretchr/testify v1.7.1 h1:5TQK59W5E3v0r2duFAb7P95B6hEeOyEnHRa8MjYSMTY= +github.com/stretchr/testify v1.7.1/go.mod h1:6Fq8oRcR53rry900zMqJjRRixrwX3KX962/h/Wwjteg= +github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.364 h1:X1Jws4XqrTH+p7FBQ7BpjW4qFXObKHWm0/XhW/GvqRs= +github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/common v1.0.364/go.mod h1:7sCQWVkxcsR38nffDW057DRGk8mUjK1Ing/EFOK8s8Y= +github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/ocr v1.0.364 h1:kbor60vo37v7Hu+i17gooox9Rw281fVHNna8zwtDG1w= +github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/ocr v1.0.364/go.mod h1:LeIUBOLhc+Y5YCEpZrULPD9lgoXXV4/EmIcoEvmHz9c= +github.com/tidwall/gjson v1.14.1 h1:iymTbGkQBhveq21bEvAQ81I0LEBork8BFe1CUZXdyuo= +github.com/tidwall/gjson v1.14.1/go.mod h1:/wbyibRr2FHMks5tjHJ5F8dMZh3AcwJEMf5vlfC0lxk= +github.com/tidwall/match v1.1.1 h1:+Ho715JplO36QYgwN9PGYNhgZvoUSc9X2c80KVTi+GA= +github.com/tidwall/match v1.1.1/go.mod h1:eRSPERbgtNPcGhD8UCthc6PmLEQXEWd3PRB5JTxsfmM= +github.com/tidwall/pretty v1.0.0/go.mod h1:XNkn88O1ChpSDQmQeStsy+sBenx6DDtFZJxhVysOjyk= +github.com/tidwall/pretty v1.2.0 h1:RWIZEg2iJ8/g6fDDYzMpobmaoGh5OLl4AXtGUGPcqCs= +github.com/tidwall/pretty v1.2.0/go.mod h1:ITEVvHYasfjBbM0u2Pg8T2nJnzm8xPwvNhhsoaGGjNU= +github.com/xdg-go/pbkdf2 v1.0.0/go.mod h1:jrpuAogTd400dnrH08LKmI/xc1MbPOebTwRqcT5RDeI= +github.com/xdg-go/scram v1.1.1/go.mod h1:RaEWvsqvNKKvBPvcKeFjrG2cJqOkHTiyTpzz23ni57g= +github.com/xdg-go/stringprep v1.0.3/go.mod h1:W3f5j4i+9rC0kuIEJL0ky1VpHXQU3ocBgklLGvcBnW8= +github.com/xuri/efp v0.0.0-20220603152613-6918739fd470 h1:6932x8ltq1w4utjmfMPVj09jdMlkY0aiA6+Skbtl3/c= +github.com/xuri/efp v0.0.0-20220603152613-6918739fd470/go.mod h1:ybY/Jr0T0GTCnYjKqmdwxyxn2BQf2RcQIIvex5QldPI= +github.com/xuri/excelize/v2 v2.6.1 h1:ICBdtw803rmhLN3zfvyEGH3cwSmZv+kde7LhTDT659k= +github.com/xuri/excelize/v2 v2.6.1/go.mod h1:tL+0m6DNwSXj/sILHbQTYsLi9IF4TW59H2EF3Yrx1AU= +github.com/xuri/nfp v0.0.0-20220409054826-5e722a1d9e22 h1:OAmKAfT06//esDdpi/DZ8Qsdt4+M5+ltca05dA5bG2M= +github.com/xuri/nfp v0.0.0-20220409054826-5e722a1d9e22/go.mod h1:WwHg+CVyzlv/TX9xqBFXEZAuxOPxn2k1GNHwG41IIUQ= +github.com/youmark/pkcs8 v0.0.0-20181117223130-1be2e3e5546d/go.mod h1:rHwXgn7JulP+udvsHwJoVG1YGAP6VLg4y9I5dyZdqmA= +github.com/yuin/goldmark v1.2.1/go.mod h1:3hX8gzYuyVAZsxl0MRgGTJEmQBFcNTphYh9decYSb74= +go.mongodb.org/mongo-driver v1.10.1/go.mod h1:z4XpeoU6w+9Vht+jAFyLgVrD+jGSQQe0+CBWFHNiHt8= +golang.org/x/crypto v0.0.0-20190308221718-c2843e01d9a2/go.mod h1:djNgcEr1/C05ACkg1iLfiJU5Ep61QUkGW8qpdssI0+w= +golang.org/x/crypto v0.0.0-20191011191535-87dc89f01550/go.mod h1:yigFU9vqHzYiE8UmvKecakEJjdnWj3jj499lnFckfCI= +golang.org/x/crypto v0.0.0-20200622213623-75b288015ac9/go.mod h1:LzIPMQfyMNhhGPhUkYOs5KpL4U8rLKemX1yGLhDgUto= +golang.org/x/crypto v0.0.0-20210220033148-5ea612d1eb83/go.mod h1:jdWPYTVW3xRLrWPugEBEK3UY2ZEsg3UU495nc5E+M+I= +golang.org/x/crypto v0.0.0-20220331220935-ae2d96664a29/go.mod h1:IxCIyHEi3zRg3s0A5j5BB6A9Jmi73HwBIUl50j+osU4= +golang.org/x/crypto v0.0.0-20220622213112-05595931fe9d/go.mod h1:IxCIyHEi3zRg3s0A5j5BB6A9Jmi73HwBIUl50j+osU4= +golang.org/x/crypto v0.0.0-20220817201139-bc19a97f63c8 h1:GIAS/yBem/gq2MUqgNIzUHW7cJMmx3TGZOrnyYaNQ6c= +golang.org/x/crypto v0.0.0-20220817201139-bc19a97f63c8/go.mod h1:IxCIyHEi3zRg3s0A5j5BB6A9Jmi73HwBIUl50j+osU4= +golang.org/x/image v0.0.0-20220413100746-70e8d0d3baa9 h1:LRtI4W37N+KFebI/qV0OFiLUv4GLOWeEW5hn/KEJvxE= +golang.org/x/image v0.0.0-20220413100746-70e8d0d3baa9/go.mod h1:023OzeP/+EPmXeapQh35lcL3II3LrY8Ic+EFFKVhULM= +golang.org/x/mod v0.3.0/go.mod h1:s0Qsj1ACt9ePp/hMypM3fl4fZqREWJwdYDEqhRiZZUA= +golang.org/x/net v0.0.0-20180906233101-161cd47e91fd/go.mod h1:mL1N/T3taQHkDXs73rZJwtUhF3w3ftmwwsq0BUmARs4= +golang.org/x/net v0.0.0-20190404232315-eb5bcb51f2a3/go.mod h1:t9HGtf8HONx5eT2rtn7q6eTqICYqUVnKs3thJo3Qplg= +golang.org/x/net v0.0.0-20190620200207-3b0461eec859/go.mod h1:z5CRVTTTmAJ677TzLLGU+0bjPO0LkuOLi4/5GtJWs/s= +golang.org/x/net v0.0.0-20191125084936-ffdde1057850/go.mod h1:z5CRVTTTmAJ677TzLLGU+0bjPO0LkuOLi4/5GtJWs/s= +golang.org/x/net v0.0.0-20200520004742-59133d7f0dd7/go.mod h1:qpuaurCH72eLCgpAm/N6yyVIVM9cpaDIP3A8BGJEC5A= +golang.org/x/net v0.0.0-20201021035429-f5854403a974/go.mod h1:sp8m0HH+o8qH0wwXwYZr8TS3Oi6o0r6Gce1SSxlDquU= +golang.org/x/net v0.0.0-20210428140749-89ef3d95e781/go.mod h1:OJAsFXCWl8Ukc7SiCT/9KSuxbyM7479/AVlXFRxuMCk= +golang.org/x/net v0.0.0-20211112202133-69e39bad7dc2/go.mod h1:9nx3DQGgdP8bBQD5qxJ1jj9UTztislL4KSBs9R2vV5Y= +golang.org/x/net v0.0.0-20220225172249-27dd8689420f/go.mod h1:CfG3xpIq0wQ8r1q4Su4UZFWDARRcnwPjda9FqA0JpMk= +golang.org/x/net v0.0.0-20220812174116-3211cb980234 h1:RDqmgfe7SvlMWoqC3xwQ2blLO3fcWcxMa3eBLRdRW7E= +golang.org/x/net v0.0.0-20220812174116-3211cb980234/go.mod h1:YDH+HFinaLZZlnHAfSS6ZXJJ9M9t4Dl22yv3iI2vPwk= +golang.org/x/sync v0.0.0-20180314180146-1d60e4601c6f/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM= +golang.org/x/sync v0.0.0-20190423024810-112230192c58/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM= +golang.org/x/sync v0.0.0-20190911185100-cd5d95a43a6e/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM= +golang.org/x/sync v0.0.0-20201020160332-67f06af15bc9/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM= +golang.org/x/sync v0.0.0-20210220032951-036812b2e83c/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM= +golang.org/x/sys v0.0.0-20180909124046-d0be0721c37e/go.mod h1:STP8DvDyc/dI5b8T5hshtkjS+E42TnysNCUPdjciGhY= +golang.org/x/sys v0.0.0-20190215142949-d0b11bdaac8a/go.mod h1:STP8DvDyc/dI5b8T5hshtkjS+E42TnysNCUPdjciGhY= +golang.org/x/sys v0.0.0-20190412213103-97732733099d/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= +golang.org/x/sys v0.0.0-20190904154756-749cb33beabd/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= +golang.org/x/sys v0.0.0-20191005200804-aed5e4c7ecf9/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= +golang.org/x/sys v0.0.0-20191026070338-33540a1f6037/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= +golang.org/x/sys v0.0.0-20191120155948-bd437916bb0e/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= +golang.org/x/sys v0.0.0-20191204072324-ce4227a45e2e/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= +golang.org/x/sys v0.0.0-20200323222414-85ca7c5b95cd/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= +golang.org/x/sys v0.0.0-20200930185726-fdedc70b468f/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= +golang.org/x/sys v0.0.0-20201119102817-f84b799fce68/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= +golang.org/x/sys v0.0.0-20210112080510-489259a85091/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= +golang.org/x/sys v0.0.0-20210309074719-68d13333faf2/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= +golang.org/x/sys v0.0.0-20210423082822-04245dca01da/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= +golang.org/x/sys v0.0.0-20210615035016-665e8c7367d1/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= +golang.org/x/sys v0.0.0-20211216021012-1d35b9e2eb4e/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= +golang.org/x/sys v0.0.0-20220715151400-c0bba94af5f8/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= +golang.org/x/sys v0.0.0-20220728004956-3c1f35247d10 h1:WIoqL4EROvwiPdUtaip4VcDdpZ4kha7wBWZrbVKCIZg= +golang.org/x/sys v0.0.0-20220728004956-3c1f35247d10/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= +golang.org/x/term v0.0.0-20201117132131-f5c789dd3221/go.mod h1:Nr5EML6q2oocZ2LXRh80K7BxOlk5/8JxuGnuhpl+muw= +golang.org/x/term v0.0.0-20201126162022-7de9c90e9dd1/go.mod h1:bj7SfCRtBDWHUb9snDiAeCFNEtKQo2Wmx5Cou7ajbmo= +golang.org/x/term v0.0.0-20210927222741-03fcf44c2211/go.mod h1:jbD1KX2456YbFQfuXm/mYQcufACuNUgVhRMnK/tPxf8= +golang.org/x/text v0.3.0/go.mod h1:NqM8EUOU14njkJ3fqMW+pc6Ldnwhi/IjpwHt7yyuwOQ= +golang.org/x/text v0.3.3/go.mod h1:5Zoc/QRtKVWzQhOtBMvqHzDpF6irO9z98xDceosuGiQ= +golang.org/x/text v0.3.6/go.mod h1:5Zoc/QRtKVWzQhOtBMvqHzDpF6irO9z98xDceosuGiQ= +golang.org/x/text v0.3.7 h1:olpwvP2KacW1ZWvsR7uQhoyTYvKAupfQrRGBFM352Gk= +golang.org/x/text v0.3.7/go.mod h1:u+2+/6zg+i71rQMx5EYifcz6MCKuco9NR6JIITiCfzQ= +golang.org/x/tools v0.0.0-20180917221912-90fa682c2a6e/go.mod h1:n7NCudcB/nEzxVGmLbDWY5pfWTLqBcC2KZ6jyYvM4mQ= +golang.org/x/tools v0.0.0-20191119224855-298f0cb1881e/go.mod h1:b+2E5dAYhXwXZwtnZ6UAqBI28+e2cm9otk0dWdXHAEo= +golang.org/x/tools v0.0.0-20201224043029-2b0845dc783e/go.mod h1:emZCQorbCU4vsT4fOWvOPXz4eW1wZW4PmDk9uLelYpA= +golang.org/x/xerrors v0.0.0-20190717185122-a985d3407aa7/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0= +golang.org/x/xerrors v0.0.0-20191011141410-1b5146add898/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0= +golang.org/x/xerrors v0.0.0-20191204190536-9bdfabe68543/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0= +golang.org/x/xerrors v0.0.0-20200804184101-5ec99f83aff1/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0= +google.golang.org/protobuf v0.0.0-20200109180630-ec00e32a8dfd/go.mod h1:DFci5gLYBciE7Vtevhsrf46CRTquxDuWsQurQQe4oz8= +google.golang.org/protobuf v0.0.0-20200221191635-4d8936d0db64/go.mod h1:kwYJMbMJ01Woi6D6+Kah6886xMZcty6N08ah7+eCXa0= +google.golang.org/protobuf v0.0.0-20200228230310-ab0ca4ff8a60/go.mod h1:cfTl7dwQJ+fmap5saPgwCLgHXTUD7jkjRqWcaiX5VyM= +google.golang.org/protobuf v1.20.1-0.20200309200217-e05f789c0967/go.mod h1:A+miEFZTKqfCUM6K7xSMQL9OKL/b6hQv+e19PK+JZNE= +google.golang.org/protobuf v1.21.0/go.mod h1:47Nbq4nVaFHyn7ilMalzfO3qCViNmqZ2kzikPIcrTAo= +google.golang.org/protobuf v1.23.0/go.mod h1:EGpADcykh3NcUnDUJcl1+ZksZNG86OlYog2l/sGQquU= +google.golang.org/protobuf v1.26.0-rc.1/go.mod h1:jlhhOSvTdKEhbULTjvd4ARK9grFBp09yW+WbY/TyQbw= +google.golang.org/protobuf v1.26.0/go.mod h1:9q0QmTI4eRPtz6boOQmLYwt+qCgq0jsYwAQnmE0givc= +gopkg.in/chanxuehong/wechat.v2 v2.0.0-20190402080805-fa408c6cc20d h1:+Z31q68nGNYelwR3t5pTQ0qjB8zCo5fG4eYc9r972h8= +gopkg.in/chanxuehong/wechat.v2 v2.0.0-20190402080805-fa408c6cc20d/go.mod h1:HuIcE5yEmuAHBXNX5U4KUQRCki6sXCbLjPauW+ppvI0= +gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0= +gopkg.in/check.v1 v1.0.0-20180628173108-788fd7840127/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0= +gopkg.in/check.v1 v1.0.0-20190902080502-41f04d3bba15/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0= +gopkg.in/check.v1 v1.0.0-20200227125254-8fa46927fb4f/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0= +gopkg.in/fsnotify.v1 v1.4.7/go.mod h1:Tz8NjZHkW78fSQdbUxIjBTcgA1z1m8ZHf0WmKUhAMys= +gopkg.in/go-playground/assert.v1 v1.2.1/go.mod h1:9RXL0bg/zibRAgZUYszZSwO/z8Y/a8bDuhia5mkpMnE= +gopkg.in/go-playground/validator.v8 v8.18.1/go.mod h1:RX2a/7Ha8BgOhfk7j780h4/u/RRjR0eouCJSH80/M2Y= +gopkg.in/h2non/gock.v1 v1.0.15/go.mod h1:sX4zAkdYX1TRGJ2JY156cFspQn4yRWn6p9EMdODlynE= +gopkg.in/h2non/gock.v1 v1.1.2 h1:jBbHXgGBK/AoPVfJh5x4r/WxIrElvbLel8TCZkkZJoY= +gopkg.in/h2non/gock.v1 v1.1.2/go.mod h1:n7UGz/ckNChHiK05rDoiC4MYSunEC/lyaUm2WWaDva0= +gopkg.in/readline.v1 v1.0.0-20160726135117-62c6fe619375/go.mod h1:lNEQeAhU009zbRxng+XOj5ITVgY24WcbNnQopyfKoYQ= +gopkg.in/sourcemap.v1 v1.0.5 h1:inv58fC9f9J3TK2Y2R1NPntXEn3/wjWHkonhIUODNTI= +gopkg.in/sourcemap.v1 v1.0.5/go.mod h1:2RlvNNSMglmRrcvhfuzp4hQHwOtjxlbjX7UPY/GXb78= +gopkg.in/tomb.v1 v1.0.0-20141024135613-dd632973f1e7 h1:uRGJdciOHaEIrze2W8Q3AKkepLTh2hOroT7a+7czfdQ= +gopkg.in/tomb.v1 v1.0.0-20141024135613-dd632973f1e7/go.mod h1:dt/ZhP58zS4L8KSrWDmTeBkI65Dw0HsyUHuEVlX15mw= +gopkg.in/yaml.v2 v2.2.2/go.mod h1:hI93XBmqTisBFMUTm0b8Fm+jr3Dg1NNxqwp+5A1VGuI= +gopkg.in/yaml.v2 v2.2.4/go.mod h1:hI93XBmqTisBFMUTm0b8Fm+jr3Dg1NNxqwp+5A1VGuI= +gopkg.in/yaml.v2 v2.3.0/go.mod h1:hI93XBmqTisBFMUTm0b8Fm+jr3Dg1NNxqwp+5A1VGuI= +gopkg.in/yaml.v2 v2.4.0 h1:D8xgwECY7CYvx+Y2n4sBz93Jn9JRvxdiyyo8CTfuKaY= +gopkg.in/yaml.v2 v2.4.0/go.mod h1:RDklbk79AGWmwhnvt/jBztapEOGDOx6ZbXqjP6csGnQ= +gopkg.in/yaml.v3 v3.0.0-20200313102051-9f266ea9e77c/go.mod h1:K4uyk7z7BCEPqu6E+C64Yfv1cQ7kz7rIZviUmN+EgEM= +gopkg.in/yaml.v3 v3.0.0/go.mod h1:K4uyk7z7BCEPqu6E+C64Yfv1cQ7kz7rIZviUmN+EgEM= +gopkg.in/yaml.v3 v3.0.1 h1:fxVm/GzAzEWqLHuvctI91KS9hhNmmWOoWu0XTYJS7CA= +gopkg.in/yaml.v3 v3.0.1/go.mod h1:K4uyk7z7BCEPqu6E+C64Yfv1cQ7kz7rIZviUmN+EgEM=