bbs-go最新的mysql初始化脚本可以发下马,感谢啦
你去管理后台配置下就好了。
就用这个初始化就行。
数据库,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
t_sys_config
key
[0.000ms] [rows:0] SELECT * FROM t_sys_config WHERE key = "recommendTags" LIMIT 1
[0.996ms] [rows:0] SELECT * FROM t_sys_config WHERE key = "urlRedirect" LIMIT 1
[0.000ms] [rows:0] SELECT * FROM t_sys_config WHERE key = "articlePending" LIMIT 1
[0.000ms] [rows:0] SELECT * FROM t_sys_config WHERE key = "topicCaptcha" LIMIT 1
[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
你去管理后台配置下就好了。
就用这个初始化就行。
数据库,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
WHEREkey
= "siteNotification" LIMIT 12021/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
WHEREkey
= "recommendTags" LIMIT 12021/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
WHEREkey
= "urlRedirect" LIMIT 12021/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
WHEREkey
= "articlePending" LIMIT 12021/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
WHEREkey
= "topicCaptcha" LIMIT 12021/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
WHEREkey
= "userObserveSeconds" LIMIT 1我用的这个 上面的 初始化,使用了最新代码,说有些字段和值找不到。感谢啦 https://docs.bbs-go.com/guide/#server%E6%A8%A1%E5%9D%97%E5%90%AF%E5%8A%A8