可乐
发布于

bbs-go最新的mysql初始化脚本可以发下马,感谢啦

bbs-go 最新的 MySQL 初始化脚本可以发下马,感谢啦

评论(4)
  • 小码哥
    可乐 可乐 25天前

    数据库,t_sys_config 表 下面这些字段 配置什么值呢?

    2021/01/30 18:14:14 E:/gowork/bbs-go/repositories/sys_config_repository.go:29 record not found

    [0.000ms] [rows:0] SELECT * FROM t_sys_config WHERE key = "siteNotification" LIMIT 1

    2021/01/30 18:14:14 E:/gowork/bbs-go/repositories/sys_config_repository.go:29 record not found

    [0.000ms] [rows:0] SELECT * FROM t_sys_config WHERE key = "recommendTags" LIMIT 1

    2021/01/30 18:14:14 E:/gowork/bbs-go/repositories/sys_config_repository.go:29 record not found

    [0.996ms] [rows:0] SELECT * FROM t_sys_config WHERE key = "urlRedirect" LIMIT 1

    2021/01/30 18:14:14 E:/gowork/bbs-go/repositories/sys_config_repository.go:29 record not found

    [0.000ms] [rows:0] SELECT * FROM t_sys_config WHERE key = "articlePending" LIMIT 1

    2021/01/30 18:14:14 E:/gowork/bbs-go/repositories/sys_config_repository.go:29 record not found

    [0.000ms] [rows:0] SELECT * FROM t_sys_config WHERE key = "topicCaptcha" LIMIT 1

    2021/01/30 18:14:14 E:/gowork/bbs-go/repositories/sys_config_repository.go:29 record not found

    [0.000ms] [rows:0] SELECT * FROM t_sys_config WHERE key = "userObserveSeconds" LIMIT 1

    你去管理后台配置下就好了。

  • 小码哥
    可乐 可乐 25天前

    我用的这个 上面的 初始化,使用了最新代码,说有些字段和值找不到。感谢啦 https://docs.bbs-go.com/guide/#server%E6%A8%A1%E5%9D%97%E5%90%AF%E5%8A%A8

    就用这个初始化就行。

  • 可乐

    数据库,t_sys_config 表 下面这些字段 配置什么值呢?

    2021/01/30 18:14:14 E:/gowork/bbs-go/repositories/sys_config_repository.go:29 record not found

    [0.000ms] [rows:0] SELECT * FROM t_sys_config WHERE key = "siteNotification" LIMIT 1

    2021/01/30 18:14:14 E:/gowork/bbs-go/repositories/sys_config_repository.go:29 record not found

    [0.000ms] [rows:0] SELECT * FROM t_sys_config WHERE key = "recommendTags" LIMIT 1

    2021/01/30 18:14:14 E:/gowork/bbs-go/repositories/sys_config_repository.go:29 record not found

    [0.996ms] [rows:0] SELECT * FROM t_sys_config WHERE key = "urlRedirect" LIMIT 1

    2021/01/30 18:14:14 E:/gowork/bbs-go/repositories/sys_config_repository.go:29 record not found

    [0.000ms] [rows:0] SELECT * FROM t_sys_config WHERE key = "articlePending" LIMIT 1

    2021/01/30 18:14:14 E:/gowork/bbs-go/repositories/sys_config_repository.go:29 record not found

    [0.000ms] [rows:0] SELECT * FROM t_sys_config WHERE key = "topicCaptcha" LIMIT 1

    2021/01/30 18:14:14 E:/gowork/bbs-go/repositories/sys_config_repository.go:29 record not found

    [0.000ms] [rows:0] SELECT * FROM t_sys_config WHERE key = "userObserveSeconds" LIMIT 1

  • 可乐

    我用的这个 上面的 初始化,使用了最新代码,说有些字段和值找不到。感谢啦 https://docs.bbs-go.com/guide/#server%E6%A8%A1%E5%9D%97%E5%90%AF%E5%8A%A8