From 1804d4fce60a727654a4f89bf3625011a3a4ed4c Mon Sep 17 00:00:00 2001 From: wanghuan Date: Sat, 30 Jan 2021 16:35:11 +0800 Subject: [PATCH 1/7] =?UTF-8?q?=E4=BF=AE=E5=A4=8D=E8=A7=92=E8=89=B2?= =?UTF-8?q?=E7=AE=A1=E7=90=86-=E7=BC=96=E8=BE=91=E8=A7=92=E8=89=B2-?= =?UTF-8?q?=E5=8A=9F=E8=83=BD=E6=9D=83=E9=99=90=E6=98=BE=E7=A4=BA=E5=BC=82?= =?UTF-8?q?=E5=B8=B8?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- ruoyi-ui/src/views/system/role/index.vue | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/ruoyi-ui/src/views/system/role/index.vue b/ruoyi-ui/src/views/system/role/index.vue index ea44d574..7e6c735b 100644 --- a/ruoyi-ui/src/views/system/role/index.vue +++ b/ruoyi-ui/src/views/system/role/index.vue @@ -513,7 +513,12 @@ export default { this.open = true; this.$nextTick(() => { roleMenu.then(res => { - this.$refs.menu.setCheckedKeys(res.checkedKeys); + let checkedKeys = res.checkedKeys + checkedKeys.forEach((v) => { + this.$nextTick(()=>{ + this.$refs.menu.setChecked(v, true ,false); + }) + }) }); }); this.title = "修改角色"; From 3c33fe21faac9f3ec5564d8dee656133fccf7c06 Mon Sep 17 00:00:00 2001 From: RuoYi Date: Tue, 2 Feb 2021 11:38:53 +0800 Subject: [PATCH 2/7] =?UTF-8?q?=E5=8D=87=E7=BA=A7spring-boot-alibaba?= =?UTF-8?q?=E5=88=B0=E6=9C=80=E6=96=B0=E7=89=882.2.5?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pom.xml b/pom.xml index eac204ec..5b3e246a 100644 --- a/pom.xml +++ b/pom.xml @@ -19,7 +19,7 @@ 1.8 2.3.7.RELEASE Hoxton.SR9 - 2.2.3.RELEASE + 2.2.5.RELEASE 2.3.1 2.1.3 2.9.2 From 716405d22b5311a9ea26eeaffef8f55058e12aac Mon Sep 17 00:00:00 2001 From: RuoYi Date: Tue, 2 Feb 2021 11:40:58 +0800 Subject: [PATCH 3/7] update README.md --- README.md | 4 +-- .../java/com/ruoyi/auth/form/LoginBody.java | 30 ------------------- ruoyi-ui/src/views/index.vue | 4 +-- 3 files changed, 4 insertions(+), 34 deletions(-) diff --git a/README.md b/README.md index 25412480..468d9286 100644 --- a/README.md +++ b/README.md @@ -5,7 +5,7 @@ * 采用前后端分离的模式,微服务版本前端(基于 [RuoYi-Vue](https://gitee.com/y_project/RuoYi-Vue))。 * 后端采用Spring Boot、Spring Cloud & Alibaba。 * 注册中心、配置中心选型Nacos,权限认证使用Redis。 -* 流量控制框架选型Sentinel。 +* 流量控制框架选型Sentinel,分布式事务选型Seata。 * 如需不分离应用,请移步 [RuoYi](https://gitee.com/y_project/RuoYi),如需分离应用,请移步 [RuoYi-Vue](https://gitee.com/y_project/RuoYi-Vue) * 阿里云折扣场:[点我进入](http://aly.ruoyi.vip),腾讯云秒杀场:[点我进入](http://txy.ruoyi.vip)   * 阿里云优惠券:[点我领取](https://www.aliyun.com/minisite/goods?userCode=brki8iof&share_source=copy_link),腾讯云优惠券:[点我领取](https://cloud.tencent.com/redirect.php?redirect=1025&cps_key=198c8df2ed259157187173bc7f4f32fd&from=console)   @@ -41,7 +41,7 @@ com.ruoyi ## 架构图 - + ## 内置功能 diff --git a/ruoyi-auth/src/main/java/com/ruoyi/auth/form/LoginBody.java b/ruoyi-auth/src/main/java/com/ruoyi/auth/form/LoginBody.java index 5f4ff0c7..b12fb314 100644 --- a/ruoyi-auth/src/main/java/com/ruoyi/auth/form/LoginBody.java +++ b/ruoyi-auth/src/main/java/com/ruoyi/auth/form/LoginBody.java @@ -17,16 +17,6 @@ public class LoginBody */ private String password; - /** - * 验证码 - */ - private String code; - - /** - * 唯一标识 - */ - private String uuid = ""; - public String getUsername() { return username; @@ -46,24 +36,4 @@ public class LoginBody { this.password = password; } - - public String getCode() - { - return code; - } - - public void setCode(String code) - { - this.code = code; - } - - public String getUuid() - { - return uuid; - } - - public void setUuid(String uuid) - { - this.uuid = uuid; - } } diff --git a/ruoyi-ui/src/views/index.vue b/ruoyi-ui/src/views/index.vue index 1c1d6ca0..fcd17f38 100644 --- a/ruoyi-ui/src/views/index.vue +++ b/ruoyi-ui/src/views/index.vue @@ -82,8 +82,8 @@
  • SpringCloud
  • Nacos
  • Sentinel
  • +
  • Seata
  • Minio
  • -
  • FastDFS
  • ...
  • @@ -94,7 +94,7 @@
  • Vuex
  • Element-ui
  • Axios
  • -
  • Sass
  • +
  • Echarts
  • Quill
  • ...
  • From 31aefd15f7b7596ade0a7c5f7ad90ca227dc760a Mon Sep 17 00:00:00 2001 From: RuoYi Date: Tue, 2 Feb 2021 13:31:07 +0800 Subject: [PATCH 4/7] =?UTF-8?q?=E8=8B=A5=E4=BE=9D=202.5.0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pom.xml | 4 +-- ruoyi-api/pom.xml | 2 +- ruoyi-api/ruoyi-api-system/pom.xml | 2 +- ruoyi-auth/pom.xml | 2 +- ruoyi-common/pom.xml | 2 +- ruoyi-common/ruoyi-common-core/pom.xml | 2 +- ruoyi-common/ruoyi-common-datascope/pom.xml | 2 +- ruoyi-common/ruoyi-common-datasource/pom.xml | 2 +- ruoyi-common/ruoyi-common-log/pom.xml | 2 +- ruoyi-common/ruoyi-common-redis/pom.xml | 2 +- ruoyi-common/ruoyi-common-security/pom.xml | 2 +- ruoyi-common/ruoyi-common-swagger/pom.xml | 2 +- ruoyi-gateway/pom.xml | 2 +- ruoyi-modules/pom.xml | 2 +- ruoyi-modules/ruoyi-file/pom.xml | 2 +- ruoyi-modules/ruoyi-gen/pom.xml | 2 +- ruoyi-modules/ruoyi-job/pom.xml | 2 +- ruoyi-modules/ruoyi-system/pom.xml | 2 +- ruoyi-ui/package.json | 2 +- ruoyi-ui/src/views/index.vue | 35 +++++++++++++++++++- ruoyi-visual/pom.xml | 2 +- ruoyi-visual/ruoyi-monitor/pom.xml | 2 +- 22 files changed, 56 insertions(+), 23 deletions(-) diff --git a/pom.xml b/pom.xml index 5b3e246a..292ae495 100644 --- a/pom.xml +++ b/pom.xml @@ -6,14 +6,14 @@ com.ruoyi ruoyi - 2.4.0 + 2.5.0 ruoyi http://www.ruoyi.vip 若依微服务系统 - 2.4.0 + 2.5.0 UTF-8 UTF-8 1.8 diff --git a/ruoyi-api/pom.xml b/ruoyi-api/pom.xml index b8cce4fb..1c24fbc5 100644 --- a/ruoyi-api/pom.xml +++ b/ruoyi-api/pom.xml @@ -4,7 +4,7 @@ com.ruoyi ruoyi - 2.4.0 + 2.5.0 4.0.0 diff --git a/ruoyi-api/ruoyi-api-system/pom.xml b/ruoyi-api/ruoyi-api-system/pom.xml index edeb4b40..5c8b3af0 100644 --- a/ruoyi-api/ruoyi-api-system/pom.xml +++ b/ruoyi-api/ruoyi-api-system/pom.xml @@ -5,7 +5,7 @@ com.ruoyi ruoyi-api - 2.4.0 + 2.5.0 4.0.0 diff --git a/ruoyi-auth/pom.xml b/ruoyi-auth/pom.xml index 9fef8436..12bf28cf 100644 --- a/ruoyi-auth/pom.xml +++ b/ruoyi-auth/pom.xml @@ -4,7 +4,7 @@ com.ruoyi ruoyi - 2.4.0 + 2.5.0 4.0.0 diff --git a/ruoyi-common/pom.xml b/ruoyi-common/pom.xml index f4b0059d..df16e1da 100644 --- a/ruoyi-common/pom.xml +++ b/ruoyi-common/pom.xml @@ -4,7 +4,7 @@ com.ruoyi ruoyi - 2.4.0 + 2.5.0 4.0.0 diff --git a/ruoyi-common/ruoyi-common-core/pom.xml b/ruoyi-common/ruoyi-common-core/pom.xml index 44654085..5c437f09 100644 --- a/ruoyi-common/ruoyi-common-core/pom.xml +++ b/ruoyi-common/ruoyi-common-core/pom.xml @@ -5,7 +5,7 @@ com.ruoyi ruoyi-common - 2.4.0 + 2.5.0 4.0.0 diff --git a/ruoyi-common/ruoyi-common-datascope/pom.xml b/ruoyi-common/ruoyi-common-datascope/pom.xml index 2f323dfd..2fbc8f61 100644 --- a/ruoyi-common/ruoyi-common-datascope/pom.xml +++ b/ruoyi-common/ruoyi-common-datascope/pom.xml @@ -5,7 +5,7 @@ com.ruoyi ruoyi-common - 2.4.0 + 2.5.0 4.0.0 diff --git a/ruoyi-common/ruoyi-common-datasource/pom.xml b/ruoyi-common/ruoyi-common-datasource/pom.xml index 363a8ed0..ca063068 100644 --- a/ruoyi-common/ruoyi-common-datasource/pom.xml +++ b/ruoyi-common/ruoyi-common-datasource/pom.xml @@ -5,7 +5,7 @@ com.ruoyi ruoyi-common - 2.4.0 + 2.5.0 4.0.0 diff --git a/ruoyi-common/ruoyi-common-log/pom.xml b/ruoyi-common/ruoyi-common-log/pom.xml index 2bb72b7c..fe322d1c 100644 --- a/ruoyi-common/ruoyi-common-log/pom.xml +++ b/ruoyi-common/ruoyi-common-log/pom.xml @@ -5,7 +5,7 @@ com.ruoyi ruoyi-common - 2.4.0 + 2.5.0 4.0.0 diff --git a/ruoyi-common/ruoyi-common-redis/pom.xml b/ruoyi-common/ruoyi-common-redis/pom.xml index 1aaaa3ed..e498f15b 100644 --- a/ruoyi-common/ruoyi-common-redis/pom.xml +++ b/ruoyi-common/ruoyi-common-redis/pom.xml @@ -5,7 +5,7 @@ com.ruoyi ruoyi-common - 2.4.0 + 2.5.0 4.0.0 diff --git a/ruoyi-common/ruoyi-common-security/pom.xml b/ruoyi-common/ruoyi-common-security/pom.xml index b1f7319a..3ee61b18 100644 --- a/ruoyi-common/ruoyi-common-security/pom.xml +++ b/ruoyi-common/ruoyi-common-security/pom.xml @@ -4,7 +4,7 @@ com.ruoyi ruoyi-common - 2.4.0 + 2.5.0 4.0.0 diff --git a/ruoyi-common/ruoyi-common-swagger/pom.xml b/ruoyi-common/ruoyi-common-swagger/pom.xml index 4d93b8e8..e58f4413 100644 --- a/ruoyi-common/ruoyi-common-swagger/pom.xml +++ b/ruoyi-common/ruoyi-common-swagger/pom.xml @@ -5,7 +5,7 @@ com.ruoyi ruoyi-common - 2.4.0 + 2.5.0 4.0.0 diff --git a/ruoyi-gateway/pom.xml b/ruoyi-gateway/pom.xml index daf24aa3..54605582 100644 --- a/ruoyi-gateway/pom.xml +++ b/ruoyi-gateway/pom.xml @@ -4,7 +4,7 @@ com.ruoyi ruoyi - 2.4.0 + 2.5.0 4.0.0 diff --git a/ruoyi-modules/pom.xml b/ruoyi-modules/pom.xml index 48a89055..0a4eb86d 100644 --- a/ruoyi-modules/pom.xml +++ b/ruoyi-modules/pom.xml @@ -4,7 +4,7 @@ com.ruoyi ruoyi - 2.4.0 + 2.5.0 4.0.0 diff --git a/ruoyi-modules/ruoyi-file/pom.xml b/ruoyi-modules/ruoyi-file/pom.xml index a799a19b..3abc27dc 100644 --- a/ruoyi-modules/ruoyi-file/pom.xml +++ b/ruoyi-modules/ruoyi-file/pom.xml @@ -5,7 +5,7 @@ com.ruoyi ruoyi-modules - 2.4.0 + 2.5.0 4.0.0 diff --git a/ruoyi-modules/ruoyi-gen/pom.xml b/ruoyi-modules/ruoyi-gen/pom.xml index e1f5c744..ca5369bb 100644 --- a/ruoyi-modules/ruoyi-gen/pom.xml +++ b/ruoyi-modules/ruoyi-gen/pom.xml @@ -5,7 +5,7 @@ com.ruoyi ruoyi-modules - 2.4.0 + 2.5.0 4.0.0 diff --git a/ruoyi-modules/ruoyi-job/pom.xml b/ruoyi-modules/ruoyi-job/pom.xml index f3ea3da1..b9b57b43 100644 --- a/ruoyi-modules/ruoyi-job/pom.xml +++ b/ruoyi-modules/ruoyi-job/pom.xml @@ -5,7 +5,7 @@ com.ruoyi ruoyi-modules - 2.4.0 + 2.5.0 4.0.0 diff --git a/ruoyi-modules/ruoyi-system/pom.xml b/ruoyi-modules/ruoyi-system/pom.xml index c3f52d0e..6e672ef1 100644 --- a/ruoyi-modules/ruoyi-system/pom.xml +++ b/ruoyi-modules/ruoyi-system/pom.xml @@ -5,7 +5,7 @@ com.ruoyi ruoyi-modules - 2.4.0 + 2.5.0 4.0.0 diff --git a/ruoyi-ui/package.json b/ruoyi-ui/package.json index 1ccb8d8e..ad60e4e7 100644 --- a/ruoyi-ui/package.json +++ b/ruoyi-ui/package.json @@ -1,6 +1,6 @@ { "name": "ruoyi", - "version": "2.4.0", + "version": "2.5.0", "description": "若依管理系统", "author": "若依", "license": "MIT", diff --git a/ruoyi-ui/src/views/index.vue b/ruoyi-ui/src/views/index.vue index fcd17f38..3a7ae543 100644 --- a/ruoyi-ui/src/views/index.vue +++ b/ruoyi-ui/src/views/index.vue @@ -149,6 +149,39 @@ 更新日志 + +
      +
    1. 增加分布式事务seata支持
    2. +
    3. 代码生成模板支持主子表
    4. +
    5. 表格右侧工具栏组件支持显隐列
    6. +
    7. 代码生成支持文件上传组件
    8. +
    9. 图片组件添加预览&移除功能
    10. +
    11. Excel注解支持Image图片导出
    12. +
    13. 操作按钮组调整为朴素按钮样式
    14. +
    15. 代码生成支持文件上传组件
    16. +
    17. 代码生成日期控件区分范围
    18. +
    19. 代码生成数据库文本类型生成表单文本域
    20. +
    21. 用户手机邮箱&菜单组件修改允许空字符串
    22. +
    23. 修复header获取username中文情况下乱码
    24. +
    25. 修复角色管理-编辑角色-功能权限显示异常
    26. +
    27. 修正操作日志删除接口路径
    28. +
    29. 修复IE11浏览器报错问题
    30. +
    31. 修复sentinel流量告警前端不响应
    32. +
    33. 修正侧边栏静态路由丢失问题
    34. +
    35. 修复导入数据为负浮点数时丢失精度问题
    36. +
    37. 修复Get请求参数特殊值无法正确的传参
    38. +
    39. 更换过期的共享配置属性
    40. +
    41. 添加启动执行脚本
    42. +
    43. 升级element-ui到最新版本2.15.0
    44. +
    45. 升级spring-boot到最新版本2.3.7
    46. +
    47. 升级spring-cloud到Hoxton.SR9
    48. +
    49. 升级spring-boot-alibaba到最新版2.2.5
    50. +
    51. 升级spring-boot-admin到最新版2.3.1
    52. +
    53. 升级druid到最新版本v1.2.4
    54. +
    55. 升级fastjson到最新版1.2.75
    56. +
    57. 其他细节优化
    58. +
    +
    1. 增加分布式文件Minio支持
    2. @@ -420,7 +453,7 @@ export default { data() { return { // 版本号 - version: "2.4.0", + version: "2.5.0", }; }, methods: { diff --git a/ruoyi-visual/pom.xml b/ruoyi-visual/pom.xml index ceea8694..53cf218f 100644 --- a/ruoyi-visual/pom.xml +++ b/ruoyi-visual/pom.xml @@ -4,7 +4,7 @@ com.ruoyi ruoyi - 2.4.0 + 2.5.0 4.0.0 diff --git a/ruoyi-visual/ruoyi-monitor/pom.xml b/ruoyi-visual/ruoyi-monitor/pom.xml index a3631790..486e499d 100644 --- a/ruoyi-visual/ruoyi-monitor/pom.xml +++ b/ruoyi-visual/ruoyi-monitor/pom.xml @@ -4,7 +4,7 @@ com.ruoyi ruoyi-visual - 2.4.0 + 2.5.0 4.0.0 From 5e167eb6e127e13c5c499a9cfd3d1996940e7558 Mon Sep 17 00:00:00 2001 From: RuoYi Date: Sat, 6 Feb 2021 09:33:45 +0800 Subject: [PATCH 5/7] =?UTF-8?q?=E4=BF=AE=E5=A4=8D=E5=9B=9B=E7=BA=A7?= =?UTF-8?q?=E8=8F=9C=E5=8D=95=E6=97=A0=E6=B3=95=E6=98=BE=E7=A4=BA=E9=97=AE?= =?UTF-8?q?=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- ruoyi-ui/src/store/modules/permission.js | 16 +++++++++++----- 1 file changed, 11 insertions(+), 5 deletions(-) diff --git a/ruoyi-ui/src/store/modules/permission.js b/ruoyi-ui/src/store/modules/permission.js index ab109fcc..61f681cd 100644 --- a/ruoyi-ui/src/store/modules/permission.js +++ b/ruoyi-ui/src/store/modules/permission.js @@ -27,7 +27,7 @@ const permission = { const sdata = JSON.parse(JSON.stringify(res.data)) const rdata = JSON.parse(JSON.stringify(res.data)) const sidebarRoutes = filterAsyncRouter(sdata) - const rewriteRoutes = filterAsyncRouter(rdata, true) + const rewriteRoutes = filterAsyncRouter(rdata, false, true) rewriteRoutes.push({ path: '*', redirect: '/404', hidden: true }) commit('SET_ROUTES', rewriteRoutes) commit('SET_SIDEBAR_ROUTERS', sidebarRoutes) @@ -39,9 +39,9 @@ const permission = { } // 遍历后台传来的路由字符串,转换为组件对象 -function filterAsyncRouter(asyncRouterMap, isRewrite = false) { +function filterAsyncRouter(asyncRouterMap, lastRouter = false, type = false) { return asyncRouterMap.filter(route => { - if (isRewrite && route.children) { + if (type && route.children) { route.children = filterChildren(route.children) } if (route.component) { @@ -55,13 +55,16 @@ function filterAsyncRouter(asyncRouterMap, isRewrite = false) { } } if (route.children != null && route.children && route.children.length) { - route.children = filterAsyncRouter(route.children, route, isRewrite) + route.children = filterAsyncRouter(route.children, route, type) + } else { + delete route['children'] + delete route['redirect'] } return true }) } -function filterChildren(childrenMap) { +function filterChildren(childrenMap, lastRouter = false) { var children = [] childrenMap.forEach((el, index) => { if (el.children && el.children.length) { @@ -77,6 +80,9 @@ function filterChildren(childrenMap) { return } } + if (lastRouter) { + el.path = lastRouter.path + '/' + el.path + } children = children.concat(el) }) return children From 852b32eabbb2fd3d0ec4f171ef783314a83b8a53 Mon Sep 17 00:00:00 2001 From: RuoYi Date: Sat, 6 Feb 2021 10:35:44 +0800 Subject: [PATCH 6/7] =?UTF-8?q?=E8=A7=92=E8=89=B2=E9=9D=9E=E8=87=AA?= =?UTF-8?q?=E5=AE=9A=E4=B9=89=E6=9D=83=E9=99=90=E8=8C=83=E5=9B=B4=E6=B8=85?= =?UTF-8?q?=E7=A9=BA=E9=80=89=E6=8B=A9=E5=80=BC?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- ruoyi-ui/src/views/system/role/index.vue | 18 ++++++++++++------ 1 file changed, 12 insertions(+), 6 deletions(-) diff --git a/ruoyi-ui/src/views/system/role/index.vue b/ruoyi-ui/src/views/system/role/index.vue index 7e6c735b..3003fc4a 100644 --- a/ruoyi-ui/src/views/system/role/index.vue +++ b/ruoyi-ui/src/views/system/role/index.vue @@ -213,7 +213,7 @@ - + Date: Wed, 10 Feb 2021 12:53:25 +0800 Subject: [PATCH 7/7] =?UTF-8?q?=E4=BF=AE=E6=94=B9ip=E5=AD=97=E6=AE=B5?= =?UTF-8?q?=E9=95=BF=E5=BA=A6=E9=98=B2=E6=AD=A2ipv6=E5=9C=B0=E5=9D=80?= =?UTF-8?q?=E9=95=BF=E5=BA=A6=E4=B8=8D=E5=A4=9F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- sql/{ry_20210108.sql => ry_20210210.sql} | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) rename sql/{ry_20210108.sql => ry_20210210.sql} (99%) diff --git a/sql/ry_20210108.sql b/sql/ry_20210210.sql similarity index 99% rename from sql/ry_20210108.sql rename to sql/ry_20210210.sql index b983cc53..b13fbaad 100644 --- a/sql/ry_20210108.sql +++ b/sql/ry_20210210.sql @@ -52,7 +52,7 @@ create table sys_user ( password varchar(100) default '' comment '密码', status char(1) default '0' comment '帐号状态(0正常 1停用)', del_flag char(1) default '0' comment '删除标志(0代表存在 2代表删除)', - login_ip varchar(50) default '' comment '最后登录IP', + login_ip varchar(128) default '' comment '最后登录IP', login_date datetime comment '最后登录时间', create_by varchar(64) default '' comment '创建者', create_time datetime comment '创建时间', @@ -426,7 +426,7 @@ create table sys_oper_log ( oper_name varchar(50) default '' comment '操作人员', dept_name varchar(50) default '' comment '部门名称', oper_url varchar(255) default '' comment '请求URL', - oper_ip varchar(50) default '' comment '主机地址', + oper_ip varchar(128) default '' comment '主机地址', oper_location varchar(255) default '' comment '操作地点', oper_param varchar(2000) default '' comment '请求参数', json_result varchar(2000) default '' comment '返回参数', @@ -557,7 +557,7 @@ drop table if exists sys_logininfor; create table sys_logininfor ( info_id bigint(20) not null auto_increment comment '访问ID', user_name varchar(50) default '' comment '用户账号', - ipaddr varchar(50) default '' comment '登录IP地址', + ipaddr varchar(128) default '' comment '登录IP地址', status char(1) default '0' comment '登录状态(0成功 1失败)', msg varchar(255) default '' comment '提示信息', access_time datetime comment '访问时间',