From b5e33ee889b62d20cb53c3dd1d0d531b41cab1d5 Mon Sep 17 00:00:00 2001 From: kanade Date: Tue, 17 May 2022 14:17:09 +0800 Subject: [PATCH 1/2] es --- internal/v2/model/search_ali/searchByAliES.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/internal/v2/model/search_ali/searchByAliES.go b/internal/v2/model/search_ali/searchByAliES.go index 5f44691..875e0c5 100644 --- a/internal/v2/model/search_ali/searchByAliES.go +++ b/internal/v2/model/search_ali/searchByAliES.go @@ -27,7 +27,7 @@ var ( EndPoint = "opensearch-cn-shanghai.aliyuncs.com" AccessKeyId = "LTAI5tBeJdJBq2R9quhwGeQH" AccessKeySecret = "sKvHrPwNWbVeDgUARAiGTluW06AQ4c" - App = "zjyc" + App = "recook" Table = "main" ) From 3a51bd89cb989f5c52676889c885c05eaa307666 Mon Sep 17 00:00:00 2001 From: kanade Date: Wed, 18 May 2022 10:33:08 +0800 Subject: [PATCH 2/2] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E7=9B=AE=E5=BD=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- internal/static_path/dir.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/internal/static_path/dir.go b/internal/static_path/dir.go index f5ca465..f8a8720 100755 --- a/internal/static_path/dir.go +++ b/internal/static_path/dir.go @@ -28,7 +28,7 @@ func init() { f.Video = "/video" f.Temp = "/temp" if runtime.GOOS == "linux" { - f.Root = "/www/wwwroot/recook/static" + f.Root = "/www/wwwroot/recook_v2/static" f.RootPhp = "/www/wwwroot/testsp.reecook.cn/public" _, err := os.Stat(f.Root) if os.IsNotExist(err) {