|
@@ -8,7 +8,7 @@ var LOG_LEVEL = "debug" |
|
@@ -8,7 +8,7 @@ var LOG_LEVEL = "debug" |
8
|
var LOG_File = "./logs/partnermg.log"
|
8
|
var LOG_File = "./logs/partnermg.log"
|
9
|
|
9
|
|
10
|
var (
|
10
|
var (
|
11
|
- UCENTER_HOST = "http://suplus-ucenter-dev.fjmaimaimai.com" //统一用户中心地址
|
11
|
+ UCENTER_HOST = "https://suplus-ucenter-dev.fjmaimaimai.com" //统一用户中心地址
|
12
|
UCENTER_SECRET = "cykbjnfqgctn"
|
12
|
UCENTER_SECRET = "cykbjnfqgctn"
|
13
|
UCENTER_APP_KEY = "39aefef9e22744a3b2d2d3791824ae7b"
|
13
|
UCENTER_APP_KEY = "39aefef9e22744a3b2d2d3791824ae7b"
|
14
|
UCENTER_CHECK_ALT = "rsF0pL!6DwjBO735"
|
14
|
UCENTER_CHECK_ALT = "rsF0pL!6DwjBO735"
|
|
@@ -19,16 +19,16 @@ func init() { |
|
@@ -19,16 +19,16 @@ func init() { |
19
|
LOG_LEVEL = os.Getenv("LOG_LEVEL")
|
19
|
LOG_LEVEL = os.Getenv("LOG_LEVEL")
|
20
|
}
|
20
|
}
|
21
|
if os.Getenv("UCENTER_HOST") != "" {
|
21
|
if os.Getenv("UCENTER_HOST") != "" {
|
22
|
- LOG_LEVEL = os.Getenv("UCENTER_HOST")
|
22
|
+ UCENTER_HOST = os.Getenv("UCENTER_HOST")
|
23
|
}
|
23
|
}
|
24
|
if os.Getenv("UCENTER_SECRET") != "" {
|
24
|
if os.Getenv("UCENTER_SECRET") != "" {
|
25
|
- LOG_LEVEL = os.Getenv("UCENTER_SECRET")
|
25
|
+ UCENTER_SECRET = os.Getenv("UCENTER_SECRET")
|
26
|
}
|
26
|
}
|
27
|
if os.Getenv("UCENTER_APP_KEY") != "" {
|
27
|
if os.Getenv("UCENTER_APP_KEY") != "" {
|
28
|
- LOG_LEVEL = os.Getenv("UCENTER_APP_KEY")
|
28
|
+ UCENTER_APP_KEY = os.Getenv("UCENTER_APP_KEY")
|
29
|
}
|
29
|
}
|
30
|
if os.Getenv("UCENTER_CHECK_ALT") != "" {
|
30
|
if os.Getenv("UCENTER_CHECK_ALT") != "" {
|
31
|
- LOG_LEVEL = os.Getenv("UCENTER_CHECK_ALT")
|
31
|
+ UCENTER_CHECK_ALT = os.Getenv("UCENTER_CHECK_ALT")
|
32
|
}
|
32
|
}
|
33
|
|
33
|
|
34
|
} |
34
|
} |