- mobile sms verify added.
This commit is contained in:
@@ -27,6 +27,9 @@ var (
|
||||
JdorderTableName string
|
||||
|
||||
Cacher cache.ICacher
|
||||
|
||||
AliKey string
|
||||
AliSecret string
|
||||
)
|
||||
|
||||
func init() {
|
||||
@@ -53,4 +56,7 @@ func Init() {
|
||||
JdorderTableName = "jdorder"
|
||||
|
||||
Cacher = redis.New(beego.AppConfig.DefaultString("redisHost", "localhost"), beego.AppConfig.DefaultInt("redisPort", 0), beego.AppConfig.DefaultString("redisPassword", ""))
|
||||
|
||||
AliKey = beego.AppConfig.DefaultString("aliKey", "")
|
||||
AliSecret = beego.AppConfig.DefaultString("aliSecret", "")
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user