Jianghan пре 1 година
родитељ
комит
f84114bd63
1 измењених фајлова са 1 додато и 1 уклоњено
  1. 1 1
      api/internal/logic/upfilelogic.go

+ 1 - 1
api/internal/logic/upfilelogic.go

@@ -70,5 +70,5 @@ func (l *UpFileLogic) UpFile(req *types.UpFileReq) (resp *types.BiResp, err erro
 		FileName:   fileName,
 		FileSize:   fileSize,
 	})
-	return &types.BiResp{Error_code: res.ErrorCode, Error_msg: res.ErrorMsg, Data: res.Data}, err
+	return &types.BiResp{Error_code: res.ErrorCode, Error_msg: res.ErrorMsg, Data: string(res.Data)}, err
 }