From e74890eb7eba88757fae0c8a9407cc7ddf049300 Mon Sep 17 00:00:00 2001 From: DengBiao <2319963317@qq.com> Date: Wed, 23 Nov 2022 10:48:17 +0800 Subject: [PATCH] update --- internal/business/comm/cloud_upload.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/internal/business/comm/cloud_upload.go b/internal/business/comm/cloud_upload.go index 00b5b75..1df0726 100644 --- a/internal/business/comm/cloud_upload.go +++ b/internal/business/comm/cloud_upload.go @@ -16,8 +16,8 @@ func (*cloudUpload) FileReqUpload(ctx context.Context, uid, dirName, fName strin masterId, _ := grpclib.GetCtxMasterId(ctx) callbackUrl := svc.SysCfgGet("-1", "cloud_file_upload_call_back_url") - fileBucketHost := svc.SysCfgGet("-1", "file_bucket_host") - fileBucketScheme := svc.SysCfgGet("-1", "file_bucket_scheme") + fileBucketHost := svc.SysCfgGet(masterId, "file_bucket_host") + fileBucketScheme := svc.SysCfgGet(masterId, "file_bucket_scheme") callbackUrl = fmt.Sprintf(callbackUrl, masterId, fileBucketHost, fileBucketScheme)