合并分支 'dev' 到 'master'
Dev 查看合并请求 !51
正在显示
9 个修改的文件
包含
56 行增加
和
8 行删除
.air.toml
0 → 100644
| 1 | +# Config file for [Air](https://github.com/cosmtrek/air) in TOML format | ||
| 2 | + | ||
| 3 | +# Working directory | ||
| 4 | +# . or absolute path, please note that the directories following must be under root. | ||
| 5 | +root = "." | ||
| 6 | +tmp_dir = "tmp" | ||
| 7 | + | ||
| 8 | +[build] | ||
| 9 | +# Just plain old shell command. You could use `make` as well. | ||
| 10 | +cmd = "go build -o ./tmp/main ." | ||
| 11 | +# Binary file yields from `cmd`. | ||
| 12 | +bin = "tmp/main" | ||
| 13 | +# Customize binary. | ||
| 14 | +full_bin = "APP_ENV=dev APP_USER=air ./tmp/main" | ||
| 15 | +# Watch these filename extensions. | ||
| 16 | +include_ext = ["go", "tpl", "tmpl", "html"] | ||
| 17 | +# Ignore these filename extensions or directories. | ||
| 18 | +exclude_dir = ["assets", "tmp", "vendor", "frontend/node_modules"] | ||
| 19 | +# Watch these directories if you specified. | ||
| 20 | +include_dir = [] | ||
| 21 | +# Exclude files. | ||
| 22 | +exclude_file = [] | ||
| 23 | +# Exclude unchanged files. | ||
| 24 | +exclude_unchanged = true | ||
| 25 | +# This log file places in your tmp_dir. | ||
| 26 | +log = "air.log" | ||
| 27 | +# It's not necessary to trigger build each time file changes if it's too frequent. | ||
| 28 | +delay = 1000 # ms | ||
| 29 | +# Stop running old binary when build errors occur. | ||
| 30 | +stop_on_error = true | ||
| 31 | +# Send Interrupt signal before killing process (windows does not support this feature) | ||
| 32 | +send_interrupt = false | ||
| 33 | +# Delay after sending Interrupt signal | ||
| 34 | +kill_delay = 500 # ms | ||
| 35 | + | ||
| 36 | +[log] | ||
| 37 | +# Show log time | ||
| 38 | +time = false | ||
| 39 | + | ||
| 40 | +[color] | ||
| 41 | +# Customize each part's color. If no color found, use the raw app log. | ||
| 42 | +main = "magenta" | ||
| 43 | +watcher = "cyan" | ||
| 44 | +build = "yellow" | ||
| 45 | +runner = "green" | ||
| 46 | + | ||
| 47 | +[misc] | ||
| 48 | +# Delete tmp directory on exit | ||
| 49 | +clean_on_exit = true |
| @@ -83,7 +83,7 @@ spec: | @@ -83,7 +83,7 @@ spec: | ||
| 83 | - name: UCENTER_CHECK_ALT | 83 | - name: UCENTER_CHECK_ALT |
| 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文件列总数 |
| @@ -54,7 +54,7 @@ func (controller *ColumnSettingController) CreateColumnSetting() { | @@ -54,7 +54,7 @@ func (controller *ColumnSettingController) CreateColumnSetting() { | ||
| 54 | 54 | ||
| 55 | /** | 55 | /** |
| 56 | * @Author SteveChan | 56 | * @Author SteveChan |
| 57 | - * @Description // 更新栏目设置 | 57 | + * @Description 更新栏目设置 |
| 58 | * @Date 22:52 2021/1/26 | 58 | * @Date 22:52 2021/1/26 |
| 59 | * @Param | 59 | * @Param |
| 60 | * @return | 60 | * @return |
| @@ -752,7 +752,7 @@ func (c *OrderInfoController) DownloadTemplate() { | @@ -752,7 +752,7 @@ func (c *OrderInfoController) DownloadTemplate() { | ||
| 752 | } | 752 | } |
| 753 | 753 | ||
| 754 | // 获取导入模板 | 754 | // 获取导入模板 |
| 755 | - req := httplib.Get("http://suplus-file-dev.fjmaimaimai.com/upload/file/2021020111293523855.xlsx") | 755 | + req := httplib.Get("https://suplus-file-dev.fjmaimaimai.com/upload/file/2021020111293523855.xlsx") |
| 756 | err = req.ToFile(constant.IMPORT_EXCEL) | 756 | err = req.ToFile(constant.IMPORT_EXCEL) |
| 757 | if err != nil { | 757 | if err != nil { |
| 758 | logs.Error("could not save to file: ", err) | 758 | logs.Error("could not save to file: ", err) |
tmp/main
0 → 100755
不能预览此文件类型
-
请 注册 或 登录 后发表评论