alpha环境启用isUseThingMap

This commit is contained in:
gazebo
2019-12-11 09:07:32 +08:00
parent d566ee38e3
commit 31704041a8
6 changed files with 18 additions and 14 deletions

View File

@@ -51,6 +51,8 @@ var (
WxpayNotifyURL string
JdOrgCode string
IsUseThingMap bool
)
func init() {
@@ -99,6 +101,8 @@ func Init() {
WxpayNotifyURL = beego.AppConfig.DefaultString("wxpayNotifyURL", "")
JdOrgCode = beego.AppConfig.DefaultString("jdOrgCode", "")
IsUseThingMap = beego.AppConfig.DefaultBool("useThingMap", false)
}
func IsCallbackAlwaysReturnSuccess() bool {