Ver código fonte

update

master
DengBiao 2 anos atrás
pai
commit
e74890eb7e
1 arquivos alterados com 2 adições e 2 exclusões
  1. +2
    -2
      internal/business/comm/cloud_upload.go

+ 2
- 2
internal/business/comm/cloud_upload.go Ver arquivo

@@ -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)



Carregando…
Cancelar
Salvar