ChangedenCZD commented on issue #284:
URL:
https://github.com/apache/dubbo-go-hessian2/issues/284#issuecomment-948412649
你试试统一用
```go
type MerchantResponse struct {
Code string
Message string
Data interface{}
}
func (MerchantResponse) JavaClassName() string {
return "com.xxx.common.Result"
}
```
再通过反射处理Data
--
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.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]