...
|
...
|
@@ -9,6 +9,7 @@ const SERVICE_NAME = "partner" |
|
|
|
|
|
var LOG_LEVEL = "debug"
|
|
|
var LOG_File = "app.log"
|
|
|
var LOG_PREFIX = "[partner_dev]"
|
|
|
|
|
|
var MMM_SMS_SERVICE_HOST = "https://sms.fjmaimaimai.com:9897"
|
|
|
var UCENTER_SERVICE_HOST = "https://suplus-ucenter-test.fjmaimaimai.com"
|
...
|
...
|
@@ -28,6 +29,9 @@ func init() { |
|
|
if os.Getenv("LOG_LEVEL") != "" {
|
|
|
LOG_LEVEL = os.Getenv("LOG_LEVEL")
|
|
|
}
|
|
|
if os.Getenv("LOG_PREFIX") != "" {
|
|
|
LOG_PREFIX = os.Getenv("LOG_PREFIX")
|
|
|
}
|
|
|
if os.Getenv("UCENTER_SERVICE_HOST") != "" {
|
|
|
UCENTER_SERVICE_HOST = os.Getenv("UCENTER_SERVICE_HOST")
|
|
|
}
|
...
|
...
|
|