--------去掉对es的支持和依赖,默认去掉对hive的包依赖,maven依赖关系优化,页面位置调整,增加build.bat的支持,支持jar直接启动,去掉历史遗留的无用前端代码,依赖的maven包升级--------

This commit is contained in:
暮光:城中城
2021-11-17 22:31:46 +08:00
parent 5bdf1ec0c6
commit 085b76f4b4
200 changed files with 1412 additions and 56618 deletions

View File

@@ -1,13 +1,17 @@
# 端口和根路劲jar启动时依此处配置放tomcat后以tomcat的配置为准
server:
port: 8083
servlet:
context-path: /zyplayer-doc-manage
spring:
application:
name: zyplayer-doc-manage
# mvc:
# static-path-pattern: /**
servlet:
multipart:
max-file-size: 100MB
max-request-size: 100MB
datasource:
continue-on-error: true
ldap:
@@ -18,23 +22,11 @@ spring:
password: MKDSHYDNIS
anonymousReadOnly: true
# 端口和根路劲main方法启动时需要放tomcat后以tomcat的配置为准
server:
port: 8083
servlet:
context-path: /zyplayer-doc-manage
# 整个文档项目的配置
zyplayer:
doc:
# ------zyplayer_doc_manage相关配置------
manage:
elasticsearch:
# 是否开启estrue或false现在主要用在wiki文档的搜索使用的es是6.8.0及以上版本
open: false
# es地址配置ip:port多个使用英文逗号分割127.0.0.1:9200,127.0.0.1:9201
hostPort: 127.0.0.1:9200
scheme: http
# 版本和升级信息获取地址
upgradePropertiesUrl: https://gitee.com/zyplayer/zyplayer-doc/raw/master/upgrade.properties
# 系统根域名调试UI时需要使用同时需要在host文件里配置127.0.0.1 local.zyplayer.com
@@ -48,11 +40,11 @@ zyplayer:
# ------WIKI文档相关------
wiki:
# WIKI文档的文件上传后的存储目录截图或文件还是很重要的建议您还要定期备份此目录的文件呢
upload-path: d:/zyplayerDoc/wikiFiles
upload-path: c:/zyplayerDoc/wikiFiles
# 是否检查目录有被系统定期清理的风险,强烈建议开启
upload-path-check: true
# git本地仓库地址用于管理WIKI的历史版本
git-local-path: d:/zyplayerDoc/wikiGitFiles
git-local-path: c:/zyplayerDoc/wikiGitFiles
# git远程仓库地址可选配置项如果存在则会每次修改后push到此仓库必须先创建远程仓库项目初始化时会去拉取
# 如果没有配置此项则只会在维护一个本地的git仓库使用简单
# 例https://gitee.com/zyplayer/zyplayer-doc-wiki-files.git

View File

@@ -1 +1 @@
<!DOCTYPE html><html lang=en><head><meta charset=utf-8><meta http-equiv=X-UA-Compatible content="IE=edge"><meta name=viewport content="width=device-width,initial-scale=1"><link rel=icon href=favicon-console.png><title>文档管理系统</title><link href=css/chunk-073e4e5b.e7241bfc.css rel=prefetch><link href=css/chunk-0741282a.cbb897f6.css rel=prefetch><link href=css/chunk-30126bdc.ee6e60f7.css rel=prefetch><link href=css/chunk-32cc5643.5a5b2ca1.css rel=prefetch><link href=css/chunk-35c34f90.938e4b31.css rel=prefetch><link href=css/chunk-4582ecc6.ee6e60f7.css rel=prefetch><link href=css/chunk-7349f4ef.b670b642.css rel=prefetch><link href=js/chunk-073e4e5b.c26a900f.js rel=prefetch><link href=js/chunk-0741282a.6bc51b43.js rel=prefetch><link href=js/chunk-2d207ece.b459da59.js rel=prefetch><link href=js/chunk-30126bdc.593dc4bc.js rel=prefetch><link href=js/chunk-32cc5643.68207d52.js rel=prefetch><link href=js/chunk-35c34f90.e5d5fc88.js rel=prefetch><link href=js/chunk-4582ecc6.0d05fa2c.js rel=prefetch><link href=js/chunk-7349f4ef.40c3f695.js rel=prefetch><link href=css/chunk-vendors.8924efc6.css rel=preload as=style><link href=css/index.ddfd3d93.css rel=preload as=style><link href=js/chunk-vendors.14026b60.js rel=preload as=script><link href=js/index.18fd88fb.js rel=preload as=script><link href=css/chunk-vendors.8924efc6.css rel=stylesheet><link href=css/index.ddfd3d93.css rel=stylesheet></head><body><noscript><strong>We're sorry but zyplayer-console-ui doesn't work properly without JavaScript enabled. Please enable it to continue.</strong></noscript><div id=app></div><script src=js/chunk-vendors.14026b60.js></script><script src=js/index.18fd88fb.js></script></body></html>
<!DOCTYPE html><html lang=en><head><meta charset=utf-8><meta http-equiv=X-UA-Compatible content="IE=edge"><meta name=viewport content="width=device-width,initial-scale=1"><link rel=icon href=favicon-console.png><title>文档管理系统</title><link href=css/chunk-073e4e5b.e7241bfc.css rel=prefetch><link href=css/chunk-0741282a.cbb897f6.css rel=prefetch><link href=css/chunk-30126bdc.ee6e60f7.css rel=prefetch><link href=css/chunk-32cc5643.5a5b2ca1.css rel=prefetch><link href=css/chunk-35c34f90.938e4b31.css rel=prefetch><link href=css/chunk-4582ecc6.ee6e60f7.css rel=prefetch><link href=css/chunk-7349f4ef.b670b642.css rel=prefetch><link href=js/chunk-073e4e5b.c26a900f.js rel=prefetch><link href=js/chunk-0741282a.4a9caaa8.js rel=prefetch><link href=js/chunk-2d207ece.b459da59.js rel=prefetch><link href=js/chunk-30126bdc.c9a7c363.js rel=prefetch><link href=js/chunk-32cc5643.13e15f9b.js rel=prefetch><link href=js/chunk-35c34f90.e5d5fc88.js rel=prefetch><link href=js/chunk-4582ecc6.9dc9f4c1.js rel=prefetch><link href=js/chunk-7349f4ef.49a2e9a0.js rel=prefetch><link href=css/chunk-vendors.8924efc6.css rel=preload as=style><link href=css/index.ddfd3d93.css rel=preload as=style><link href=js/chunk-vendors.14026b60.js rel=preload as=script><link href=js/index.7893e63c.js rel=preload as=script><link href=css/chunk-vendors.8924efc6.css rel=stylesheet><link href=css/index.ddfd3d93.css rel=stylesheet></head><body><noscript><strong>We're sorry but zyplayer-console-ui doesn't work properly without JavaScript enabled. Please enable it to continue.</strong></noscript><div id=app></div><script src=js/chunk-vendors.14026b60.js></script><script src=js/index.7893e63c.js></script></body></html>

View File

@@ -1 +1 @@
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-0741282a"],{"40c0":function(e,t,n){},9231:function(e,t,n){"use strict";var a=n("40c0"),r=n.n(a);r.a},ac2a:function(e,t,n){"use strict";n.r(t);var a=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{class:"login-background linear-gradient-"+e.bgImgRandom},[n("div",{staticClass:"login-box"},[n("el-form",{ref:"loginParam",staticClass:"demo-ruleForm login-container",attrs:{model:e.loginParam,rules:e.loginRules,"label-position":"left","label-width":"0px"}},[n("h3",{staticClass:"title"},[e._v("文档管理-系统登录")]),n("el-form-item",{attrs:{prop:"username"}},[n("el-input",{attrs:{type:"text","auto-complete":"off",placeholder:"账号"},nativeOn:{keyup:function(t){return!t.type.indexOf("key")&&e._k(t.keyCode,"enter",13,t.key,"Enter")?null:e.loginSubmit(t)}},model:{value:e.loginParam.username,callback:function(t){e.$set(e.loginParam,"username",t)},expression:"loginParam.username"}})],1),n("el-form-item",{attrs:{prop:"password"}},[n("el-input",{attrs:{type:"password","auto-complete":"off",placeholder:"密码"},nativeOn:{keyup:function(t){return!t.type.indexOf("key")&&e._k(t.keyCode,"enter",13,t.key,"Enter")?null:e.loginSubmit(t)}},model:{value:e.loginParam.password,callback:function(t){e.$set(e.loginParam,"password",t)},expression:"loginParam.password"}})],1),n("el-form-item",{staticStyle:{width:"100%"}},[n("el-button",{staticStyle:{width:"100%"},attrs:{type:"primary",loading:e.loginLoading},nativeOn:{click:function(t){return t.preventDefault(),e.loginSubmit(t)}}},[e._v("登录")])],1)],1)],1),e._m(0)])},r=[function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"power-by"},[e._v("Powered By "),n("a",{attrs:{target:"_blank",href:"https://gitee.com/zyplayer/zyplayer-doc"}},[e._v("zyplayer-doc")])])}],o=n("3099"),i={data:function(){return{loginLoading:!1,redirect:"",loginParam:{username:"",password:""},loginRules:{username:[{required:!0,message:"请输入账号",trigger:"blur"}],password:[{required:!0,message:"请输入密码",trigger:"blur"}]},bgImgRandom:Math.ceil(5*Math.random())}},mounted:function(){this.redirect=this.$route.query.redirect},methods:{loginSubmit:function(){var e=this;this.$refs.loginParam.validate((function(t){t&&(e.loginLoading=!0,o["a"].userLogin(e.loginParam).then((function(){e.$emit("loginSuccess"),e.loginLoading=!1,e.redirect?location.href=decodeURIComponent(e.redirect):e.$router.back()})).catch((function(t){console.log("登录失败",t),e.loginLoading=!1})))}))}}},l=i,s=(n("9231"),n("2877")),u=Object(s["a"])(l,a,r,!1,null,null,null);t["default"]=u.exports}}]);
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-0741282a"],{"40c0":function(e,t,n){},9231:function(e,t,n){"use strict";var a=n("40c0"),r=n.n(a);r.a},ac2a:function(e,t,n){"use strict";n.r(t);var a=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{class:"login-background linear-gradient-"+e.bgImgRandom},[n("div",{staticClass:"login-box"},[n("el-form",{ref:"loginParam",staticClass:"demo-ruleForm login-container",attrs:{model:e.loginParam,rules:e.loginRules,"label-position":"left","label-width":"0px"}},[n("h3",{staticClass:"title"},[e._v("文档管理-系统登录")]),n("el-form-item",{attrs:{prop:"username"}},[n("el-input",{attrs:{type:"text","auto-complete":"off",placeholder:"账号"},nativeOn:{keyup:function(t){return!t.type.indexOf("key")&&e._k(t.keyCode,"enter",13,t.key,"Enter")?null:e.loginSubmit(t)}},model:{value:e.loginParam.username,callback:function(t){e.$set(e.loginParam,"username",t)},expression:"loginParam.username"}})],1),n("el-form-item",{attrs:{prop:"password"}},[n("el-input",{attrs:{type:"password","auto-complete":"off",placeholder:"密码"},nativeOn:{keyup:function(t){return!t.type.indexOf("key")&&e._k(t.keyCode,"enter",13,t.key,"Enter")?null:e.loginSubmit(t)}},model:{value:e.loginParam.password,callback:function(t){e.$set(e.loginParam,"password",t)},expression:"loginParam.password"}})],1),n("el-form-item",{staticStyle:{width:"100%"}},[n("el-button",{staticStyle:{width:"100%"},attrs:{type:"primary",loading:e.loginLoading},nativeOn:{click:function(t){return t.preventDefault(),e.loginSubmit(t)}}},[e._v("登录")])],1)],1)],1),e._m(0)])},r=[function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"power-by"},[e._v("Powered By "),n("a",{attrs:{target:"_blank",href:"https://gitee.com/zyplayer/zyplayer-doc"}},[e._v("zyplayer-doc")])])}],o=n("3099"),i={data:function(){return{loginLoading:!1,redirect:"",loginParam:{username:"",password:""},loginRules:{username:[{required:!0,message:"请输入账号",trigger:"blur"}],password:[{required:!0,message:"请输入密码",trigger:"blur"}]},bgImgRandom:Math.ceil(5*Math.random())}},mounted:function(){this.redirect=this.$route.query.redirect},methods:{loginSubmit:function(){var e=this;this.$refs.loginParam.validate((function(t){t&&(e.loginLoading=!0,o["a"].userLogin(e.loginParam).then((function(){e.$emit("loginSuccess"),e.loginLoading=!1,e.redirect?location.href=decodeURIComponent(e.redirect):e.$router.back()})).catch((function(t){console.log("登录失败",t),e.loginLoading=!1})))}))}}},l=i,s=(n("9231"),n("2877")),u=Object(s["a"])(l,a,r,!1,null,null,null);t["default"]=u.exports}}]);

View File

@@ -1 +1 @@
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-30126bdc"],{"0b39":function(e,t,a){"use strict";a.r(t);var n=function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",[a("div",{staticStyle:{"border-bottom":"1px solid #eee",padding:"10px","margin-bottom":"10px"}},[e._v("权限列表")]),a("div",{staticStyle:{padding:"10px"}},[a("el-table",{staticStyle:{width:"100%","margin-bottom":"5px"},attrs:{data:e.searchResultList,border:"","max-height":"500"}},[a("el-table-column",{attrs:{prop:"id",label:"编号",width:"60"}}),a("el-table-column",{attrs:{prop:"name",label:"权限名"}}),a("el-table-column",{attrs:{prop:"spaceExplain",label:"权限说明"}}),a("el-table-column",{attrs:{prop:"createTime",label:"创建时间"}})],1)],1),a("div",{staticClass:"page-info-box"},[a("el-pagination",{attrs:{"page-sizes":[20,50,100],"page-size":20,"current-page":e.searchParam.pageNum,layout:"prev, pager, next, jumper, sizes, total",total:e.totalCount},on:{"size-change":e.handleSizeChange,"current-change":e.handleCurrentChange}})],1)])},i=[],r={data:function(){return{editUserDialogVisible:!1,totalCount:0,searchParam:{type:1,keyword:"",pageSize:20,pageNum:1},searchResultList:[{name:"张三"}],roleOptions:[{value:"管理员"}],editUserForm:{}}},mounted:function(){},methods:{handleSizeChange:function(e){this.searchParam.pageSize=e},handleCurrentChange:function(e){this.searchParam.pageNum=e},editUserInfo:function(){this.editUserDialogVisible=!0},resetPassword:function(){}}},l=r,s=(a("cc1a"),a("2877")),o=Object(s["a"])(l,n,i,!1,null,null,null);t["default"]=o.exports},"594a":function(e,t,a){},cc1a:function(e,t,a){"use strict";var n=a("594a"),i=a.n(n);i.a}}]);
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-30126bdc"],{"0b39":function(e,t,a){"use strict";a.r(t);var n=function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",[a("div",{staticStyle:{"border-bottom":"1px solid #eee",padding:"10px","margin-bottom":"10px"}},[e._v("权限列表")]),a("div",{staticStyle:{padding:"10px"}},[a("el-table",{staticStyle:{width:"100%","margin-bottom":"5px"},attrs:{data:e.searchResultList,border:"","max-height":"500"}},[a("el-table-column",{attrs:{prop:"id",label:"编号",width:"60"}}),a("el-table-column",{attrs:{prop:"name",label:"权限名"}}),a("el-table-column",{attrs:{prop:"spaceExplain",label:"权限说明"}}),a("el-table-column",{attrs:{prop:"createTime",label:"创建时间"}})],1)],1),a("div",{staticClass:"page-info-box"},[a("el-pagination",{attrs:{"page-sizes":[20,50,100],"page-size":20,"current-page":e.searchParam.pageNum,layout:"prev, pager, next, jumper, sizes, total",total:e.totalCount},on:{"size-change":e.handleSizeChange,"current-change":e.handleCurrentChange}})],1)])},i=[],r={data:function(){return{editUserDialogVisible:!1,totalCount:0,searchParam:{type:1,keyword:"",pageSize:20,pageNum:1},searchResultList:[{name:"张三"}],roleOptions:[{value:"管理员"}],editUserForm:{}}},mounted:function(){},methods:{handleSizeChange:function(e){this.searchParam.pageSize=e},handleCurrentChange:function(e){this.searchParam.pageNum=e},editUserInfo:function(){this.editUserDialogVisible=!0},resetPassword:function(){}}},l=r,s=(a("cc1a"),a("2877")),o=Object(s["a"])(l,n,i,!1,null,null,null);t["default"]=o.exports},"594a":function(e,t,a){},cc1a:function(e,t,a){"use strict";var n=a("594a"),i=a.n(n);i.a}}]);

View File

@@ -1 +1 @@
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-32cc5643"],{"408e":function(e,t,a){"use strict";a.r(t);var s=function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",{staticClass:"my-info-vue"},[a("el-breadcrumb",{staticStyle:{padding:"20px 10px"},attrs:{"separator-class":"el-icon-arrow-right"}},[a("el-breadcrumb-item",{attrs:{to:{path:"/"}}},[e._v("首页")]),a("el-breadcrumb-item",[e._v("我的信息")])],1),a("div",{staticStyle:{margin:"0 auto","max-width":"1000px"}},[a("el-card",{staticClass:"box-card"},[a("div",{staticClass:"clearfix",attrs:{slot:"header"},slot:"header"},[e._v("我的信息")]),a("el-form",{staticClass:"search-form-box",attrs:{"label-width":"100px"}},[a("el-form-item",{attrs:{label:"账号:"}},[e._v(e._s(e.userInfo.userNo))]),a("el-form-item",{attrs:{label:"用户名:"}},[e._v(e._s(e.userInfo.userName))]),a("el-form-item",{attrs:{label:"手机号:"}},[e._v(e._s(e.userInfo.phone))]),a("el-form-item",{attrs:{label:"邮箱:"}},[e._v(e._s(e.userInfo.email))]),a("el-form-item",{attrs:{label:"状态:"}},[e._v(e._s(0==e.userInfo.delFlag?"正常":"停用"))]),a("el-form-item",{attrs:{label:"性别:"}},[e._v(e._s(0==e.userInfo.sex?"女":"男"))])],1)],1)],1)],1)},r=[],l=a("3099"),n={data:function(){return{userInfo:{}}},mounted:function(){this.getUserInfo()},methods:{getUserInfo:function(){var e=this;l["a"].getSelfUserInfo().then((function(t){e.userInfo=t.data}))}}},o=n,i=(a("dcfc"),a("2877")),c=Object(i["a"])(o,s,r,!1,null,null,null);t["default"]=c.exports},dcfc:function(e,t,a){"use strict";var s=a("ed55"),r=a.n(s);r.a},ed55:function(e,t,a){}}]);
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-32cc5643"],{"408e":function(e,t,a){"use strict";a.r(t);var s=function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",{staticClass:"my-info-vue"},[a("el-breadcrumb",{staticStyle:{padding:"20px 10px"},attrs:{"separator-class":"el-icon-arrow-right"}},[a("el-breadcrumb-item",{attrs:{to:{path:"/"}}},[e._v("首页")]),a("el-breadcrumb-item",[e._v("我的信息")])],1),a("div",{staticStyle:{margin:"0 auto","max-width":"1000px"}},[a("el-card",{staticClass:"box-card"},[a("div",{staticClass:"clearfix",attrs:{slot:"header"},slot:"header"},[e._v("我的信息")]),a("el-form",{staticClass:"search-form-box",attrs:{"label-width":"100px"}},[a("el-form-item",{attrs:{label:"账号:"}},[e._v(e._s(e.userInfo.userNo))]),a("el-form-item",{attrs:{label:"用户名:"}},[e._v(e._s(e.userInfo.userName))]),a("el-form-item",{attrs:{label:"手机号:"}},[e._v(e._s(e.userInfo.phone))]),a("el-form-item",{attrs:{label:"邮箱:"}},[e._v(e._s(e.userInfo.email))]),a("el-form-item",{attrs:{label:"状态:"}},[e._v(e._s(0==e.userInfo.delFlag?"正常":"停用"))]),a("el-form-item",{attrs:{label:"性别:"}},[e._v(e._s(0==e.userInfo.sex?"女":"男"))])],1)],1)],1)],1)},r=[],l=a("3099"),n={data:function(){return{userInfo:{}}},mounted:function(){this.getUserInfo()},methods:{getUserInfo:function(){var e=this;l["a"].getSelfUserInfo().then((function(t){e.userInfo=t.data}))}}},o=n,i=(a("dcfc"),a("2877")),c=Object(i["a"])(o,s,r,!1,null,null,null);t["default"]=c.exports},dcfc:function(e,t,a){"use strict";var s=a("ed55"),r=a.n(s);r.a},ed55:function(e,t,a){}}]);

View File

@@ -1 +1 @@
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-4582ecc6"],{"4a12":function(e,t,a){"use strict";var r=a("4de9"),l=a.n(r);l.a},"4de9":function(e,t,a){},"97ae":function(e,t,a){"use strict";a.r(t);var r=function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",[a("div",{staticStyle:{"border-bottom":"1px solid #eee",padding:"10px","margin-bottom":"10px"}},[e._v("角色管理")]),a("el-form",{staticClass:"search-form-box",attrs:{inline:!0,model:e.searchParam}},[a("el-form-item",{attrs:{label:"搜索类型"}},[a("el-select",{attrs:{placeholder:"请选择"},model:{value:e.searchParam.type,callback:function(t){e.$set(e.searchParam,"type",t)},expression:"searchParam.type"}},[a("el-option",{attrs:{label:"角色名",value:1}})],1)],1),a("el-form-item",{attrs:{label:"关键字"}},[a("el-input",{attrs:{placeholder:"输入关键字"},model:{value:e.searchParam.keyword,callback:function(t){e.$set(e.searchParam,"keyword",t)},expression:"searchParam.keyword"}})],1),a("el-form-item",[a("el-button",{attrs:{type:"primary"},on:{click:function(e){}}},[e._v("查询")])],1)],1),a("div",{staticStyle:{padding:"10px"}},[a("el-table",{staticStyle:{width:"100%","margin-bottom":"5px"},attrs:{data:e.searchResultList,border:"","max-height":"500"}},[a("el-table-column",{attrs:{prop:"id",label:"编号",width:"60"}}),a("el-table-column",{attrs:{prop:"name",label:"角色名"}}),a("el-table-column",{attrs:{prop:"spaceExplain",label:"CODE"}}),a("el-table-column",{attrs:{prop:"createTime",label:"创建时间"}}),a("el-table-column",{attrs:{label:"操作"},scopedSlots:e._u([{key:"default",fn:function(t){return[a("el-button",{attrs:{size:"small",plain:"",type:"primary"},on:{click:function(a){return e.editUserInfo(t.row)}}},[e._v("修改")]),a("el-button",{attrs:{size:"small",plain:"",type:"primary"},on:{click:function(a){return e.resetPassword(t.row)}}},[e._v("权限管理")]),a("el-button",{attrs:{size:"small",plain:"",type:"warning"},on:{click:function(a){return e.editUserInfo(t.row)}}},[e._v("删除")])]}}])})],1)],1),a("div",{staticClass:"page-info-box"},[a("el-pagination",{attrs:{"page-sizes":[20,50,100],"page-size":20,"current-page":e.searchParam.pageNum,layout:"prev, pager, next, jumper, sizes, total",total:e.totalCount},on:{"size-change":e.handleSizeChange,"current-change":e.handleCurrentChange}})],1),a("el-dialog",{attrs:{title:"修改用户",visible:e.editUserDialogVisible,width:"600px"},on:{"update:visible":function(t){e.editUserDialogVisible=t}}},[a("el-form",{ref:"form",attrs:{model:e.editUserForm,"label-width":"80px"}},[a("el-form-item",{attrs:{label:"账号"}},[a("el-input",{model:{value:e.editUserForm.name,callback:function(t){e.$set(e.editUserForm,"name",t)},expression:"editUserForm.name"}})],1),a("el-form-item",{attrs:{label:"用户名"}},[a("el-input",{model:{value:e.editUserForm.name,callback:function(t){e.$set(e.editUserForm,"name",t)},expression:"editUserForm.name"}})],1),a("el-form-item",{attrs:{label:"手机号"}},[a("el-input",{model:{value:e.editUserForm.name,callback:function(t){e.$set(e.editUserForm,"name",t)},expression:"editUserForm.name"}})],1),a("el-form-item",{attrs:{label:"邮箱"}},[a("el-input",{model:{value:e.editUserForm.name,callback:function(t){e.$set(e.editUserForm,"name",t)},expression:"editUserForm.name"}})],1),a("el-form-item",{attrs:{label:"性别"}},[a("el-radio-group",{model:{value:e.editUserForm.resource,callback:function(t){e.$set(e.editUserForm,"resource",t)},expression:"editUserForm.resource"}},[a("el-radio",{attrs:{label:"男"}}),a("el-radio",{attrs:{label:"女"}})],1)],1),a("el-form-item",{attrs:{label:"角色"}},[a("el-select",{attrs:{multiple:"",filterable:"",placeholder:"请选择"},model:{value:e.editUserForm.xx,callback:function(t){e.$set(e.editUserForm,"xx",t)},expression:"editUserForm.xx"}},e._l(e.roleOptions,(function(e){return a("el-option",{key:e.value,attrs:{label:e.label,value:e.value}})})),1)],1),a("el-form-item",[a("el-button",{attrs:{type:"primary"},on:{click:function(e){}}},[e._v("确定")]),a("el-button",[e._v("取消")])],1)],1)],1)],1)},l=[],i={data:function(){return{editUserDialogVisible:!1,totalCount:0,searchParam:{type:1,keyword:"",pageSize:20,pageNum:1},searchResultList:[{name:"张三"}],roleOptions:[{value:"管理员"}],editUserForm:{}}},mounted:function(){},methods:{handleSizeChange:function(e){this.searchParam.pageSize=e},handleCurrentChange:function(e){this.searchParam.pageNum=e},editUserInfo:function(){this.editUserDialogVisible=!0},resetPassword:function(){}}},o=i,s=(a("4a12"),a("2877")),n=Object(s["a"])(o,r,l,!1,null,null,null);t["default"]=n.exports}}]);
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-4582ecc6"],{"4a12":function(e,t,a){"use strict";var r=a("4de9"),l=a.n(r);l.a},"4de9":function(e,t,a){},"97ae":function(e,t,a){"use strict";a.r(t);var r=function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",[a("div",{staticStyle:{"border-bottom":"1px solid #eee",padding:"10px","margin-bottom":"10px"}},[e._v("角色管理")]),a("el-form",{staticClass:"search-form-box",attrs:{inline:!0,model:e.searchParam}},[a("el-form-item",{attrs:{label:"搜索类型"}},[a("el-select",{attrs:{placeholder:"请选择"},model:{value:e.searchParam.type,callback:function(t){e.$set(e.searchParam,"type",t)},expression:"searchParam.type"}},[a("el-option",{attrs:{label:"角色名",value:1}})],1)],1),a("el-form-item",{attrs:{label:"关键字"}},[a("el-input",{attrs:{placeholder:"输入关键字"},model:{value:e.searchParam.keyword,callback:function(t){e.$set(e.searchParam,"keyword",t)},expression:"searchParam.keyword"}})],1),a("el-form-item",[a("el-button",{attrs:{type:"primary"},on:{click:function(e){}}},[e._v("查询")])],1)],1),a("div",{staticStyle:{padding:"10px"}},[a("el-table",{staticStyle:{width:"100%","margin-bottom":"5px"},attrs:{data:e.searchResultList,border:"","max-height":"500"}},[a("el-table-column",{attrs:{prop:"id",label:"编号",width:"60"}}),a("el-table-column",{attrs:{prop:"name",label:"角色名"}}),a("el-table-column",{attrs:{prop:"spaceExplain",label:"CODE"}}),a("el-table-column",{attrs:{prop:"createTime",label:"创建时间"}}),a("el-table-column",{attrs:{label:"操作"},scopedSlots:e._u([{key:"default",fn:function(t){return[a("el-button",{attrs:{size:"small",plain:"",type:"primary"},on:{click:function(a){return e.editUserInfo(t.row)}}},[e._v("修改")]),a("el-button",{attrs:{size:"small",plain:"",type:"primary"},on:{click:function(a){return e.resetPassword(t.row)}}},[e._v("权限管理")]),a("el-button",{attrs:{size:"small",plain:"",type:"warning"},on:{click:function(a){return e.editUserInfo(t.row)}}},[e._v("删除")])]}}])})],1)],1),a("div",{staticClass:"page-info-box"},[a("el-pagination",{attrs:{"page-sizes":[20,50,100],"page-size":20,"current-page":e.searchParam.pageNum,layout:"prev, pager, next, jumper, sizes, total",total:e.totalCount},on:{"size-change":e.handleSizeChange,"current-change":e.handleCurrentChange}})],1),a("el-dialog",{attrs:{title:"修改用户",visible:e.editUserDialogVisible,width:"600px"},on:{"update:visible":function(t){e.editUserDialogVisible=t}}},[a("el-form",{ref:"form",attrs:{model:e.editUserForm,"label-width":"80px"}},[a("el-form-item",{attrs:{label:"账号"}},[a("el-input",{model:{value:e.editUserForm.name,callback:function(t){e.$set(e.editUserForm,"name",t)},expression:"editUserForm.name"}})],1),a("el-form-item",{attrs:{label:"用户名"}},[a("el-input",{model:{value:e.editUserForm.name,callback:function(t){e.$set(e.editUserForm,"name",t)},expression:"editUserForm.name"}})],1),a("el-form-item",{attrs:{label:"手机号"}},[a("el-input",{model:{value:e.editUserForm.name,callback:function(t){e.$set(e.editUserForm,"name",t)},expression:"editUserForm.name"}})],1),a("el-form-item",{attrs:{label:"邮箱"}},[a("el-input",{model:{value:e.editUserForm.name,callback:function(t){e.$set(e.editUserForm,"name",t)},expression:"editUserForm.name"}})],1),a("el-form-item",{attrs:{label:"性别"}},[a("el-radio-group",{model:{value:e.editUserForm.resource,callback:function(t){e.$set(e.editUserForm,"resource",t)},expression:"editUserForm.resource"}},[a("el-radio",{attrs:{label:"男"}}),a("el-radio",{attrs:{label:"女"}})],1)],1),a("el-form-item",{attrs:{label:"角色"}},[a("el-select",{attrs:{multiple:"",filterable:"",placeholder:"请选择"},model:{value:e.editUserForm.xx,callback:function(t){e.$set(e.editUserForm,"xx",t)},expression:"editUserForm.xx"}},e._l(e.roleOptions,(function(e){return a("el-option",{key:e.value,attrs:{label:e.label,value:e.value}})})),1)],1),a("el-form-item",[a("el-button",{attrs:{type:"primary"},on:{click:function(e){}}},[e._v("确定")]),a("el-button",[e._v("取消")])],1)],1)],1)],1)},l=[],i={data:function(){return{editUserDialogVisible:!1,totalCount:0,searchParam:{type:1,keyword:"",pageSize:20,pageNum:1},searchResultList:[{name:"张三"}],roleOptions:[{value:"管理员"}],editUserForm:{}}},mounted:function(){},methods:{handleSizeChange:function(e){this.searchParam.pageSize=e},handleCurrentChange:function(e){this.searchParam.pageNum=e},editUserInfo:function(){this.editUserDialogVisible=!0},resetPassword:function(){}}},o=i,s=(a("4a12"),a("2877")),n=Object(s["a"])(o,r,l,!1,null,null,null);t["default"]=n.exports}}]);

View File

@@ -1 +0,0 @@
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-7349f4ef"],{2629:function(t,a,i){"use strict";var s=i("d7846"),e=i.n(s);e.a},"3c4a":function(t,a){t.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAEAAAABACAYAAACqaXHeAAAABmJLR0QA/wD/AP+gvaeTAAAACXBIWXMAAA7EAAAOxAGVKw4bAAAE2UlEQVR4nO3bW4hVVRzH8c+aM6VZPXRTC5qkHvIlSAhLujxGN3qooEizIrpoN7xkF0rLLmamFaSZWYlUVChkUARGUBFpkIiWBtlFu5iWRGWpM+ec1cOeqWnce8aZs8+Zxu0PNpyZ/3/vtfZ3/9dl7/VfQRfNvjRCwOAYBIghscUQdf77n9+BjrOidN//+HX2DbHrudUY7EF85IXmrtXLXVklDMVTGI5q3Wvxr0IMduNLfHL3deU1gh8Ev4nMWpw/kND1H+0R0IIPY9BCYyOg07UrMdgh2BRZJsSV2IjKo88dVMs9/0f1j7G+qySJxKEYg614LbLkzolt65SZvah2EE01X6ExCjguMkmwQtmdkSOm3dBm2g1tNV14oADorBF4CEsFp8C0G/sOYSACIGm6F+H1GFxYJdzRRwgDFUCHRmJx4Aol4Y6beg9hoAOA4YInRZcd+idTJ/QOwv4AAIZGHt95mHPoHYR6D4Ot2ISfu/GJGIxRGFRDWS2YjbH4el9PqheAiDVYiLfwq5RJV7uqOAHv4vgayz0Dd8UQb58ysXXX3AUH93hCvQAsx1RsDpEZL5cyHe+9pgy7dZok1qhxeA+vTpnYqicIuQMIrIpMCTFsmf5Kv3Qxh2Bq5AP82JNz3gDasCCwJetxTr+60vFzUKSZGCNDZDeRvuhUjA3MmTyx1bxuoiBvABuxEtKe/vTxFaJjBONwLg5vNw2SzPnzUgljY/CS5B0iU3nH6DpNtqcZZoyvCEl4zhLNxXk4s/04TW0jQJpOwSUw+ebWTKe8AfyhrHpfdts/G5fLN9yz1ITzJUNst06N1Ik4rIHljZHMLzLVaACNePKddWTktO7G1/1lKtydRkdKkzL6gSIAOCNwXJaxCACOlbwnpKoIAAZhWJaxCACaOz6dTbpl736gCABgpCapb2RFAdAiGpJmKAqAo2VMwIoCYDBSV1GKAiBTBwD0dwX6WwcA9HcF+lsHAPR3BfpbRQHwl2SVai8VBcA2/JFmKAqAzUr+SjP8n3OE8lO0UVl8Yv7eCyRFiIA2fJ5lLAKA3fgly1gEAJvxTZaxCAA+qiajQKqKAGBNk/QOkMaPApWeXXLV1sDq7hzqEgEPXpmZX70BO+pRZobe180IQP4AjlJK//pKkj2C+diTc7lp2oU3UJ6XEf7k3wRGiY7Ht10NDywtmT6+UsZswQaMlnyojJJEiYvlu3L8Cd7pySlvACfhgsCCmVdW98oSmbm0RPJi8lr70ZEk1YKz5AdgFxaKfuvJMe8m0BS5rdq+Jv/A2Eb3ef9oJd5Gt/lB1KcTPBnzY4in0y8QfsKjgd/3JRmhXsPgGLyKl2Pw5v3jKl/FoDV1x4hYjUno55E8UcXTlVJlValS6jFHkPrOA0bgHkzAd6S/jrYrryyx5VjQXG6Ojz+zb7tJ6j0RCjiy/ai3PpYA/3Vfb579Zyq8PkS3hmhTb0/cHwCsFV2v6lPozdNnYAOoSpKixwdWC8xZ2PtdZAMVwE4swlWB9TDn2b5toRto3wSrkinuE1gh2vNYjXsHBwqAVnwWWBKjZdgaQj4bJ/+vACJ+l2y1WY1lYlht2LatYftQjdg6u0cyrn6jcZuny5Kb/h5fYC224JcQtc56vj7PKuuq23Gtxub2xkCbqAwPv9iY4Pwbdbxk84RcOcgAAAAASUVORK5CYII="},b3d7:function(t,a,i){"use strict";i.r(a);var s=function(){var t=this,a=t.$createElement,s=t._self._c||a;return s("div",{staticStyle:{padding:"10px"}},[s("div",{staticStyle:{"max-width":"800px",margin:"20px auto"}},[s("div",{staticStyle:{"text-align":"center"}},[t._v('欢迎使用ヾ(๑╹◡╹)ノ" - 今天也要加油鸭')]),s("div",{staticStyle:{padding:"20px"}},[s("el-card",{staticClass:"box-card"},[s("div",{staticClass:"clearfix",attrs:{slot:"header"},slot:"header"},[s("span",[t._v("所有产品")])]),s("div",{staticClass:"product-list"},[s("div",{staticClass:"item",on:{click:function(a){return t.jumpToDocPage("doc-swagger-plus")}}},[s("div",{staticClass:"logo-text text1"},[t._v("Swagger")]),s("div",[t._v("Swagger文档")])]),s("div",{staticClass:"item",on:{click:function(a){return t.jumpToDocPage("doc-db")}}},[s("div",{staticClass:"logo-text text2"},[t._v("DB")]),s("div",[t._v("数据库文档")])]),s("div",{staticClass:"item",on:{click:function(a){return t.jumpToDocPage("doc-wiki")}}},[s("div",{staticClass:"logo-text text3"},[t._v("WIKI")]),s("div",[t._v("WIKI文档")])]),s("div",{staticClass:"item",on:{click:function(a){return t.jumpToDocPage("doc-dubbo")}}},[s("div",{staticClass:"logo-img"},[s("img",{attrs:{src:i("3c4a")}})]),s("div",[t._v("Dubbo文档")])]),s("div",{staticClass:"item",on:{click:function(a){return t.jumpToDocPage("doc-es")}}},[s("div",{staticClass:"logo-text text4"},[t._v("ES")]),s("div",[t._v("es文档")])]),s("el-tooltip",{attrs:{effect:"dark",content:"不成熟,欢迎完善",placement:"top-start"}},[s("div",{staticClass:"item disabled"},[s("div",{staticClass:"logo-text"},[t._v("GRPC")]),s("div",[t._v("GRPC文档")])])])],1)])],1),s("div",{staticStyle:{padding:"20px"}},[s("el-card",{staticClass:"box-card"},[s("div",{staticClass:"clearfix",attrs:{slot:"header"},slot:"header"},[s("span",[t._v("二方库-集成代理版")]),s("a",{attrs:{target:"_blank",href:"http://doc.zyplayer.com/zyplayer-doc-manage/doc-wiki#/page/share/view?pageId=76&space=23f3f59a60824d21af9f7c3bbc9bc3cb"}},[s("i",{staticClass:"el-icon-info",staticStyle:{color:"#999"}})])]),s("div",{staticClass:"product-list"},[s("el-tooltip",{attrs:{effect:"dark",content:"swagger的原生官方文档",placement:"top-start"}},[s("div",{staticClass:"item",on:{click:function(a){return t.jumpToDocPage("swagger-ui.html")}}},[s("div",{staticClass:"logo-text text1"},[t._v("swagger")]),s("div",[t._v("原生文档")])])]),s("el-tooltip",{attrs:{effect:"dark",content:"swagger-bootstrap-ui文档",placement:"top-start"}},[s("div",{staticClass:"item",on:{click:function(a){return t.jumpToDocPage("doc.html")}}},[s("div",{staticClass:"logo-text text2"},[t._v("swagger")]),s("div",[t._v("二方文档")])])])],1)])],1)])])},e=[],c={data:function(){return{}},mounted:function(){},methods:{jumpToDocPage:function(t){window.open(t)}}},o=c,l=(i("2629"),i("2877")),d=Object(l["a"])(o,s,e,!1,null,null,null);a["default"]=d.exports},d7846:function(t,a,i){}}]);

View File

@@ -0,0 +1 @@
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-7349f4ef"],{2629:function(t,i,A){"use strict";var a=A("d7846"),o=A.n(a);o.a},"3c4a":function(t,i){t.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAEAAAABACAYAAACqaXHeAAAABmJLR0QA/wD/AP+gvaeTAAAACXBIWXMAAA7EAAAOxAGVKw4bAAAE2UlEQVR4nO3bW4hVVRzH8c+aM6VZPXRTC5qkHvIlSAhLujxGN3qooEizIrpoN7xkF0rLLmamFaSZWYlUVChkUARGUBFpkIiWBtlFu5iWRGWpM+ec1cOeqWnce8aZs8+Zxu0PNpyZ/3/vtfZ3/9dl7/VfQRfNvjRCwOAYBIghscUQdf77n9+BjrOidN//+HX2DbHrudUY7EF85IXmrtXLXVklDMVTGI5q3Wvxr0IMduNLfHL3deU1gh8Ev4nMWpw/kND1H+0R0IIPY9BCYyOg07UrMdgh2BRZJsSV2IjKo88dVMs9/0f1j7G+qySJxKEYg614LbLkzolt65SZvah2EE01X6ExCjguMkmwQtmdkSOm3dBm2g1tNV14oADorBF4CEsFp8C0G/sOYSACIGm6F+H1GFxYJdzRRwgDFUCHRmJx4Aol4Y6beg9hoAOA4YInRZcd+idTJ/QOwv4AAIZGHt95mHPoHYR6D4Ot2ISfu/GJGIxRGFRDWS2YjbH4el9PqheAiDVYiLfwq5RJV7uqOAHv4vgayz0Dd8UQb58ysXXX3AUH93hCvQAsx1RsDpEZL5cyHe+9pgy7dZok1qhxeA+vTpnYqicIuQMIrIpMCTFsmf5Kv3Qxh2Bq5AP82JNz3gDasCCwJetxTr+60vFzUKSZGCNDZDeRvuhUjA3MmTyx1bxuoiBvABuxEtKe/vTxFaJjBONwLg5vNw2SzPnzUgljY/CS5B0iU3nH6DpNtqcZZoyvCEl4zhLNxXk4s/04TW0jQJpOwSUw+ebWTKe8AfyhrHpfdts/G5fLN9yz1ITzJUNst06N1Ik4rIHljZHMLzLVaACNePKddWTktO7G1/1lKtydRkdKkzL6gSIAOCNwXJaxCACOlbwnpKoIAAZhWJaxCACaOz6dTbpl736gCABgpCapb2RFAdAiGpJmKAqAo2VMwIoCYDBSV1GKAiBTBwD0dwX6WwcA9HcF+lsHAPR3BfpbRQHwl2SVai8VBcA2/JFmKAqAzUr+SjP8n3OE8lO0UVl8Yv7eCyRFiIA2fJ5lLAKA3fgly1gEAJvxTZaxCAA+qiajQKqKAGBNk/QOkMaPApWeXXLV1sDq7hzqEgEPXpmZX70BO+pRZobe180IQP4AjlJK//pKkj2C+diTc7lp2oU3UJ6XEf7k3wRGiY7Ht10NDywtmT6+UsZswQaMlnyojJJEiYvlu3L8Cd7pySlvACfhgsCCmVdW98oSmbm0RPJi8lr70ZEk1YKz5AdgFxaKfuvJMe8m0BS5rdq+Jv/A2Eb3ef9oJd5Gt/lB1KcTPBnzY4in0y8QfsKjgd/3JRmhXsPgGLyKl2Pw5v3jKl/FoDV1x4hYjUno55E8UcXTlVJlValS6jFHkPrOA0bgHkzAd6S/jrYrryyx5VjQXG6Ojz+zb7tJ6j0RCjiy/ai3PpYA/3Vfb579Zyq8PkS3hmhTb0/cHwCsFV2v6lPozdNnYAOoSpKixwdWC8xZ2PtdZAMVwE4swlWB9TDn2b5toRto3wSrkinuE1gh2vNYjXsHBwqAVnwWWBKjZdgaQj4bJ/+vACJ+l2y1WY1lYlht2LatYftQjdg6u0cyrn6jcZuny5Kb/h5fYC224JcQtc56vj7PKuuq23Gtxub2xkCbqAwPv9iY4Pwbdbxk84RcOcgAAAAASUVORK5CYII="},b3d7:function(t,i,A){"use strict";A.r(i);var a=function(){var t=this,i=t.$createElement,a=t._self._c||i;return a("div",{staticStyle:{padding:"10px"}},[a("div",{staticStyle:{"max-width":"800px",margin:"20px auto"}},[a("div",{staticStyle:{"text-align":"center"}},[t._v('欢迎使用ヾ(๑╹◡╹)ノ" - 今天也要加油鸭')]),a("div",{staticStyle:{padding:"20px"}},[a("el-card",{staticClass:"box-card"},[a("div",{staticClass:"clearfix",attrs:{slot:"header"},slot:"header"},[a("span",[t._v("所有产品")])]),a("div",{staticClass:"product-list"},[a("div",{staticClass:"item",on:{click:function(i){return t.jumpToDocPage("doc-swagger-plus")}}},[a("div",{staticClass:"logo-text text1"},[t._v("Swagger")]),a("div",[t._v("Swagger文档")])]),a("div",{staticClass:"item",on:{click:function(i){return t.jumpToDocPage("doc-db")}}},[a("div",{staticClass:"logo-text text2"},[t._v("DB")]),a("div",[t._v("数据库文档")])]),a("div",{staticClass:"item",on:{click:function(i){return t.jumpToDocPage("doc-wiki")}}},[a("div",{staticClass:"logo-text text3"},[t._v("WIKI")]),a("div",[t._v("WIKI文档")])]),a("div",{staticClass:"item",on:{click:function(i){return t.jumpToDocPage("doc-dubbo")}}},[a("div",{staticClass:"logo-img"},[a("img",{attrs:{src:A("3c4a")}})]),a("div",[t._v("Dubbo文档")])])])])],1)])])},o=[],s={data:function(){return{}},mounted:function(){},methods:{jumpToDocPage:function(t){window.open(t)}}},c=s,d=(A("2629"),A("2877")),e=Object(d["a"])(c,a,o,!1,null,null,null);i["default"]=e.exports},d7846:function(t,i,A){}}]);

File diff suppressed because one or more lines are too long

View File

@@ -510,5 +510,50 @@ CREATE TABLE `db_table_relation` (
PRIMARY KEY (`id`) USING BTREE
) ENGINE=InnoDB AUTO_INCREMENT=1 DEFAULT CHARSET=utf8mb4 ROW_FORMAT=DYNAMIC COMMENT='';
DROP TABLE IF EXISTS `swagger_doc`;
CREATE TABLE `swagger_doc` (
`id` bigint(20) NOT NULL AUTO_INCREMENT COMMENT 'ID',
`name` varchar(100) DEFAULT NULL COMMENT '',
`doc_type` tinyint(4) NOT NULL DEFAULT '1' COMMENT ' 1=url 2=swagger文档json',
`doc_url` varchar(250) DEFAULT NULL COMMENT 'URL地址',
`json_content` mediumtext DEFAULT NULL COMMENT 'swagger文档json内容',
`rewrite_domain` varchar(100) DEFAULT NULL COMMENT '',
`open_visit` tinyint(4) NOT NULL DEFAULT '0' COMMENT '访 0= 1=',
`doc_status` tinyint(4) NOT NULL DEFAULT '1' COMMENT ' 1= 2=',
`create_user_id` bigint(20) DEFAULT NULL COMMENT 'ID',
`create_user_name` varchar(20) DEFAULT NULL COMMENT '',
`create_time` datetime DEFAULT NULL COMMENT '',
`yn` tinyint(4) DEFAULT NULL COMMENT ' 0= 1=',
PRIMARY KEY (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=1 DEFAULT CHARSET=utf8mb4 COMMENT='swagger文档地址';
DROP TABLE IF EXISTS `swagger_request_param`;
CREATE TABLE `swagger_request_param` (
`id` bigint(20) NOT NULL AUTO_INCREMENT COMMENT 'ID',
`doc_url` varchar(250) DEFAULT NULL COMMENT 'url',
`form_data` text DEFAULT NULL COMMENT 'form参数',
`body_data` text DEFAULT NULL COMMENT 'body参数',
`header_data` varchar(1024) DEFAULT NULL COMMENT 'header参数',
`cookie_data` varchar(1024) DEFAULT NULL COMMENT 'cookie参数',
`create_user_id` bigint(20) DEFAULT NULL COMMENT 'ID',
`create_user_name` varchar(20) DEFAULT NULL COMMENT '',
`create_time` datetime DEFAULT NULL COMMENT '',
`yn` tinyint(4) DEFAULT NULL COMMENT ' 0= 1=',
PRIMARY KEY (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=1 DEFAULT CHARSET=utf8mb4 COMMENT='swagger文档请求参数记录';
DROP TABLE IF EXISTS `swagger_global_param`;
CREATE TABLE `swagger_global_param` (
`id` bigint(20) NOT NULL AUTO_INCREMENT COMMENT 'ID',
`param_type` tinyint(4) NOT NULL DEFAULT '1' COMMENT ' 1=form 2=header 3=cookie',
`param_key` varchar(100) DEFAULT NULL COMMENT '',
`param_value` varchar(1024) DEFAULT NULL COMMENT '',
`create_user_id` bigint(20) DEFAULT NULL COMMENT 'ID',
`create_user_name` varchar(20) DEFAULT NULL COMMENT '',
`create_time` datetime DEFAULT NULL COMMENT '',
`yn` tinyint(4) DEFAULT NULL COMMENT ' 0= 1=',
PRIMARY KEY (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=1 DEFAULT CHARSET=utf8mb4 COMMENT='swagger文档全局参数记录';
SET FOREIGN_KEY_CHECKS = 1;

View File

@@ -513,5 +513,49 @@ CREATE TABLE `db_table_relation` (
PRIMARY KEY (`id`) USING BTREE
) ENGINE=InnoDB AUTO_INCREMENT=1 DEFAULT CHARSET=utf8mb4 ROW_FORMAT=DYNAMIC COMMENT='';
DROP TABLE IF EXISTS `swagger_doc`;
CREATE TABLE `swagger_doc` (
`id` bigint(20) NOT NULL AUTO_INCREMENT COMMENT 'ID',
`name` varchar(100) DEFAULT NULL COMMENT '',
`doc_type` tinyint(4) NOT NULL DEFAULT '1' COMMENT ' 1=url 2=swagger文档json',
`doc_url` varchar(250) DEFAULT NULL COMMENT 'URL地址',
`json_content` mediumtext DEFAULT NULL COMMENT 'swagger文档json内容',
`rewrite_domain` varchar(100) DEFAULT NULL COMMENT '',
`open_visit` tinyint(4) NOT NULL DEFAULT '0' COMMENT '访 0= 1=',
`doc_status` tinyint(4) NOT NULL DEFAULT '1' COMMENT ' 1= 2=',
`create_user_id` bigint(20) DEFAULT NULL COMMENT 'ID',
`create_user_name` varchar(20) DEFAULT NULL COMMENT '',
`create_time` datetime DEFAULT NULL COMMENT '',
`yn` tinyint(4) DEFAULT NULL COMMENT ' 0= 1=',
PRIMARY KEY (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=1 DEFAULT CHARSET=utf8mb4 COMMENT='swagger文档地址';
DROP TABLE IF EXISTS `swagger_request_param`;
CREATE TABLE `swagger_request_param` (
`id` bigint(20) NOT NULL AUTO_INCREMENT COMMENT 'ID',
`doc_url` varchar(250) DEFAULT NULL COMMENT 'url',
`form_data` text DEFAULT NULL COMMENT 'form参数',
`body_data` text DEFAULT NULL COMMENT 'body参数',
`header_data` varchar(1024) DEFAULT NULL COMMENT 'header参数',
`cookie_data` varchar(1024) DEFAULT NULL COMMENT 'cookie参数',
`create_user_id` bigint(20) DEFAULT NULL COMMENT 'ID',
`create_user_name` varchar(20) DEFAULT NULL COMMENT '',
`create_time` datetime DEFAULT NULL COMMENT '',
`yn` tinyint(4) DEFAULT NULL COMMENT ' 0= 1=',
PRIMARY KEY (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=1 DEFAULT CHARSET=utf8mb4 COMMENT='swagger文档请求参数记录';
DROP TABLE IF EXISTS `swagger_global_param`;
CREATE TABLE `swagger_global_param` (
`id` bigint(20) NOT NULL AUTO_INCREMENT COMMENT 'ID',
`param_type` tinyint(4) NOT NULL DEFAULT '1' COMMENT ' 1=form 2=header 3=cookie',
`param_key` varchar(100) DEFAULT NULL COMMENT '',
`param_value` varchar(1024) DEFAULT NULL COMMENT '',
`create_user_id` bigint(20) DEFAULT NULL COMMENT 'ID',
`create_user_name` varchar(20) DEFAULT NULL COMMENT '',
`create_time` datetime DEFAULT NULL COMMENT '',
`yn` tinyint(4) DEFAULT NULL COMMENT ' 0= 1=',
PRIMARY KEY (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=1 DEFAULT CHARSET=utf8mb4 COMMENT='swagger文档全局参数记录';
SET FOREIGN_KEY_CHECKS = 1;

View File

@@ -8,3 +8,48 @@
-- 3. 加字段后记得排查是否有insert语句需要同步修改
--
-- ------------------------从1.0.9版本升级------------------------
CREATE TABLE `swagger_doc` (
`id` bigint(20) NOT NULL AUTO_INCREMENT COMMENT '主键自增ID',
`name` varchar(100) DEFAULT NULL COMMENT '文档名称',
`doc_type` tinyint(4) NOT NULL DEFAULT '1' COMMENT '文档类型 1=url 2=swagger文档json',
`doc_url` varchar(250) DEFAULT NULL COMMENT '文档URL地址',
`json_content` mediumtext DEFAULT NULL COMMENT 'swagger文档json内容',
`rewrite_domain` varchar(100) DEFAULT NULL COMMENT '重写的域名',
`open_visit` tinyint(4) NOT NULL DEFAULT '0' COMMENT '是否开放访问 0=否 1=是',
`doc_status` tinyint(4) NOT NULL DEFAULT '1' COMMENT '状态 1=启用 2=禁用',
`create_user_id` bigint(20) DEFAULT NULL COMMENT '创建人ID',
`create_user_name` varchar(20) DEFAULT NULL COMMENT '创建人名字',
`create_time` datetime DEFAULT NULL COMMENT '创建时间',
`yn` tinyint(4) DEFAULT NULL COMMENT '是否有效 0=无效 1=有效',
PRIMARY KEY (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=1 DEFAULT CHARSET=utf8mb4 COMMENT='swagger文档地址';
CREATE TABLE `swagger_request_param` (
`id` bigint(20) NOT NULL AUTO_INCREMENT COMMENT '主键自增ID',
`doc_url` varchar(250) DEFAULT NULL COMMENT '文档url',
`form_data` text DEFAULT NULL COMMENT 'form参数',
`body_data` text DEFAULT NULL COMMENT 'body参数',
`header_data` varchar(1024) DEFAULT NULL COMMENT 'header参数',
`cookie_data` varchar(1024) DEFAULT NULL COMMENT 'cookie参数',
`create_user_id` bigint(20) DEFAULT NULL COMMENT '创建人ID',
`create_user_name` varchar(20) DEFAULT NULL COMMENT '创建人名字',
`create_time` datetime DEFAULT NULL COMMENT '创建时间',
`yn` tinyint(4) DEFAULT NULL COMMENT '是否有效 0=无效 1=有效',
PRIMARY KEY (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=1 DEFAULT CHARSET=utf8mb4 COMMENT='swagger文档请求参数记录';
CREATE TABLE `swagger_global_param` (
`id` bigint(20) NOT NULL AUTO_INCREMENT COMMENT '主键自增ID',
`param_type` tinyint(4) NOT NULL DEFAULT '1' COMMENT '参数类型 1=form 2=header 3=cookie',
`param_key` varchar(100) DEFAULT NULL COMMENT '参数名',
`param_value` varchar(1024) DEFAULT NULL COMMENT '参数值',
`create_user_id` bigint(20) DEFAULT NULL COMMENT '创建人ID',
`create_user_name` varchar(20) DEFAULT NULL COMMENT '创建人名字',
`create_time` datetime DEFAULT NULL COMMENT '创建时间',
`yn` tinyint(4) DEFAULT NULL COMMENT '是否有效 0=无效 1=有效',
PRIMARY KEY (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=1 DEFAULT CHARSET=utf8mb4 COMMENT='swagger文档全局参数记录';