作者 唐旭辉

更新

@@ -69,7 +69,7 @@ spec: @@ -69,7 +69,7 @@ spec:
69 - name: ERROR_BASE_CODE_MULTIPLE 69 - name: ERROR_BASE_CODE_MULTIPLE
70 value: "1000" 70 value: "1000"
71 - name: UCENTER_HOST 71 - name: UCENTER_HOST
72 - value: "http://suplus-ucenter-dev.fjmaimaimai.com" 72 + value: "https://suplus-ucenter-dev.fjmaimaimai.com"
73 - name: UCENTER_SECRET 73 - name: UCENTER_SECRET
74 value: "cykbjnfqgctn" 74 value: "cykbjnfqgctn"
75 - name: UCENTER_APP_KEY 75 - name: UCENTER_APP_KEY
@@ -66,7 +66,7 @@ spec: @@ -66,7 +66,7 @@ spec:
66 - name: ERROR_BASE_CODE_MULTIPLE 66 - name: ERROR_BASE_CODE_MULTIPLE
67 value: "1000" 67 value: "1000"
68 - name: UCENTER_HOST 68 - name: UCENTER_HOST
69 - value: "http://suplus-ucenter-test.fjmaimaimai.com" 69 + value: "https://suplus-ucenter-test.fjmaimaimai.com"
70 - name: UCENTER_SECRET 70 - name: UCENTER_SECRET
71 value: "cykbjnfqgctn" 71 value: "cykbjnfqgctn"
72 - name: UCENTER_APP_KEY 72 - name: UCENTER_APP_KEY
@@ -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 }