fix: 替换依赖服务host

This commit is contained in:
fuzhongyun 2026-01-08 11:17:33 +08:00
parent 31e15aeb71
commit 41dd5b11f4
3 changed files with 4 additions and 4 deletions

View File

@ -143,7 +143,7 @@ eino_tools:
# == 通用工具 == # == 通用工具 ==
# 表格转图片 # 表格转图片
excel2pic: excel2pic:
base_url: "http://192.168.6.109:8010/api/v1/convert" base_url: "http://excel2pic:8000/api/v1/convert"
dingtalk: dingtalk:
api_key: "dingsbbntrkeiyazcfdg" api_key: "dingsbbntrkeiyazcfdg"

View File

@ -138,7 +138,7 @@ eino_tools:
# == 通用工具 == # == 通用工具 ==
# 表格转图片 # 表格转图片
excel2pic: excel2pic:
base_url: "http://192.168.6.109:8010/api/v1/convert" base_url: "http://excel2pic:8000/api/v1/convert"
dingtalk: dingtalk:
api_key: "dingsbbntrkeiyazcfdg" api_key: "dingsbbntrkeiyazcfdg"

View File

@ -21,7 +21,7 @@ type Uploader struct {
ossClient *utils_oss.Client ossClient *utils_oss.Client
} }
const RequestUrl = "http://192.168.6.109:8010/api/v1/convert" const RequestUrl = "http://excel2pic:8000/api/v1/convert"
func NewUploader(oss *utils_oss.Client) *Uploader { func NewUploader(oss *utils_oss.Client) *Uploader {
return &Uploader{ return &Uploader{
@ -63,7 +63,7 @@ func (u *Uploader) Run(report *ReportRes) (err error) {
// excel2picPy 将excel转换为图片python // excel2picPy 将excel转换为图片python
// python 接口如下: // python 接口如下:
// curl --location --request POST 'http://192.168.6.109:8010/api/v1/convert' \ // curl --location --request POST 'http://excel2pic:8000/api/v1/convert' \
// --header 'Content-Type: multipart/form-data; boundary=--------------------------952147881043913664015069' \ // --header 'Content-Type: multipart/form-data; boundary=--------------------------952147881043913664015069' \
// --form 'file=@"C:\\Users\\Administrator\\Downloads\\销售同比分析2025-12-29 0-12点.xlsx"' \ // --form 'file=@"C:\\Users\\Administrator\\Downloads\\销售同比分析2025-12-29 0-12点.xlsx"' \
// --form 'sheet_name="销售同比分析"' // --form 'sheet_name="销售同比分析"'