作者 陈爱青

[add] 部署成本结构化所需k8s参数

@@ -117,6 +117,8 @@ spec: @@ -117,6 +117,8 @@ spec:
117 value: "http://allied-creation-basic-dev.fjmaimaimai.com" 117 value: "http://allied-creation-basic-dev.fjmaimaimai.com"
118 - name: SMS_SERVE_HOST 118 - name: SMS_SERVE_HOST
119 value: "https://sms.fjmaimaimai.com:9897" 119 value: "https://sms.fjmaimaimai.com:9897"
  120 + - name: COST_STRUCTURED
  121 + value: "http://cost-structured-dev.fjmaimaimai.com"
120 - name: SUPLUS_SALE_APP 122 - name: SUPLUS_SALE_APP
121 value: "http://suplus-sale-app-gateway-test.fjmaimaimai.com" 123 value: "http://suplus-sale-app-gateway-test.fjmaimaimai.com"
122 # - name: REDIS_HOST 124 # - name: REDIS_HOST
@@ -123,6 +123,8 @@ spec: @@ -123,6 +123,8 @@ spec:
123 value: "http://allied-creation-manufacture-test.fjmaimaimai.com" 123 value: "http://allied-creation-manufacture-test.fjmaimaimai.com"
124 - name: SMS_SERVE_HOST 124 - name: SMS_SERVE_HOST
125 value: "https://sms.fjmaimaimai.com:9897" 125 value: "https://sms.fjmaimaimai.com:9897"
  126 + - name: COST_STRUCTURED
  127 + value: "https://cost-structured-test.fjmaimaimai.com"
126 - name: SUPLUS_SALE_APP 128 - name: SUPLUS_SALE_APP
127 value: "http://suplus-sale-app-gateway-test.fjmaimaimai.com" 129 value: "http://suplus-sale-app-gateway-test.fjmaimaimai.com"
128 # - name: REDIS_HOST 130 # - name: REDIS_HOST
@@ -85,4 +85,7 @@ func init() { @@ -85,4 +85,7 @@ func init() {
85 if os.Getenv("SUPLUS_SALE_APP") != "" { 85 if os.Getenv("SUPLUS_SALE_APP") != "" {
86 SUPLUS_SALE_APP = os.Getenv("SUPLUS_SALE_APP") 86 SUPLUS_SALE_APP = os.Getenv("SUPLUS_SALE_APP")
87 } 87 }
  88 + if os.Getenv("COST_STRUCTURED") != "" {
  89 + COST_STRUCTURED = os.Getenv("COST_STRUCTURED")
  90 + }
88 } 91 }