You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

28 lines
604 B
Go

package config
import (
"git.noahlan.cn/noahlan/ntool-biz/core/captcha"
nconfig "git.noahlan.cn/noahlan/ntool-biz/core/config"
"git.noahlan.cn/noahlan/ntool-biz/core/i18n"
"github.com/zeromicro/go-zero/zrpc"
"github.com/zeromicro/go-zero/rest"
)
type Config struct {
rest.RestConf
Auth nconfig.AuthConf
CORSConf nconfig.CORSConf
RedisConf nconfig.RedisConf
Captcha captcha.Config `json:",optional"`
I18n i18n.Config `json:",optional"`
RegisterConf RegisterConf
CoreRpc zrpc.RpcClientConf
}
type RegisterConf struct {
DefaultPassword string `json:",default=a123456"`
}