mirror of
https://github.com/hs-web/hsweb-framework.git
synced 2026-06-21 21:42:55 +08:00
不将string类型转换为json
This commit is contained in:
@@ -79,6 +79,7 @@ public class FastJsonHttpMessageConverter extends AbstractHttpMessageConverter<O
|
||||
}
|
||||
|
||||
public String converter(Object obj) {
|
||||
if (obj instanceof String) return (String)obj;
|
||||
String text;
|
||||
if (obj instanceof ResponseMessage) {
|
||||
ResponseMessage message = (ResponseMessage) obj;
|
||||
|
||||
Reference in New Issue
Block a user