Code Monkey home page Code Monkey logo

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

Watchers

 avatar  avatar  avatar  avatar  avatar

gea's Issues

项目启动报错

导入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...

程序第一次启动报错

$ 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

列表树结构优化?

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

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.