You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@servicecomb.apache.org by GitBox <gi...@apache.org> on 2020/05/22 07:33:52 UTC

[GitHub] [servicecomb-java-chassis] xhanthow opened a new issue #1771: 上传文件序列化的时候报错

xhanthow opened a new issue #1771:
URL: https://github.com/apache/servicecomb-java-chassis/issues/1771


   `value`类型为:`MultipartFile`, `targetJavaType`类型为:`Part`
   这样报错了:
   ![image](https://user-images.githubusercontent.com/7291995/82643109-9253e380-9c41-11ea-946a-2ec130797a69.png)
   这样就正常:
   ![image](https://user-images.githubusercontent.com/7291995/82643131-9b44b500-9c41-11ea-95a3-03e8cdc21a3a.png)
   
   


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [servicecomb-java-chassis] xhanthow commented on issue #1771: 上传文件序列化的时候报错

Posted by GitBox <gi...@apache.org>.
xhanthow commented on issue #1771:
URL: https://github.com/apache/servicecomb-java-chassis/issues/1771#issuecomment-632543330


   接口声明为`MultipartFile`,调用方式为Rpc方式。最后改为`Part`就行了


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [servicecomb-java-chassis] xhanthow closed issue #1771: 上传文件序列化的时候报错

Posted by GitBox <gi...@apache.org>.
xhanthow closed issue #1771:
URL: https://github.com/apache/servicecomb-java-chassis/issues/1771


   


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org