作者 陈志颖

chore:使用https

... ... @@ -83,7 +83,6 @@
### 值对象
### 聚合根
### 领域服务
... ...
... ... @@ -80,10 +80,10 @@ spec:
value: "cykbjnfqgctn"
- name: UCENTER_APP_KEY
value: "39aefef9e22744a3b2d2d3791824ae7b"
- name: UCENTER_CHECK_ALT
- name: UCENTER_CHECK_ALTs
value: "6DwjBO735"
- name: BUSINESS_ADMIN_HOST
value: "http://suplus-business-admin-dev.fjmaimaimai.com"
value: "https://suplus-business-admin-dev.fjmaimaimai.com"
- name: KAFKA_HOST
value: ""
- name: KAFKA_CONSUMER_ID
... ...
... ... @@ -76,11 +76,11 @@ spec:
- name: UCENTER_SECRET
value: "cykbjnfqgctn"
- name: UCENTER_APP_KEY
value: "39aefef9e22744a3b2d2d3791824ae7b"
value: "39aefef9e22744a3b2d2d3791824ae7b"s
- name: UCENTER_CHECK_ALT
value: "rsF0pL!6DwjBO735"
- name: BUSINESS_ADMIN_HOST
value: "http://suplus-business-admin-prd.fjmaimaimai.com"
value: "https://suplus-business-admin-prd.fjmaimaimai.com"
- name: KAFKA_HOST
value: "192.168.0.250:9092;192.168.0.251:9092;192.168.0.252:9092"
- name: KAFKA_CONSUMER_ID
... ...
... ... @@ -80,7 +80,7 @@ spec:
- name: UCENTER_CHECK_ALT
value: "rsF0pL!6DwjBO735"
- name: BUSINESS_ADMIN_HOST
value: "http://suplus-business-admin-test.fjmaimaimai.com"
value: "https://suplus-business-admin-test.fjmaimaimai.com"
- name: KAFKA_HOST
value: "192.168.0.250:9092;192.168.0.251:9092;192.168.0.252:9092"
- name: KAFKA_CONSUMER_ID
... ...
... ... @@ -20,7 +20,7 @@ var (
var ORDER_BASE = "order_base" // 订单管理栏目
var (
BUSINESS_ADMIN_HOST = "http://suplus-business-admin-test.fjmaimaimai.com" //企业平台的地址
BUSINESS_ADMIN_HOST = "https://suplus-business-admin-test.fjmaimaimai.com" //企业平台的地址
)
// 导入excel文件列总数
... ...
... ... @@ -751,7 +751,7 @@ func (c *OrderInfoController) DownloadTemplate() {
}
// 获取导入模板
req := httplib.Get("http://suplus-file-dev.fjmaimaimai.com/upload/file/2021020111293523855.xlsx")
req := httplib.Get("https://suplus-file-dev.fjmaimaimai.com/upload/file/2021020111293523855.xlsx")
err = req.ToFile(constant.IMPORT_EXCEL)
if err != nil {
logs.Error("could not save to file: ", err)
... ... @@ -766,7 +766,7 @@ func (c *OrderInfoController) DownloadTemplate() {
} else {
logs.Info(resp)
ret = map[string]interface{}{
"url": "http://" + c.Ctx.Request.Host + "/" + constant.APP_NAME + "/download/订单数据模板.xlsx",
"url": "https://" + c.Ctx.Request.Host + "/" + constant.APP_NAME + "/download/订单数据模板.xlsx",
}
c.ResponseData(ret)
}
... ...