소스 검색

-fix:修复了oss加密

Diamond_ore 4 달 전
부모
커밋
fe0dbe8ddd
2개의 변경된 파일2개의 추가작업 그리고 2개의 파일을 삭제
  1. 1 1
      shudao-chat-go/utils/config.go
  2. 1 1
      shudao-chat-go/utils/prompt_builder.go

+ 1 - 1
shudao-chat-go/utils/config.go

@@ -6,7 +6,7 @@ import (
 
 // GetBaseURL 获取基础URL
 func GetBaseURL() string {
-	return web.AppConfig.DefaultString("base_url", "https://172.16.29.101:22000")
+	return web.AppConfig.DefaultString("base_url", "https://172.16.29.101:22001")
 }
 
 // GetProxyURL 生成OSS代理URL(加密版本)

+ 1 - 1
shudao-chat-go/utils/prompt_builder.go

@@ -565,7 +565,7 @@ func normalizeSectionType(sectionType string) string {
 	switch strings.ToLower(strings.TrimSpace(sectionType)) {
 	case "single", "judge", "multiple", "short":
 		return strings.ToLower(strings.TrimSpace(sectionType))
-	default:
+	default: 
 		return "single"
 	}
 }