正在显示
6 个修改的文件
包含
8 行增加
和
9 行删除
@@ -80,10 +80,10 @@ spec: | @@ -80,10 +80,10 @@ spec: | ||
80 | value: "cykbjnfqgctn" | 80 | value: "cykbjnfqgctn" |
81 | - name: UCENTER_APP_KEY | 81 | - name: UCENTER_APP_KEY |
82 | value: "39aefef9e22744a3b2d2d3791824ae7b" | 82 | value: "39aefef9e22744a3b2d2d3791824ae7b" |
83 | - - name: UCENTER_CHECK_ALT | 83 | + - name: UCENTER_CHECK_ALTs |
84 | value: "6DwjBO735" | 84 | value: "6DwjBO735" |
85 | - name: BUSINESS_ADMIN_HOST | 85 | - name: BUSINESS_ADMIN_HOST |
86 | - value: "http://suplus-business-admin-dev.fjmaimaimai.com" | 86 | + value: "https://suplus-business-admin-dev.fjmaimaimai.com" |
87 | - name: KAFKA_HOST | 87 | - name: KAFKA_HOST |
88 | value: "" | 88 | value: "" |
89 | - name: KAFKA_CONSUMER_ID | 89 | - name: KAFKA_CONSUMER_ID |
@@ -76,11 +76,11 @@ spec: | @@ -76,11 +76,11 @@ spec: | ||
76 | - name: UCENTER_SECRET | 76 | - name: UCENTER_SECRET |
77 | value: "cykbjnfqgctn" | 77 | value: "cykbjnfqgctn" |
78 | - name: UCENTER_APP_KEY | 78 | - name: UCENTER_APP_KEY |
79 | - value: "39aefef9e22744a3b2d2d3791824ae7b" | 79 | + value: "39aefef9e22744a3b2d2d3791824ae7b"s |
80 | - name: UCENTER_CHECK_ALT | 80 | - name: UCENTER_CHECK_ALT |
81 | value: "rsF0pL!6DwjBO735" | 81 | value: "rsF0pL!6DwjBO735" |
82 | - name: BUSINESS_ADMIN_HOST | 82 | - name: BUSINESS_ADMIN_HOST |
83 | - value: "http://suplus-business-admin-prd.fjmaimaimai.com" | 83 | + value: "https://suplus-business-admin-prd.fjmaimaimai.com" |
84 | - name: KAFKA_HOST | 84 | - name: KAFKA_HOST |
85 | value: "192.168.0.250:9092;192.168.0.251:9092;192.168.0.252:9092" | 85 | value: "192.168.0.250:9092;192.168.0.251:9092;192.168.0.252:9092" |
86 | - name: KAFKA_CONSUMER_ID | 86 | - name: KAFKA_CONSUMER_ID |
@@ -80,7 +80,7 @@ spec: | @@ -80,7 +80,7 @@ spec: | ||
80 | - name: UCENTER_CHECK_ALT | 80 | - name: UCENTER_CHECK_ALT |
81 | value: "rsF0pL!6DwjBO735" | 81 | value: "rsF0pL!6DwjBO735" |
82 | - name: BUSINESS_ADMIN_HOST | 82 | - name: BUSINESS_ADMIN_HOST |
83 | - value: "http://suplus-business-admin-test.fjmaimaimai.com" | 83 | + value: "https://suplus-business-admin-test.fjmaimaimai.com" |
84 | - name: KAFKA_HOST | 84 | - name: KAFKA_HOST |
85 | value: "192.168.0.250:9092;192.168.0.251:9092;192.168.0.252:9092" | 85 | value: "192.168.0.250:9092;192.168.0.251:9092;192.168.0.252:9092" |
86 | - name: KAFKA_CONSUMER_ID | 86 | - name: KAFKA_CONSUMER_ID |
@@ -20,7 +20,7 @@ var ( | @@ -20,7 +20,7 @@ var ( | ||
20 | var ORDER_BASE = "order_base" // 订单管理栏目 | 20 | var ORDER_BASE = "order_base" // 订单管理栏目 |
21 | 21 | ||
22 | var ( | 22 | var ( |
23 | - BUSINESS_ADMIN_HOST = "http://suplus-business-admin-test.fjmaimaimai.com" //企业平台的地址 | 23 | + BUSINESS_ADMIN_HOST = "https://suplus-business-admin-test.fjmaimaimai.com" //企业平台的地址 |
24 | ) | 24 | ) |
25 | 25 | ||
26 | // 导入excel文件列总数 | 26 | // 导入excel文件列总数 |
@@ -751,7 +751,7 @@ func (c *OrderInfoController) DownloadTemplate() { | @@ -751,7 +751,7 @@ func (c *OrderInfoController) DownloadTemplate() { | ||
751 | } | 751 | } |
752 | 752 | ||
753 | // 获取导入模板 | 753 | // 获取导入模板 |
754 | - req := httplib.Get("http://suplus-file-dev.fjmaimaimai.com/upload/file/2021020111293523855.xlsx") | 754 | + req := httplib.Get("https://suplus-file-dev.fjmaimaimai.com/upload/file/2021020111293523855.xlsx") |
755 | err = req.ToFile(constant.IMPORT_EXCEL) | 755 | err = req.ToFile(constant.IMPORT_EXCEL) |
756 | if err != nil { | 756 | if err != nil { |
757 | logs.Error("could not save to file: ", err) | 757 | logs.Error("could not save to file: ", err) |
@@ -766,7 +766,7 @@ func (c *OrderInfoController) DownloadTemplate() { | @@ -766,7 +766,7 @@ func (c *OrderInfoController) DownloadTemplate() { | ||
766 | } else { | 766 | } else { |
767 | logs.Info(resp) | 767 | logs.Info(resp) |
768 | ret = map[string]interface{}{ | 768 | ret = map[string]interface{}{ |
769 | - "url": "http://" + c.Ctx.Request.Host + "/" + constant.APP_NAME + "/download/订单数据模板.xlsx", | 769 | + "url": "https://" + c.Ctx.Request.Host + "/" + constant.APP_NAME + "/download/订单数据模板.xlsx", |
770 | } | 770 | } |
771 | c.ResponseData(ret) | 771 | c.ResponseData(ret) |
772 | } | 772 | } |
-
请 注册 或 登录 后发表评论