config.go 478 字节
package config

import (
	"github.com/zeromicro/go-zero/core/stores/redis"
	"github.com/zeromicro/go-zero/rest"
	"gitlab.fjmaimaimai.com/allied-creation/su-micro/pkg/config"
)

type Config struct {
	rest.RestConf
	config.Config
	Redis          redis.RedisConf `json:",optional"`
	SystemAuth     config.Auth
	DebugSmsCode   string  `json:",optional,default=999512"`
	CheckAuth      bool    `json:",optional,default=true"`
	CheckAuthProba float64 `json:",optional,default=0.3"`
}