conf.go 685 B

12345678910111213141516171819
  1. package conf
  2. import (
  3. beego "github.com/beego/beego/v2/server/web"
  4. )
  5. var Httpport, _ = beego.AppConfig.Int("httpport")
  6. var Redis_address, _ = beego.AppConfig.String("Redis_address")
  7. var Redis_password, _ = beego.AppConfig.String("Redis_password")
  8. var Redis_dbNum, _ = beego.AppConfig.String("Redis_dbNum")
  9. var OAuthBaseUrl, _ = beego.AppConfig.String("OAuth_baseUrl")
  10. var Qiniu_AccessKey, _ = beego.AppConfig.String("Qiniu_AccessKey")
  11. var Qiniu_SecretKey, _ = beego.AppConfig.String("Qiniu_SecretKey")
  12. var Qiniu_BUCKET, _ = beego.AppConfig.String("Qiniu_BUCKET")
  13. var Qiniu_Url, _ = beego.AppConfig.String("Qiniu_Url")
  14. var BZD_pcodeUrl, _ = beego.AppConfig.String("BZD_pcodeUrl")