Merge branch 'master'

This commit is contained in:
不做码农 2021-11-16 10:55:05 +08:00
commit 7f2f1139d6
4 changed files with 2 additions and 30 deletions

View File

@ -84,7 +84,7 @@ export default {
},
methods: {
getCode() {
this.loginForm.code = "";
// this.loginForm.code = "";
getCodeImg().then((res) => {
this.codeUrl = "data:image/gif;base64," + res.data.img;
this.loginForm.uuid = res.data.uuid;
@ -130,7 +130,6 @@ export default {
.catch((error) => {
this.$message(error.msg);
this.loading = false;
this.loginForm.code = "";
this.getCode();
this.$refs.codeTxt.focus();
});

View File

@ -658,7 +658,7 @@ create table gen_table (
update_by varchar(64) default '' comment '更新者',
update_time datetime comment '更新时间',
remark varchar(500) default null comment '备注',
primary key (table_id)
primary key (tableId)
) engine=innodb auto_increment=1 comment = '代码生成业务表';

View File

@ -1,9 +0,0 @@
## nginx部署文档.md
1. 拷贝zradmin.ini文件代码到nginx配置文件http模块中
2. 在nginx安装目录中的html目录中创建文件夹zradmin_vue
3. 发布ZR.Admin.WebApi项目并部署到服务器中启动
4. 发布ZR.Vue项目并拷贝dist文件中的代码到刚刚创建的zradmin_vue中
5. 浏览器中访问 http://localhost:8080
注意服务器防火墙的设置开放8080 端口

View File

@ -1,18 +0,0 @@
## 代码生成器使用教程
### 修改配置文件appsettings.json
```
"gen": {
"conn": "server=127.0.0.1;user=zr;pwd=abc;database={database}",
"dbType": 0, //MySql = 0, SqlServer = 1
"autoPre": true, //自动去除表前缀
"author": "zr",
"tablePrefix": "sys_" //"表前缀(生成类名不会包含表前缀,多个用","分隔)",
}
```
修改conn数据库连接字符串其中{database}为动态要替换的数据库名
<img src="http://ss.izhaorui.cn/zradmin/15-1.png"/>
👉视频教程:
- [观看视频](http://ss.izhaorui.cn/zradmin/%E4%BB%A3%E7%A0%81%E7%94%9F%E6%88%90%E6%BC%94%E7%A4%BA202109250747.mp4)