Coder Social home page Coder Social logo

gea's Introduction

框架简介

之前使用"云捷Go"进行开发,后发现前后端分离更适合Go,所以根据若依和云捷Go修改为了前后端分离的后台系统 该框架依然十分精简易上手,出错概率低。同时支持移动客户端访问。

根据Goframe作者推荐的代码分层设计进行重构,清晰的目录结构,更易维护。 查看老版本

核心技术及组件

web服务框架 GoFrame v1.14.0

若依前端组件 RuoYi-Vue v2.2.0

权限组件 casbin/v2 v2.8.6

gtoken goflyfox/gtoken v1.4.1

导出excel文件 tealeg/xlsx v1.0.5

api文档生成 gogf/swagger v1.2.0

图形验证码 base64Captcha v1.2.2

服务器监控 gopsutil v2.19.12+incompatible

配置中心 zouyx/agollo v4

日志记录 logstash

内置功能

  1. 用户管理:用户是系统操作者,该功能主要完成系统用户配置。
  2. 部门管理:配置系统组织机构(公司、部门、小组),树结构展现支持数据权限。
  3. 岗位管理:配置系统用户所属担任职务。
  4. 菜单管理:配置系统菜单,操作权限,按钮权限标识等。
  5. 角色管理:角色菜单权限分配、设置角色按机构进行数据范围权限划分。
  6. 字典管理:对系统中经常使用的一些较为固定的数据进行维护。
  7. 参数管理:对系统动态配置常用参数。
  8. 通知公告:系统通知公告信息发布维护。
  9. 操作日志:系统正常操作日志记录和查询;系统异常信息日志记录和查询。
  10. 登录日志:系统登录日志记录查询包含登录异常。
  11. 在线用户:当前系统中活跃用户状态监控。
  12. 定时任务:在线(添加、修改、删除)任务调度包含执行结果日志。
  13. 代码生成:前后端代码的生成(Go、vue、js、sql) 。
  14. 系统接口:根据业务代码自动生成相关的api接口文档。
  15. 服务监控:监视当前系统CPU、内存、磁盘、堆栈等相关信息。
  16. 在线构建器:拖动表单元素生成相应的HTML代码。
  17. 案例演示:常用的前端组件整合演示。

使用方法

前端项目

1. git clone https://github.com/1307super/gea.git
2. 导入document/sql/gea.sql
3. 修改配置文件
4. go run main.go 启动

感谢

JetBrains

gea's People

Contributors

1307super avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

gea's Issues

程序第一次启动报错

$ go run main.go

2021-07-14 09:22:01.367 [INFO] 从环境变量获取环境:
2021-07-14 09:22:01.370 [INFO] 从配置文件获取环境:local
当前配置环境: local
ERROR: logging before flag.Parse: I0714 09:22:01.371626   20950 apollo.go:15] 使用config.toml配置
2021-07-14 09:22:01.476 [DEBU] SetServerRoot path: /Users/go/src/bao/gea/public
2021-07-14 09:22:01.476 [INFO] [GToken][params:{"AuthExcludePaths":"","AuthFailMsg":"登录超时,请重新登录","AuthPaths":"","CacheKey":"GToken:","CacheMode":1,"EncryptKey":"geazxc0123lk0912","LoginPath":"/login","LogoutPath":"/logout"reType":1,"MultiLogin":true,"Timeout":864000000,"TokenDelimiter":"_"}]start... 
2021/07/14 09:22:01 casbin 初始化失败
exit status 1

列表树结构优化?

能否让菜单列表树和部门列表树,使用泛型做一个通用的生成树结构的方法。

项目启动报错

导入SQL文件:gea/document/sql/gea.sql

再修改配置文件:config/config-local.toml

image

启动报错:

$ go run main.go
2021-07-14 09:39:01.999 [INFO] 从环境变量获取环境:
2021-07-14 09:39:02.001 [INFO] 从配置文件获取环境:local
当前配置环境: local
ERROR: logging before flag.Parse: I0714 09:39:02.002649   22928 apollo.go:15] 使用config.toml配置
2021-07-14 09:39:02.156 [DEBU] SetServerRoot path: /Users/geping/go/src/dingcaibao/gea/public
2021-07-14 09:39:02.159 [INFO] [GToken][params:{"AuthExcludePaths":"","AuthFailMsg":"登录超时,请重新登录","AuthPaths":"","CacheKey":"GToken:","CacheMode":1,"EncryptKey":"geazxc0123lk0912","LoginPath":"/login","LogoutPath":"/logout"reType":1,"MultiLogin":true,"Timeout":864000000,"TokenDelimiter":"_"}]start... 
2021-07-14 09:39:02.249 [ERRO] [ 15 ms] [default] SHOW FULL COLUMNS FROM `sys_role`
Error: Error 1045: Access denied for user 'outroot'@'_gateway' (using password: YES) 
Stack:
1.  github.com/gogf/gf/database/gdb.(*Core).writeSqlToLogger
    /Users/geping/go/pkg/mod/github.com/gogf/[email protected]/database/gdb/gdb_core.go:761
2.  github.com/gogf/gf/database/gdb.(*Core).DoQuery
    /Users/geping/go/pkg/mod/github.com/gogf/[email protected]/database/gdb/gdb_core_underlying.go:59
3.  github.com/gogf/gf/database/gdb.(*Core).DoGetAll
    /Users/geping/go/pkg/mod/github.com/gogf/[email protected]/database/gdb/gdb_core.go:127
4.  github.com/gogf/gf/database/gdb.(*DriverMysql).TableFields.func1
    /Users/geping/go/pkg/mod/github.com/gogf/[email protected]/database/gdb/gdb_driver_mysql.go:138
5.  github.com/gogf/gf/container/gmap.(*AnyAnyMap).doSetWithLockCheck
    /Users/geping/go/pkg/mod/github.com/gogf/[email protected]/container/gmap/gmap_hash_any_any_map.go:223
6.  github.com/gogf/gf/container/gmap.(*AnyAnyMap).GetOrSetFuncLock
    /Users/geping/go/pkg/mod/github.com/gogf/[email protected]/container/gmap/gmap_hash_any_any_map.go:260
7.  github.com/gogf/gf/database/gdb.(*DriverMysql).TableFields
    /Users/geping/go/pkg/mod/github.com/gogf/[email protected]/database/gdb/gdb_driver_mysql.go:130
8.  github.com/gogf/gf/database/gdb.(*Model).TableFields
    /Users/geping/go/pkg/mod/github.com/gogf/[email protected]/database/gdb/gdb_model_utility.go:32
9.  github.com/gogf/gf/database/gdb.(*Model).getSoftFieldName
    /Users/geping/go/pkg/mod/github.com/gogf/[email protected]/database/gdb/gdb_model_time.go:96
10. github.com/gogf/gf/database/gdb.(*Model).getSoftFieldNameDeleted
    /Users/geping/go/pkg/mod/github.com/gogf/[email protected]/database/gdb/gdb_model_time.go:91
11. github.com/gogf/gf/database/gdb.(*Model).getConditionOfTableStringForSoftDeleting
    /Users/geping/go/pkg/mod/github.com/gogf/[email protected]/database/gdb/gdb_model_time.go:161
12. github.com/gogf/gf/database/gdb.(*Model).getConditionForSoftDeleting
    /Users/geping/go/pkg/mod/github.com/gogf/[email protected]/database/gdb/gdb_model_time.go:124
13. github.com/gogf/gf/database/gdb.(*Model).formatCondition
    /Users/geping/go/pkg/mod/github.com/gogf/[email protected]/database/gdb/gdb_model_condition.go:362
14. github.com/gogf/gf/database/gdb.(*Model).getFormattedSqlAndArgs
    /Users/geping/go/pkg/mod/github.com/gogf/[email protected]/database/gdb/gdb_model_select.go:521
15. github.com/gogf/gf/database/gdb.(*Model).doGetAll
    /Users/geping/go/pkg/mod/github.com/gogf/[email protected]/database/gdb/gdb_model_select.go:54
16. github.com/gogf/gf/database/gdb.(*Model).All
    /Users/geping/go/pkg/mod/github.com/gogf/[email protected]/database/gdb/gdb_model_select.go:40
17. github.com/gogf/gf/database/gdb.(*Model).Structs
    /Users/geping/go/pkg/mod/github.com/gogf/[email protected]/database/gdb/gdb_model_select.go:247
18. gea/app/dao/internal.(*SysRoleDao).Structs
    /Users/geping/go/src/dingcaibao/gea/app/dao/internal/sys_role.go:352
19. gea/app/system/admin/internal/service.(*userService).GetUserRolePolicy
    /Users/geping/go/src/dingcaibao/gea/app/system/admin/internal/service/user.go:802
20. gea/app/system/admin/internal/service.(*userService).LoadUserRole
    /Users/geping/go/src/dingcaibao/gea/app/system/admin/internal/service/user.go:784
21. gea/app/system/admin.initCasbin
    /Users/geping/go/src/dingcaibao/gea/app/system/admin/admin.go:169
22. gea/app/system/admin.Init
    /Users/geping/go/src/dingcaibao/gea/app/system/admin/admin.go:158
23. gea/app.Run
    /Users/geping/go/src/dingcaibao/gea/app/app.go:12
24. main.main
    /Users/geping/go/src/dingcaibao/gea/main.go:14

2021-07-14 09:39:02.269 [ERRO] [ 17 ms] [default] SHOW FULL COLUMNS FROM `sys_user_role`
Error: Error 1045: Access denied for user 'outroot'@'_gateway' (using password: YES) 
Stack:
1.  github.com/gogf/gf/database/gdb.(*Core).writeSqlToLogger
    /Users/geping/go/pkg/mod/github.com/gogf/[email protected]/database/gdb/gdb_core.go:761
2.  github.com/gogf/gf/database/gdb.(*Core).DoQuery
    /Users/geping/go/pkg/mod/github.com/gogf/[email protected]/database/gdb/gdb_core_underlying.go:59
3.  github.com/gogf/gf/database/gdb.(*Core).DoGetAll
    /Users/geping/go/pkg/mod/github.com/gogf/[email protected]/database/gdb/gdb_core.go:127
4.  github.com/gogf/gf/database/gdb.(*DriverMysql).TableFields.func1
    /Users/geping/go/pkg/mod/github.com/gogf/[email protected]/database/gdb/gdb_driver_mysql.go:138
5.  github.com/gogf/gf/container/gmap.(*AnyAnyMap).doSetWithLockCheck
    /Users/geping/go/pkg/mod/github.com/gogf/[email protected]/container/gmap/gmap_hash_any_any_map.go:223
6.  github.com/gogf/gf/container/gmap.(*AnyAnyMap).GetOrSetFuncLock
    /Users/geping/go/pkg/mod/github.com/gogf/[email protected]/container/gmap/gmap_hash_any_any_map.go:260
7.  github.com/gogf/gf/database/gdb.(*DriverMysql).TableFields
    /Users/geping/go/pkg/mod/github.com/gogf/[email protected]/database/gdb/gdb_driver_mysql.go:130
8.  github.com/gogf/gf/database/gdb.(*Model).TableFields
    /Users/geping/go/pkg/mod/github.com/gogf/[email protected]/database/gdb/gdb_model_utility.go:32
9.  github.com/gogf/gf/database/gdb.(*Model).getSoftFieldName
    /Users/geping/go/pkg/mod/github.com/gogf/[email protected]/database/gdb/gdb_model_time.go:96
10. github.com/gogf/gf/database/gdb.(*Model).getSoftFieldNameDeleted
    /Users/geping/go/pkg/mod/github.com/gogf/[email protected]/database/gdb/gdb_model_time.go:91
11. github.com/gogf/gf/database/gdb.(*Model).getConditionOfTableStringForSoftDeleting
    /Users/geping/go/pkg/mod/github.com/gogf/[email protected]/database/gdb/gdb_model_time.go:161
12. github.com/gogf/gf/database/gdb.(*Model).getConditionForSoftDeleting
    /Users/geping/go/pkg/mod/github.com/gogf/[email protected]/database/gdb/gdb_model_time.go:128
13. github.com/gogf/gf/database/gdb.(*Model).formatCondition
    /Users/geping/go/pkg/mod/github.com/gogf/[email protected]/database/gdb/gdb_model_condition.go:362
14. github.com/gogf/gf/database/gdb.(*Model).getFormattedSqlAndArgs
    /Users/geping/go/pkg/mod/github.com/gogf/[email protected]/database/gdb/gdb_model_select.go:521
15. github.com/gogf/gf/database/gdb.(*Model).doGetAll
    /Users/geping/go/pkg/mod/github.com/gogf/[email protected]/database/gdb/gdb_model_select.go:54
16. github.com/gogf/gf/database/gdb.(*Model).All
    /Users/geping/go/pkg/mod/github.com/gogf/[email protected]/database/gdb/gdb_model_select.go:40
17. github.com/gogf/gf/database/gdb.(*Model).Structs
    /Users/geping/go/pkg/mod/github.com/gogf/[email protected]/database/gdb/gdb_model_select.go:247
18. gea/app/dao/internal.(*SysRoleDao).Structs
    /Users/geping/go/src/dingcaibao/gea/app/dao/internal/sys_role.go:352
19. gea/app/system/admin/internal/service.(*userService).GetUserRolePolicy
    /Users/geping/go/src/dingcaibao/gea/app/system/admin/internal/service/user.go:802
20. gea/app/system/admin/internal/service.(*userService).LoadUserRole
    /Users/geping/go/src/dingcaibao/gea/app/system/admin/internal/service/user.go:784
21. gea/app/system/admin.initCasbin
    /Users/geping/go/src/dingcaibao/gea/app/system/admin/admin.go:169
22. gea/app/system/admin.Init
    /Users/geping/go/src/dingcaibao/gea/app/system/admin/admin.go:158
23. gea/app.Run
    /Users/geping/go/src/dingcaibao/gea/app/app.go:12
24. main.main
    /Users/geping/go/src/dingcaibao/gea/main.go:14

2021-07-14 09:39:02.317 [ERRO] [ 44 ms] [default] SHOW FULL COLUMNS FROM `sys_user`
Error: Error 1045: Access denied for user 'outroot'@'_gateway' (using password: YES) 
Stack:
1.  github.com/gogf/gf/database/gdb.(*Core).writeSqlToLogger
    /Users/geping/go/pkg/mod/github.com/gogf/[email protected]/database/gdb/gdb_core.go:761
2.  github.com/gogf/gf/database/gdb.(*Core).DoQuery
    /Users/geping/go/pkg/mod/github.com/gogf/[email protected]/database/gdb/gdb_core_underlying.go:59
3.  github.com/gogf/gf/database/gdb.(*Core).DoGetAll
    /Users/geping/go/pkg/mod/github.com/gogf/[email protected]/database/gdb/gdb_core.go:127
4.  github.com/gogf/gf/database/gdb.(*DriverMysql).TableFields.func1
    /Users/geping/go/pkg/mod/github.com/gogf/[email protected]/database/gdb/gdb_driver_mysql.go:138
5.  github.com/gogf/gf/container/gmap.(*AnyAnyMap).doSetWithLockCheck
    /Users/geping/go/pkg/mod/github.com/gogf/[email protected]/container/gmap/gmap_hash_any_any_map.go:223
6.  github.com/gogf/gf/container/gmap.(*AnyAnyMap).GetOrSetFuncLock
    /Users/geping/go/pkg/mod/github.com/gogf/[email protected]/container/gmap/gmap_hash_any_any_map.go:260
7.  github.com/gogf/gf/database/gdb.(*DriverMysql).TableFields
    /Users/geping/go/pkg/mod/github.com/gogf/[email protected]/database/gdb/gdb_driver_mysql.go:130
8.  github.com/gogf/gf/database/gdb.(*Model).TableFields
    /Users/geping/go/pkg/mod/github.com/gogf/[email protected]/database/gdb/gdb_model_utility.go:32
9.  github.com/gogf/gf/database/gdb.(*Model).getSoftFieldName
    /Users/geping/go/pkg/mod/github.com/gogf/[email protected]/database/gdb/gdb_model_time.go:96
10. github.com/gogf/gf/database/gdb.(*Model).getSoftFieldNameDeleted
    /Users/geping/go/pkg/mod/github.com/gogf/[email protected]/database/gdb/gdb_model_time.go:91
11. github.com/gogf/gf/database/gdb.(*Model).getConditionOfTableStringForSoftDeleting
    /Users/geping/go/pkg/mod/github.com/gogf/[email protected]/database/gdb/gdb_model_time.go:161
12. github.com/gogf/gf/database/gdb.(*Model).getConditionForSoftDeleting
    /Users/geping/go/pkg/mod/github.com/gogf/[email protected]/database/gdb/gdb_model_time.go:128
13. github.com/gogf/gf/database/gdb.(*Model).formatCondition
    /Users/geping/go/pkg/mod/github.com/gogf/[email protected]/database/gdb/gdb_model_condition.go:362
14. github.com/gogf/gf/database/gdb.(*Model).getFormattedSqlAndArgs
    /Users/geping/go/pkg/mod/github.com/gogf/[email protected]/database/gdb/gdb_model_select.go:521
15. github.com/gogf/gf/database/gdb.(*Model).doGetAll
    /Users/geping/go/pkg/mod/github.com/gogf/[email protected]/database/gdb/gdb_model_select.go:54
16. github.com/gogf/gf/database/gdb.(*Model).All
    /Users/geping/go/pkg/mod/github.com/gogf/[email protected]/database/gdb/gdb_model_select.go:40
17. github.com/gogf/gf/database/gdb.(*Model).Structs
    /Users/geping/go/pkg/mod/github.com/gogf/[email protected]/database/gdb/gdb_model_select.go:247
18. gea/app/dao/internal.(*SysRoleDao).Structs
    /Users/geping/go/src/dingcaibao/gea/app/dao/internal/sys_role.go:352
19. gea/app/system/admin/internal/service.(*userService).GetUserRolePolicy
    /Users/geping/go/src/dingcaibao/gea/app/system/admin/internal/service/user.go:802
20. gea/app/system/admin/internal/service.(*userService).LoadUserRole
    /Users/geping/go/src/dingcaibao/gea/app/system/admin/internal/service/user.go:784
21. gea/app/system/admin.initCasbin
    /Users/geping/go/src/dingcaibao/gea/app/system/admin/admin.go:169
22. gea/app/system/admin.Init
    /Users/geping/go/src/dingcaibao/gea/app/system/admin/admin.go:158
23. gea/app.Run
    /Users/geping/go/src/dingcaibao/gea/app/app.go:12
24. main.main
    /Users/geping/go/src/dingcaibao/gea/main.go:14

2021-07-14 09:39:02.348 [ERRO] [ 26 ms] [default] SHOW FULL COLUMNS FROM `sys_dept`
Error: Error 1045: Access denied for user 'outroot'@'_gateway' (using password: YES) 
Stack:
1.  github.com/gogf/gf/database/gdb.(*Core).writeSqlToLogger
    /Users/geping/go/pkg/mod/github.com/gogf/[email protected]/database/gdb/gdb_core.go:761
2.  github.com/gogf/gf/database/gdb.(*Core).DoQuery
    /Users/geping/go/pkg/mod/github.com/gogf/[email protected]/database/gdb/gdb_core_underlying.go:59
3.  github.com/gogf/gf/database/gdb.(*Core).DoGetAll
    /Users/geping/go/pkg/mod/github.com/gogf/[email protected]/database/gdb/gdb_core.go:127
4.  github.com/gogf/gf/database/gdb.(*DriverMysql).TableFields.func1
    /Users/geping/go/pkg/mod/github.com/gogf/[email protected]/database/gdb/gdb_driver_mysql.go:138
5.  github.com/gogf/gf/container/gmap.(*AnyAnyMap).doSetWithLockCheck
    /Users/geping/go/pkg/mod/github.com/gogf/[email protected]/container/gmap/gmap_hash_any_any_map.go:223
6.  github.com/gogf/gf/container/gmap.(*AnyAnyMap).GetOrSetFuncLock
    /Users/geping/go/pkg/mod/github.com/gogf/[email protected]/container/gmap/gmap_hash_any_any_map.go:260
7.  github.com/gogf/gf/database/gdb.(*DriverMysql).TableFields
    /Users/geping/go/pkg/mod/github.com/gogf/[email protected]/database/gdb/gdb_driver_mysql.go:130
8.  github.com/gogf/gf/database/gdb.(*Model).TableFields
    /Users/geping/go/pkg/mod/github.com/gogf/[email protected]/database/gdb/gdb_model_utility.go:32
9.  github.com/gogf/gf/database/gdb.(*Model).getSoftFieldName
    /Users/geping/go/pkg/mod/github.com/gogf/[email protected]/database/gdb/gdb_model_time.go:96
10. github.com/gogf/gf/database/gdb.(*Model).getSoftFieldNameDeleted
    /Users/geping/go/pkg/mod/github.com/gogf/[email protected]/database/gdb/gdb_model_time.go:91
11. github.com/gogf/gf/database/gdb.(*Model).getConditionOfTableStringForSoftDeleting
    /Users/geping/go/pkg/mod/github.com/gogf/[email protected]/database/gdb/gdb_model_time.go:161
12. github.com/gogf/gf/database/gdb.(*Model).getConditionForSoftDeleting
    /Users/geping/go/pkg/mod/github.com/gogf/[email protected]/database/gdb/gdb_model_time.go:128
13. github.com/gogf/gf/database/gdb.(*Model).formatCondition
    /Users/geping/go/pkg/mod/github.com/gogf/[email protected]/database/gdb/gdb_model_condition.go:362
14. github.com/gogf/gf/database/gdb.(*Model).getFormattedSqlAndArgs
    /Users/geping/go/pkg/mod/github.com/gogf/[email protected]/database/gdb/gdb_model_select.go:521
15. github.com/gogf/gf/database/gdb.(*Model).doGetAll
    /Users/geping/go/pkg/mod/github.com/gogf/[email protected]/database/gdb/gdb_model_select.go:54
16. github.com/gogf/gf/database/gdb.(*Model).All
    /Users/geping/go/pkg/mod/github.com/gogf/[email protected]/database/gdb/gdb_model_select.go:40
17. github.com/gogf/gf/database/gdb.(*Model).Structs
    /Users/geping/go/pkg/mod/github.com/gogf/[email protected]/database/gdb/gdb_model_select.go:247
18. gea/app/dao/internal.(*SysRoleDao).Structs
    /Users/geping/go/src/dingcaibao/gea/app/dao/internal/sys_role.go:352
19. gea/app/system/admin/internal/service.(*userService).GetUserRolePolicy
    /Users/geping/go/src/dingcaibao/gea/app/system/admin/internal/service/user.go:802
20. gea/app/system/admin/internal/service.(*userService).LoadUserRole
    /Users/geping/go/src/dingcaibao/gea/app/system/admin/internal/service/user.go:784
21. gea/app/system/admin.initCasbin
    /Users/geping/go/src/dingcaibao/gea/app/system/admin/admin.go:169
22. gea/app/system/admin.Init
    /Users/geping/go/src/dingcaibao/gea/app/system/admin/admin.go:158
23. gea/app.Run
    /Users/geping/go/src/dingcaibao/gea/app/app.go:12
24. main.main
    /Users/geping/go/src/dingcaibao/gea/main.go:14

2021-07-14 09:39:02.359 [ERRO] [  8 ms] [default] SHOW FULL COLUMNS FROM `sys_role`
Error: Error 1045: Access denied for user 'outroot'@'_gateway' (using password: YES) 
Stack:
1.  github.com/gogf/gf/database/gdb.(*Core).writeSqlToLogger
    /Users/geping/go/pkg/mod/github.com/gogf/[email protected]/database/gdb/gdb_core.go:761
2.  github.com/gogf/gf/database/gdb.(*Core).DoQuery
    /Users/geping/go/pkg/mod/github.com/gogf/[email protected]/database/gdb/gdb_core_underlying.go:59
3.  github.com/gogf/gf/database/gdb.(*Core).DoGetAll
    /Users/geping/go/pkg/mod/github.com/gogf/[email protected]/database/gdb/gdb_core.go:127
4.  github.com/gogf/gf/database/gdb.(*DriverMysql).TableFields.func1
    /Users/geping/go/pkg/mod/github.com/gogf/[email protected]/database/gdb/gdb_driver_mysql.go:138
5.  github.com/gogf/gf/container/gmap.(*AnyAnyMap).doSetWithLockCheck
    /Users/geping/go/pkg/mod/github.com/gogf/[email protected]/container/gmap/gmap_hash_any_any_map.go:223
6.  github.com/gogf/gf/container/gmap.(*AnyAnyMap).GetOrSetFuncLock
    /Users/geping/go/pkg/mod/github.com/gogf/[email protected]/container/gmap/gmap_hash_any_any_map.go:260
7.  github.com/gogf/gf/database/gdb.(*DriverMysql).TableFields
    /Users/geping/go/pkg/mod/github.com/gogf/[email protected]/database/gdb/gdb_driver_mysql.go:130
8.  github.com/gogf/gf/database/gdb.(*Model).TableFields
    /Users/geping/go/pkg/mod/github.com/gogf/[email protected]/database/gdb/gdb_model_utility.go:32
9.  github.com/gogf/gf/database/gdb.(*Model).getSoftFieldName
    /Users/geping/go/pkg/mod/github.com/gogf/[email protected]/database/gdb/gdb_model_time.go:96
10. github.com/gogf/gf/database/gdb.(*Model).getSoftFieldNameDeleted
    /Users/geping/go/pkg/mod/github.com/gogf/[email protected]/database/gdb/gdb_model_time.go:91
11. github.com/gogf/gf/database/gdb.(*Model).getConditionForSoftDeleting
    /Users/geping/go/pkg/mod/github.com/gogf/[email protected]/database/gdb/gdb_model_time.go:142
12. github.com/gogf/gf/database/gdb.(*Model).formatCondition
    /Users/geping/go/pkg/mod/github.com/gogf/[email protected]/database/gdb/gdb_model_condition.go:362
13. github.com/gogf/gf/database/gdb.(*Model).getFormattedSqlAndArgs
    /Users/geping/go/pkg/mod/github.com/gogf/[email protected]/database/gdb/gdb_model_select.go:521
14. github.com/gogf/gf/database/gdb.(*Model).doGetAll
    /Users/geping/go/pkg/mod/github.com/gogf/[email protected]/database/gdb/gdb_model_select.go:54
15. github.com/gogf/gf/database/gdb.(*Model).All
    /Users/geping/go/pkg/mod/github.com/gogf/[email protected]/database/gdb/gdb_model_select.go:40
16. github.com/gogf/gf/database/gdb.(*Model).Structs
    /Users/geping/go/pkg/mod/github.com/gogf/[email protected]/database/gdb/gdb_model_select.go:247
17. gea/app/dao/internal.(*SysRoleDao).Structs
    /Users/geping/go/src/dingcaibao/gea/app/dao/internal/sys_role.go:352
18. gea/app/system/admin/internal/service.(*userService).GetUserRolePolicy
    /Users/geping/go/src/dingcaibao/gea/app/system/admin/internal/service/user.go:802
19. gea/app/system/admin/internal/service.(*userService).LoadUserRole
    /Users/geping/go/src/dingcaibao/gea/app/system/admin/internal/service/user.go:784
20. gea/app/system/admin.initCasbin
    /Users/geping/go/src/dingcaibao/gea/app/system/admin/admin.go:169
21. gea/app/system/admin.Init
    /Users/geping/go/src/dingcaibao/gea/app/system/admin/admin.go:158
22. gea/app.Run
    /Users/geping/go/src/dingcaibao/gea/app/app.go:12
23. main.main
    /Users/geping/go/src/dingcaibao/gea/main.go:14

2021-07-14 09:39:02.384 [ERRO] [ 22 ms] [default] SELECT distinct role_key as roleName,u.login_name as userName FROM `sys_role` AS r LEFT JOIN `sys_user_role` ur ON (ur.role_id = r.role_id) LEFT JOIN `sys_user` u ON (u.user_id = ur.user_id) LEFT JOIN `sys_dept` d ON (u.dept_id = d.dept_id) WHERE r.del_flag = '0' and u.del_flag = '0'
Error: Error 1045: Access denied for user 'outroot'@'_gateway' (using password: YES) 
Stack:
1.  github.com/gogf/gf/database/gdb.(*Core).writeSqlToLogger
    /Users/geping/go/pkg/mod/github.com/gogf/[email protected]/database/gdb/gdb_core.go:761
2.  github.com/gogf/gf/database/gdb.(*Core).DoQuery
    /Users/geping/go/pkg/mod/github.com/gogf/[email protected]/database/gdb/gdb_core_underlying.go:59
3.  github.com/gogf/gf/database/gdb.(*Core).DoGetAll
    /Users/geping/go/pkg/mod/github.com/gogf/[email protected]/database/gdb/gdb_core.go:127
4.  github.com/gogf/gf/database/gdb.(*Model).doGetAllBySql
    /Users/geping/go/pkg/mod/github.com/gogf/[email protected]/database/gdb/gdb_model_select.go:486
5.  github.com/gogf/gf/database/gdb.(*Model).doGetAll
    /Users/geping/go/pkg/mod/github.com/gogf/[email protected]/database/gdb/gdb_model_select.go:55
6.  github.com/gogf/gf/database/gdb.(*Model).All
    /Users/geping/go/pkg/mod/github.com/gogf/[email protected]/database/gdb/gdb_model_select.go:40
7.  github.com/gogf/gf/database/gdb.(*Model).Structs
    /Users/geping/go/pkg/mod/github.com/gogf/[email protected]/database/gdb/gdb_model_select.go:247
8.  gea/app/dao/internal.(*SysRoleDao).Structs
    /Users/geping/go/src/dingcaibao/gea/app/dao/internal/sys_role.go:352
9.  gea/app/system/admin/internal/service.(*userService).GetUserRolePolicy
    /Users/geping/go/src/dingcaibao/gea/app/system/admin/internal/service/user.go:802
10. gea/app/system/admin/internal/service.(*userService).LoadUserRole
    /Users/geping/go/src/dingcaibao/gea/app/system/admin/internal/service/user.go:784
11. gea/app/system/admin.initCasbin
    /Users/geping/go/src/dingcaibao/gea/app/system/admin/admin.go:169
12. gea/app/system/admin.Init
    /Users/geping/go/src/dingcaibao/gea/app/system/admin/admin.go:158
13. gea/app.Run
    /Users/geping/go/src/dingcaibao/gea/app/app.go:12
14. main.main
    /Users/geping/go/src/dingcaibao/gea/main.go:14

2021-07-14 09:39:02.397 [ERRO] [ 10 ms] [default] SHOW FULL COLUMNS FROM `sys_menu`
Error: Error 1045: Access denied for user 'outroot'@'_gateway' (using password: YES) 
Stack:
1.  github.com/gogf/gf/database/gdb.(*Core).writeSqlToLogger
    /Users/geping/go/pkg/mod/github.com/gogf/[email protected]/database/gdb/gdb_core.go:761
2.  github.com/gogf/gf/database/gdb.(*Core).DoQuery
    /Users/geping/go/pkg/mod/github.com/gogf/[email protected]/database/gdb/gdb_core_underlying.go:59
3.  github.com/gogf/gf/database/gdb.(*Core).DoGetAll
    /Users/geping/go/pkg/mod/github.com/gogf/[email protected]/database/gdb/gdb_core.go:127
4.  github.com/gogf/gf/database/gdb.(*DriverMysql).TableFields.func1
    /Users/geping/go/pkg/mod/github.com/gogf/[email protected]/database/gdb/gdb_driver_mysql.go:138
5.  github.com/gogf/gf/container/gmap.(*AnyAnyMap).doSetWithLockCheck
    /Users/geping/go/pkg/mod/github.com/gogf/[email protected]/container/gmap/gmap_hash_any_any_map.go:223
6.  github.com/gogf/gf/container/gmap.(*AnyAnyMap).GetOrSetFuncLock
    /Users/geping/go/pkg/mod/github.com/gogf/[email protected]/container/gmap/gmap_hash_any_any_map.go:260
7.  github.com/gogf/gf/database/gdb.(*DriverMysql).TableFields
    /Users/geping/go/pkg/mod/github.com/gogf/[email protected]/database/gdb/gdb_driver_mysql.go:130
8.  github.com/gogf/gf/database/gdb.(*Model).TableFields
    /Users/geping/go/pkg/mod/github.com/gogf/[email protected]/database/gdb/gdb_model_utility.go:32
9.  github.com/gogf/gf/database/gdb.(*Model).getSoftFieldName
    /Users/geping/go/pkg/mod/github.com/gogf/[email protected]/database/gdb/gdb_model_time.go:96
10. github.com/gogf/gf/database/gdb.(*Model).getSoftFieldNameDeleted
    /Users/geping/go/pkg/mod/github.com/gogf/[email protected]/database/gdb/gdb_model_time.go:91
11. github.com/gogf/gf/database/gdb.(*Model).getConditionOfTableStringForSoftDeleting
    /Users/geping/go/pkg/mod/github.com/gogf/[email protected]/database/gdb/gdb_model_time.go:161
12. github.com/gogf/gf/database/gdb.(*Model).getConditionForSoftDeleting
    /Users/geping/go/pkg/mod/github.com/gogf/[email protected]/database/gdb/gdb_model_time.go:124
13. github.com/gogf/gf/database/gdb.(*Model).formatCondition
    /Users/geping/go/pkg/mod/github.com/gogf/[email protected]/database/gdb/gdb_model_condition.go:362
14. github.com/gogf/gf/database/gdb.(*Model).getFormattedSqlAndArgs
    /Users/geping/go/pkg/mod/github.com/gogf/[email protected]/database/gdb/gdb_model_select.go:521
15. github.com/gogf/gf/database/gdb.(*Model).doGetAll
    /Users/geping/go/pkg/mod/github.com/gogf/[email protected]/database/gdb/gdb_model_select.go:54
16. github.com/gogf/gf/database/gdb.(*Model).All
    /Users/geping/go/pkg/mod/github.com/gogf/[email protected]/database/gdb/gdb_model_select.go:40
17. github.com/gogf/gf/database/gdb.(*Model).Structs
    /Users/geping/go/pkg/mod/github.com/gogf/[email protected]/database/gdb/gdb_model_select.go:247
18. gea/app/dao/internal.(*SysMenuDao).Structs
    /Users/geping/go/src/dingcaibao/gea/app/dao/internal/sys_menu.go:366
19. gea/app/system/admin/internal/service.(*roleService).GetRoleMenuPolicy
    /Users/geping/go/src/dingcaibao/gea/app/system/admin/internal/service/role.go:468
20. gea/app/system/admin/internal/service.(*roleService).LoadRolePolicy
    /Users/geping/go/src/dingcaibao/gea/app/system/admin/internal/service/role.go:452
21. gea/app/system/admin.initCasbin
    /Users/geping/go/src/dingcaibao/gea/app/system/admin/admin.go:171
22. gea/app/system/admin.Init
    /Users/geping/go/src/dingcaibao/gea/app/system/admin/admin.go:158
23. gea/app.Run
    /Users/geping/go/src/dingcaibao/gea/app/app.go:12
24. main.main
    /Users/geping/go/src/dingcaibao/gea/main.go:14

2021-07-14 09:39:02.431 [ERRO] [ 29 ms] [default] SHOW FULL COLUMNS FROM `sys_role_menu`
Error: Error 1045: Access denied for user 'outroot'@'_gateway' (using password: YES) 
Stack:
1.  github.com/gogf/gf/database/gdb.(*Core).writeSqlToLogger
    /Users/geping/go/pkg/mod/github.com/gogf/[email protected]/database/gdb/gdb_core.go:761
2.  github.com/gogf/gf/database/gdb.(*Core).DoQuery
    /Users/geping/go/pkg/mod/github.com/gogf/[email protected]/database/gdb/gdb_core_underlying.go:59
3.  github.com/gogf/gf/database/gdb.(*Core).DoGetAll
    /Users/geping/go/pkg/mod/github.com/gogf/[email protected]/database/gdb/gdb_core.go:127
4.  github.com/gogf/gf/database/gdb.(*DriverMysql).TableFields.func1
    /Users/geping/go/pkg/mod/github.com/gogf/[email protected]/database/gdb/gdb_driver_mysql.go:138
5.  github.com/gogf/gf/container/gmap.(*AnyAnyMap).doSetWithLockCheck
    /Users/geping/go/pkg/mod/github.com/gogf/[email protected]/container/gmap/gmap_hash_any_any_map.go:223
6.  github.com/gogf/gf/container/gmap.(*AnyAnyMap).GetOrSetFuncLock
    /Users/geping/go/pkg/mod/github.com/gogf/[email protected]/container/gmap/gmap_hash_any_any_map.go:260
7.  github.com/gogf/gf/database/gdb.(*DriverMysql).TableFields
    /Users/geping/go/pkg/mod/github.com/gogf/[email protected]/database/gdb/gdb_driver_mysql.go:130
8.  github.com/gogf/gf/database/gdb.(*Model).TableFields
    /Users/geping/go/pkg/mod/github.com/gogf/[email protected]/database/gdb/gdb_model_utility.go:32
9.  github.com/gogf/gf/database/gdb.(*Model).getSoftFieldName
    /Users/geping/go/pkg/mod/github.com/gogf/[email protected]/database/gdb/gdb_model_time.go:96
10. github.com/gogf/gf/database/gdb.(*Model).getSoftFieldNameDeleted
    /Users/geping/go/pkg/mod/github.com/gogf/[email protected]/database/gdb/gdb_model_time.go:91
11. github.com/gogf/gf/database/gdb.(*Model).getConditionOfTableStringForSoftDeleting
    /Users/geping/go/pkg/mod/github.com/gogf/[email protected]/database/gdb/gdb_model_time.go:161
12. github.com/gogf/gf/database/gdb.(*Model).getConditionForSoftDeleting
    /Users/geping/go/pkg/mod/github.com/gogf/[email protected]/database/gdb/gdb_model_time.go:128
13. github.com/gogf/gf/database/gdb.(*Model).formatCondition
    /Users/geping/go/pkg/mod/github.com/gogf/[email protected]/database/gdb/gdb_model_condition.go:362
14. github.com/gogf/gf/database/gdb.(*Model).getFormattedSqlAndArgs
    /Users/geping/go/pkg/mod/github.com/gogf/[email protected]/database/gdb/gdb_model_select.go:521
15. github.com/gogf/gf/database/gdb.(*Model).doGetAll
    /Users/geping/go/pkg/mod/github.com/gogf/[email protected]/database/gdb/gdb_model_select.go:54
16. github.com/gogf/gf/database/gdb.(*Model).All
    /Users/geping/go/pkg/mod/github.com/gogf/[email protected]/database/gdb/gdb_model_select.go:40
17. github.com/gogf/gf/database/gdb.(*Model).Structs
    /Users/geping/go/pkg/mod/github.com/gogf/[email protected]/database/gdb/gdb_model_select.go:247
18. gea/app/dao/internal.(*SysMenuDao).Structs
    /Users/geping/go/src/dingcaibao/gea/app/dao/internal/sys_menu.go:366
19. gea/app/system/admin/internal/service.(*roleService).GetRoleMenuPolicy
    /Users/geping/go/src/dingcaibao/gea/app/system/admin/internal/service/role.go:468
20. gea/app/system/admin/internal/service.(*roleService).LoadRolePolicy
    /Users/geping/go/src/dingcaibao/gea/app/system/admin/internal/service/role.go:452
21. gea/app/system/admin.initCasbin
    /Users/geping/go/src/dingcaibao/gea/app/system/admin/admin.go:171
22. gea/app/system/admin.Init
    /Users/geping/go/src/dingcaibao/gea/app/system/admin/admin.go:158
23. gea/app.Run
    /Users/geping/go/src/dingcaibao/gea/app/app.go:12
24. main.main
    /Users/geping/go/src/dingcaibao/gea/main.go:14

2021-07-14 09:39:02.448 [ERRO] [ 14 ms] [default] SHOW FULL COLUMNS FROM `sys_role`
Error: Error 1045: Access denied for user 'outroot'@'_gateway' (using password: YES) 
Stack:
1.  github.com/gogf/gf/database/gdb.(*Core).writeSqlToLogger
    /Users/geping/go/pkg/mod/github.com/gogf/[email protected]/database/gdb/gdb_core.go:761
2.  github.com/gogf/gf/database/gdb.(*Core).DoQuery
    /Users/geping/go/pkg/mod/github.com/gogf/[email protected]/database/gdb/gdb_core_underlying.go:59
3.  github.com/gogf/gf/database/gdb.(*Core).DoGetAll
    /Users/geping/go/pkg/mod/github.com/gogf/[email protected]/database/gdb/gdb_core.go:127
4.  github.com/gogf/gf/database/gdb.(*DriverMysql).TableFields.func1
    /Users/geping/go/pkg/mod/github.com/gogf/[email protected]/database/gdb/gdb_driver_mysql.go:138
5.  github.com/gogf/gf/container/gmap.(*AnyAnyMap).doSetWithLockCheck
    /Users/geping/go/pkg/mod/github.com/gogf/[email protected]/container/gmap/gmap_hash_any_any_map.go:223
6.  github.com/gogf/gf/container/gmap.(*AnyAnyMap).GetOrSetFuncLock
    /Users/geping/go/pkg/mod/github.com/gogf/[email protected]/container/gmap/gmap_hash_any_any_map.go:260
7.  github.com/gogf/gf/database/gdb.(*DriverMysql).TableFields
    /Users/geping/go/pkg/mod/github.com/gogf/[email protected]/database/gdb/gdb_driver_mysql.go:130
8.  github.com/gogf/gf/database/gdb.(*Model).TableFields
    /Users/geping/go/pkg/mod/github.com/gogf/[email protected]/database/gdb/gdb_model_utility.go:32
9.  github.com/gogf/gf/database/gdb.(*Model).getSoftFieldName
    /Users/geping/go/pkg/mod/github.com/gogf/[email protected]/database/gdb/gdb_model_time.go:96
10. github.com/gogf/gf/database/gdb.(*Model).getSoftFieldNameDeleted
    /Users/geping/go/pkg/mod/github.com/gogf/[email protected]/database/gdb/gdb_model_time.go:91
11. github.com/gogf/gf/database/gdb.(*Model).getConditionOfTableStringForSoftDeleting
    /Users/geping/go/pkg/mod/github.com/gogf/[email protected]/database/gdb/gdb_model_time.go:161
12. github.com/gogf/gf/database/gdb.(*Model).getConditionForSoftDeleting
    /Users/geping/go/pkg/mod/github.com/gogf/[email protected]/database/gdb/gdb_model_time.go:128
13. github.com/gogf/gf/database/gdb.(*Model).formatCondition
    /Users/geping/go/pkg/mod/github.com/gogf/[email protected]/database/gdb/gdb_model_condition.go:362
14. github.com/gogf/gf/database/gdb.(*Model).getFormattedSqlAndArgs
    /Users/geping/go/pkg/mod/github.com/gogf/[email protected]/database/gdb/gdb_model_select.go:521
15. github.com/gogf/gf/database/gdb.(*Model).doGetAll
    /Users/geping/go/pkg/mod/github.com/gogf/[email protected]/database/gdb/gdb_model_select.go:54
16. github.com/gogf/gf/database/gdb.(*Model).All
    /Users/geping/go/pkg/mod/github.com/gogf/[email protected]/database/gdb/gdb_model_select.go:40
17. github.com/gogf/gf/database/gdb.(*Model).Structs
    /Users/geping/go/pkg/mod/github.com/gogf/[email protected]/database/gdb/gdb_model_select.go:247
18. gea/app/dao/internal.(*SysMenuDao).Structs
    /Users/geping/go/src/dingcaibao/gea/app/dao/internal/sys_menu.go:366
19. gea/app/system/admin/internal/service.(*roleService).GetRoleMenuPolicy
    /Users/geping/go/src/dingcaibao/gea/app/system/admin/internal/service/role.go:468
20. gea/app/system/admin/internal/service.(*roleService).LoadRolePolicy
    /Users/geping/go/src/dingcaibao/gea/app/system/admin/internal/service/role.go:452
21. gea/app/system/admin.initCasbin
    /Users/geping/go/src/dingcaibao/gea/app/system/admin/admin.go:171
22. gea/app/system/admin.Init
    /Users/geping/go/src/dingcaibao/gea/app/system/admin/admin.go:158
23. gea/app.Run
    /Users/geping/go/src/dingcaibao/gea/app/app.go:12
24. main.main
    /Users/geping/go/src/dingcaibao/gea/main.go:14

2021-07-14 09:39:02.480 [ERRO] [ 28 ms] [default] SHOW FULL COLUMNS FROM `sys_menu`
Error: Error 1045: Access denied for user 'outroot'@'_gateway' (using password: YES) 
Stack:
1.  github.com/gogf/gf/database/gdb.(*Core).writeSqlToLogger
    /Users/geping/go/pkg/mod/github.com/gogf/[email protected]/database/gdb/gdb_core.go:761
2.  github.com/gogf/gf/database/gdb.(*Core).DoQuery
    /Users/geping/go/pkg/mod/github.com/gogf/[email protected]/database/gdb/gdb_core_underlying.go:59
3.  github.com/gogf/gf/database/gdb.(*Core).DoGetAll
    /Users/geping/go/pkg/mod/github.com/gogf/[email protected]/database/gdb/gdb_core.go:127
4.  github.com/gogf/gf/database/gdb.(*DriverMysql).TableFields.func1
    /Users/geping/go/pkg/mod/github.com/gogf/[email protected]/database/gdb/gdb_driver_mysql.go:138
5.  github.com/gogf/gf/container/gmap.(*AnyAnyMap).doSetWithLockCheck
    /Users/geping/go/pkg/mod/github.com/gogf/[email protected]/container/gmap/gmap_hash_any_any_map.go:223
6.  github.com/gogf/gf/container/gmap.(*AnyAnyMap).GetOrSetFuncLock
    /Users/geping/go/pkg/mod/github.com/gogf/[email protected]/container/gmap/gmap_hash_any_any_map.go:260
7.  github.com/gogf/gf/database/gdb.(*DriverMysql).TableFields
    /Users/geping/go/pkg/mod/github.com/gogf/[email protected]/database/gdb/gdb_driver_mysql.go:130
8.  github.com/gogf/gf/database/gdb.(*Model).TableFields
    /Users/geping/go/pkg/mod/github.com/gogf/[email protected]/database/gdb/gdb_model_utility.go:32
9.  github.com/gogf/gf/database/gdb.(*Model).getSoftFieldName
    /Users/geping/go/pkg/mod/github.com/gogf/[email protected]/database/gdb/gdb_model_time.go:96
10. github.com/gogf/gf/database/gdb.(*Model).getSoftFieldNameDeleted
    /Users/geping/go/pkg/mod/github.com/gogf/[email protected]/database/gdb/gdb_model_time.go:91
11. github.com/gogf/gf/database/gdb.(*Model).getConditionForSoftDeleting
    /Users/geping/go/pkg/mod/github.com/gogf/[email protected]/database/gdb/gdb_model_time.go:142
12. github.com/gogf/gf/database/gdb.(*Model).formatCondition
    /Users/geping/go/pkg/mod/github.com/gogf/[email protected]/database/gdb/gdb_model_condition.go:362
13. github.com/gogf/gf/database/gdb.(*Model).getFormattedSqlAndArgs
    /Users/geping/go/pkg/mod/github.com/gogf/[email protected]/database/gdb/gdb_model_select.go:521
14. github.com/gogf/gf/database/gdb.(*Model).doGetAll
    /Users/geping/go/pkg/mod/github.com/gogf/[email protected]/database/gdb/gdb_model_select.go:54
15. github.com/gogf/gf/database/gdb.(*Model).All
    /Users/geping/go/pkg/mod/github.com/gogf/[email protected]/database/gdb/gdb_model_select.go:40
16. github.com/gogf/gf/database/gdb.(*Model).Structs
    /Users/geping/go/pkg/mod/github.com/gogf/[email protected]/database/gdb/gdb_model_select.go:247
17. gea/app/dao/internal.(*SysMenuDao).Structs
    /Users/geping/go/src/dingcaibao/gea/app/dao/internal/sys_menu.go:366
18. gea/app/system/admin/internal/service.(*roleService).GetRoleMenuPolicy
    /Users/geping/go/src/dingcaibao/gea/app/system/admin/internal/service/role.go:468
19. gea/app/system/admin/internal/service.(*roleService).LoadRolePolicy
    /Users/geping/go/src/dingcaibao/gea/app/system/admin/internal/service/role.go:452
20. gea/app/system/admin.initCasbin
    /Users/geping/go/src/dingcaibao/gea/app/system/admin/admin.go:171
21. gea/app/system/admin.Init
    /Users/geping/go/src/dingcaibao/gea/app/system/admin/admin.go:158
22. gea/app.Run
    /Users/geping/go/src/dingcaibao/gea/app/app.go:12
23. main.main
    /Users/geping/go/src/dingcaibao/gea/main.go:14

2021-07-14 09:39:02.502 [ERRO] [ 18 ms] [default] SELECT distinct ro.role_key as roleName,m.perms as path,m.method FROM `sys_menu` AS m LEFT JOIN `sys_role_menu` rm ON (m.menu_id = rm.menu_id) LEFT JOIN `sys_role` ro ON (rm.role_id = ro.role_id) WHERE m.status = '0' and ro.status = '0' and m.menu_type != 'M'
Error: Error 1045: Access denied for user 'outroot'@'_gateway' (using password: YES) 
Stack:
1.  github.com/gogf/gf/database/gdb.(*Core).writeSqlToLogger
    /Users/geping/go/pkg/mod/github.com/gogf/[email protected]/database/gdb/gdb_core.go:761
2.  github.com/gogf/gf/database/gdb.(*Core).DoQuery
    /Users/geping/go/pkg/mod/github.com/gogf/[email protected]/database/gdb/gdb_core_underlying.go:59
3.  github.com/gogf/gf/database/gdb.(*Core).DoGetAll
    /Users/geping/go/pkg/mod/github.com/gogf/[email protected]/database/gdb/gdb_core.go:127
4.  github.com/gogf/gf/database/gdb.(*Model).doGetAllBySql
    /Users/geping/go/pkg/mod/github.com/gogf/[email protected]/database/gdb/gdb_model_select.go:486
5.  github.com/gogf/gf/database/gdb.(*Model).doGetAll
    /Users/geping/go/pkg/mod/github.com/gogf/[email protected]/database/gdb/gdb_model_select.go:55
6.  github.com/gogf/gf/database/gdb.(*Model).All
    /Users/geping/go/pkg/mod/github.com/gogf/[email protected]/database/gdb/gdb_model_select.go:40
7.  github.com/gogf/gf/database/gdb.(*Model).Structs
    /Users/geping/go/pkg/mod/github.com/gogf/[email protected]/database/gdb/gdb_model_select.go:247
8.  gea/app/dao/internal.(*SysMenuDao).Structs
    /Users/geping/go/src/dingcaibao/gea/app/dao/internal/sys_menu.go:366
9.  gea/app/system/admin/internal/service.(*roleService).GetRoleMenuPolicy
    /Users/geping/go/src/dingcaibao/gea/app/system/admin/internal/service/role.go:468
10. gea/app/system/admin/internal/service.(*roleService).LoadRolePolicy
    /Users/geping/go/src/dingcaibao/gea/app/system/admin/internal/service/role.go:452
11. gea/app/system/admin.initCasbin
    /Users/geping/go/src/dingcaibao/gea/app/system/admin/admin.go:171
12. gea/app/system/admin.Init
    /Users/geping/go/src/dingcaibao/gea/app/system/admin/admin.go:158
13. gea/app.Run
    /Users/geping/go/src/dingcaibao/gea/app/app.go:12
14. main.main
    /Users/geping/go/src/dingcaibao/gea/main.go:14

2021-07-14 09:39:02.519 [ERRO] [ 16 ms] [default] SHOW FULL COLUMNS FROM `sys_dict_type`
Error: Error 1045: Access denied for user 'outroot'@'_gateway' (using password: YES) 
Stack:
1.  github.com/gogf/gf/database/gdb.(*Core).writeSqlToLogger
    /Users/geping/go/pkg/mod/github.com/gogf/[email protected]/database/gdb/gdb_core.go:761
2.  github.com/gogf/gf/database/gdb.(*Core).DoQuery
    /Users/geping/go/pkg/mod/github.com/gogf/[email protected]/database/gdb/gdb_core_underlying.go:59
3.  github.com/gogf/gf/database/gdb.(*Core).DoGetAll
    /Users/geping/go/pkg/mod/github.com/gogf/[email protected]/database/gdb/gdb_core.go:127
4.  github.com/gogf/gf/database/gdb.(*DriverMysql).TableFields.func1
    /Users/geping/go/pkg/mod/github.com/gogf/[email protected]/database/gdb/gdb_driver_mysql.go:138
5.  github.com/gogf/gf/container/gmap.(*AnyAnyMap).doSetWithLockCheck
    /Users/geping/go/pkg/mod/github.com/gogf/[email protected]/container/gmap/gmap_hash_any_any_map.go:223
6.  github.com/gogf/gf/container/gmap.(*AnyAnyMap).GetOrSetFuncLock
    /Users/geping/go/pkg/mod/github.com/gogf/[email protected]/container/gmap/gmap_hash_any_any_map.go:260
7.  github.com/gogf/gf/database/gdb.(*DriverMysql).TableFields
    /Users/geping/go/pkg/mod/github.com/gogf/[email protected]/database/gdb/gdb_driver_mysql.go:130
8.  github.com/gogf/gf/database/gdb.(*Model).TableFields
    /Users/geping/go/pkg/mod/github.com/gogf/[email protected]/database/gdb/gdb_model_utility.go:32
9.  github.com/gogf/gf/database/gdb.(*Model).getSoftFieldName
    /Users/geping/go/pkg/mod/github.com/gogf/[email protected]/database/gdb/gdb_model_time.go:96
10. github.com/gogf/gf/database/gdb.(*Model).getSoftFieldNameDeleted
    /Users/geping/go/pkg/mod/github.com/gogf/[email protected]/database/gdb/gdb_model_time.go:91
11. github.com/gogf/gf/database/gdb.(*Model).getConditionForSoftDeleting
    /Users/geping/go/pkg/mod/github.com/gogf/[email protected]/database/gdb/gdb_model_time.go:142
12. github.com/gogf/gf/database/gdb.(*Model).formatCondition
    /Users/geping/go/pkg/mod/github.com/gogf/[email protected]/database/gdb/gdb_model_condition.go:362
13. github.com/gogf/gf/database/gdb.(*Model).getFormattedSqlAndArgs
    /Users/geping/go/pkg/mod/github.com/gogf/[email protected]/database/gdb/gdb_model_select.go:521
14. github.com/gogf/gf/database/gdb.(*Model).doGetAll
    /Users/geping/go/pkg/mod/github.com/gogf/[email protected]/database/gdb/gdb_model_select.go:54
15. github.com/gogf/gf/database/gdb.(*Model).All
    /Users/geping/go/pkg/mod/github.com/gogf/[email protected]/database/gdb/gdb_model_select.go:40
16. github.com/gogf/gf/database/gdb.(*Model).Structs
    /Users/geping/go/pkg/mod/github.com/gogf/[email protected]/database/gdb/gdb_model_select.go:247
17. gea/app/dao/internal.(*SysDictTypeDao).Structs
    /Users/geping/go/src/dingcaibao/gea/app/dao/internal/sys_dict_type.go:346
18. gea/app/system/admin/internal/service.(*dictTypeService).GetAll
    /Users/geping/go/src/dingcaibao/gea/app/system/admin/internal/service/dict_type.go:98
19. gea/app/system/admin.initSysDict
    /Users/geping/go/src/dingcaibao/gea/app/system/admin/admin.go:176
20. gea/app/system/admin.Init
    /Users/geping/go/src/dingcaibao/gea/app/system/admin/admin.go:159
21. gea/app.Run
    /Users/geping/go/src/dingcaibao/gea/app/app.go:12
22. main.main
    /Users/geping/go/src/dingcaibao/gea/main.go:14

2021-07-14 09:39:02.579 [ERRO] [ 56 ms] [default] SELECT * FROM `sys_dict_type` AS t
Error: Error 1045: Access denied for user 'outroot'@'_gateway' (using password: YES) 
Stack:
1.  github.com/gogf/gf/database/gdb.(*Core).writeSqlToLogger
    /Users/geping/go/pkg/mod/github.com/gogf/[email protected]/database/gdb/gdb_core.go:761
2.  github.com/gogf/gf/database/gdb.(*Core).DoQuery
    /Users/geping/go/pkg/mod/github.com/gogf/[email protected]/database/gdb/gdb_core_underlying.go:59
3.  github.com/gogf/gf/database/gdb.(*Core).DoGetAll
    /Users/geping/go/pkg/mod/github.com/gogf/[email protected]/database/gdb/gdb_core.go:127
4.  github.com/gogf/gf/database/gdb.(*Model).doGetAllBySql
    /Users/geping/go/pkg/mod/github.com/gogf/[email protected]/database/gdb/gdb_model_select.go:486
5.  github.com/gogf/gf/database/gdb.(*Model).doGetAll
    /Users/geping/go/pkg/mod/github.com/gogf/[email protected]/database/gdb/gdb_model_select.go:55
6.  github.com/gogf/gf/database/gdb.(*Model).All
    /Users/geping/go/pkg/mod/github.com/gogf/[email protected]/database/gdb/gdb_model_select.go:40
7.  github.com/gogf/gf/database/gdb.(*Model).Structs
    /Users/geping/go/pkg/mod/github.com/gogf/[email protected]/database/gdb/gdb_model_select.go:247
8.  gea/app/dao/internal.(*SysDictTypeDao).Structs
    /Users/geping/go/src/dingcaibao/gea/app/dao/internal/sys_dict_type.go:346
9.  gea/app/system/admin/internal/service.(*dictTypeService).GetAll
    /Users/geping/go/src/dingcaibao/gea/app/system/admin/internal/service/dict_type.go:98
10. gea/app/system/admin.initSysDict
    /Users/geping/go/src/dingcaibao/gea/app/system/admin/admin.go:176
11. gea/app/system/admin.Init
    /Users/geping/go/src/dingcaibao/gea/app/system/admin/admin.go:159
12. gea/app.Run
    /Users/geping/go/src/dingcaibao/gea/app/app.go:12
13. main.main
    /Users/geping/go/src/dingcaibao/gea/main.go:14

2021-07-14 09:39:02.603 [ERRO] [ 22 ms] [default] SHOW FULL COLUMNS FROM `sys_job`
Error: Error 1045: Access denied for user 'outroot'@'_gateway' (using password: YES) 
Stack:
1.  github.com/gogf/gf/database/gdb.(*Core).writeSqlToLogger
    /Users/geping/go/pkg/mod/github.com/gogf/[email protected]/database/gdb/gdb_core.go:761
2.  github.com/gogf/gf/database/gdb.(*Core).DoQuery
    /Users/geping/go/pkg/mod/github.com/gogf/[email protected]/database/gdb/gdb_core_underlying.go:59
3.  github.com/gogf/gf/database/gdb.(*Core).DoGetAll
    /Users/geping/go/pkg/mod/github.com/gogf/[email protected]/database/gdb/gdb_core.go:127
4.  github.com/gogf/gf/database/gdb.(*DriverMysql).TableFields.func1
    /Users/geping/go/pkg/mod/github.com/gogf/[email protected]/database/gdb/gdb_driver_mysql.go:138
5.  github.com/gogf/gf/container/gmap.(*AnyAnyMap).doSetWithLockCheck
    /Users/geping/go/pkg/mod/github.com/gogf/[email protected]/container/gmap/gmap_hash_any_any_map.go:223
6.  github.com/gogf/gf/container/gmap.(*AnyAnyMap).GetOrSetFuncLock
    /Users/geping/go/pkg/mod/github.com/gogf/[email protected]/container/gmap/gmap_hash_any_any_map.go:260
7.  github.com/gogf/gf/database/gdb.(*DriverMysql).TableFields
    /Users/geping/go/pkg/mod/github.com/gogf/[email protected]/database/gdb/gdb_driver_mysql.go:130
8.  github.com/gogf/gf/database/gdb.(*Model).TableFields
    /Users/geping/go/pkg/mod/github.com/gogf/[email protected]/database/gdb/gdb_model_utility.go:32
9.  github.com/gogf/gf/database/gdb.(*Model).getSoftFieldName
    /Users/geping/go/pkg/mod/github.com/gogf/[email protected]/database/gdb/gdb_model_time.go:96
10. github.com/gogf/gf/database/gdb.(*Model).getSoftFieldNameDeleted
    /Users/geping/go/pkg/mod/github.com/gogf/[email protected]/database/gdb/gdb_model_time.go:91
11. github.com/gogf/gf/database/gdb.(*Model).getConditionForSoftDeleting
    /Users/geping/go/pkg/mod/github.com/gogf/[email protected]/database/gdb/gdb_model_time.go:142
12. github.com/gogf/gf/database/gdb.(*Model).formatCondition
    /Users/geping/go/pkg/mod/github.com/gogf/[email protected]/database/gdb/gdb_model_condition.go:362
13. github.com/gogf/gf/database/gdb.(*Model).getFormattedSqlAndArgs
    /Users/geping/go/pkg/mod/github.com/gogf/[email protected]/database/gdb/gdb_model_select.go:521
14. github.com/gogf/gf/database/gdb.(*Model).doGetAll
    /Users/geping/go/pkg/mod/github.com/gogf/[email protected]/database/gdb/gdb_model_select.go:54
15. github.com/gogf/gf/database/gdb.(*Model).All
    /Users/geping/go/pkg/mod/github.com/gogf/[email protected]/database/gdb/gdb_model_select.go:40
16. gea/app/dao/internal.(*SysJobDao).All
    /Users/geping/go/src/dingcaibao/gea/app/dao/internal/sys_job.go:263
17. gea/app/system/admin/internal/service.(*jobService).Restart
    /Users/geping/go/src/dingcaibao/gea/app/system/admin/internal/service/job.go:317
18. gea/app/system/admin.initTask
    /Users/geping/go/src/dingcaibao/gea/app/system/admin/admin.go:187
19. gea/app/system/admin.Init
    /Users/geping/go/src/dingcaibao/gea/app/system/admin/admin.go:160
20. gea/app.Run
    /Users/geping/go/src/dingcaibao/gea/app/app.go:12
21. main.main
    /Users/geping/go/src/dingcaibao/gea/main.go:14

2021-07-14 09:39:02.633 [ERRO] [ 25 ms] [default] SELECT * FROM `sys_job` WHERE (`status`='0') AND (`misfire_policy`='1')
Error: Error 1045: Access denied for user 'outroot'@'_gateway' (using password: YES) 
Stack:
1.  github.com/gogf/gf/database/gdb.(*Core).writeSqlToLogger
    /Users/geping/go/pkg/mod/github.com/gogf/[email protected]/database/gdb/gdb_core.go:761
2.  github.com/gogf/gf/database/gdb.(*Core).DoQuery
    /Users/geping/go/pkg/mod/github.com/gogf/[email protected]/database/gdb/gdb_core_underlying.go:59
3.  github.com/gogf/gf/database/gdb.(*Core).DoGetAll
    /Users/geping/go/pkg/mod/github.com/gogf/[email protected]/database/gdb/gdb_core.go:127
4.  github.com/gogf/gf/database/gdb.(*Model).doGetAllBySql
    /Users/geping/go/pkg/mod/github.com/gogf/[email protected]/database/gdb/gdb_model_select.go:486
5.  github.com/gogf/gf/database/gdb.(*Model).doGetAll
    /Users/geping/go/pkg/mod/github.com/gogf/[email protected]/database/gdb/gdb_model_select.go:55
6.  github.com/gogf/gf/database/gdb.(*Model).All
    /Users/geping/go/pkg/mod/github.com/gogf/[email protected]/database/gdb/gdb_model_select.go:40
7.  gea/app/dao/internal.(*SysJobDao).All
    /Users/geping/go/src/dingcaibao/gea/app/dao/internal/sys_job.go:263
8.  gea/app/system/admin/internal/service.(*jobService).Restart
    /Users/geping/go/src/dingcaibao/gea/app/system/admin/internal/service/job.go:317
9.  gea/app/system/admin.initTask
    /Users/geping/go/src/dingcaibao/gea/app/system/admin/admin.go:187
10. gea/app/system/admin.Init
    /Users/geping/go/src/dingcaibao/gea/app/system/admin/admin.go:160
11. gea/app.Run
    /Users/geping/go/src/dingcaibao/gea/app/app.go:12
12. main.main
    /Users/geping/go/src/dingcaibao/gea/main.go:14

2021-07-14 09:39:02.634 [ERRO] 重启定时任务失败 
Stack:
1.  gea/app/system/admin/internal/service.(*jobService).Restart
    /Users/geping/go/src/dingcaibao/gea/app/system/admin/internal/service/job.go:319
2.  gea/app/system/admin.initTask
    /Users/geping/go/src/dingcaibao/gea/app/system/admin/admin.go:187
3.  gea/app/system/admin.Init
    /Users/geping/go/src/dingcaibao/gea/app/system/admin/admin.go:160
4.  gea/app.Run
    /Users/geping/go/src/dingcaibao/gea/app/app.go:12
5.  main.main
    /Users/geping/go/src/dingcaibao/gea/main.go:14

2021-07-14 09:39:02.642 22928: http server started listening on [:8199]

启动报错 gtoken-CacheMode 1和2都试了

[GToken][params:{"AuthExcludePaths":"","AuthFailMsg":"登录超时,请重新登录","AuthPaths":"","CacheKey":"GToken:","CacheMode":1,"EncryptKey":"geazxc0123lk0912","LoginPath":"/login","LogoutPath":"/loglewareType":1,"MultiLogin":true,"Timeout":864000000,"TokenDelimiter":"_"}]start...

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.