diff --git a/server/upload/internal/logic/uploadlogologic.go b/server/upload/internal/logic/uploadlogologic.go index 82d0427b..3d441f07 100644 --- a/server/upload/internal/logic/uploadlogologic.go +++ b/server/upload/internal/logic/uploadlogologic.go @@ -3,6 +3,7 @@ package logic import ( "encoding/json" "errors" + "fmt" "fusenapi/model/gmodel" "fusenapi/utils/auth" "fusenapi/utils/basic" @@ -154,9 +155,10 @@ func (l *UploadLogoLogic) UploadLogo(req *types.UploadLogoReq, userinfo *auth.Us } var resultStr string - var postMap = make(map[string]interface{}, 1) + var postMap = make(map[string]string, 1) postMap["logo_url"] = uploadRes.ResourceUrl postMapB, _ := json.Marshal(postMap) + fmt.Println(string(postMapB)) var headerData = make(map[string]string, 1) headerData["Content-Type"] = "application/json"