- mobile sms verify added.

This commit is contained in:
gazebo
2018-09-05 18:03:53 +08:00
parent 76b03bf86f
commit 0faaa6b366
7 changed files with 119 additions and 0 deletions

View File

@@ -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", "")
}