tiwin-lm opened a new issue #1676: microservice response data have a parameter 
can'n return to client
URL: https://github.com/apache/servicecomb-java-chassis/issues/1676
 
 
   
当前我这有个微服务,在端侧请求后返回给端侧的数据中,有一个字段总是丢失,端侧解析后缺一个字段,我尝试通过ip地址直接访问,不走cse的话,返回结果就是正常的,取出服务实例后契约文件也可有这个字段,我用postman测试,用域名访问的话,也是有一样的问题,用ip地址访问就没有问题。返回的就是一个json串,端侧解析这个json串就没有这个字段.
   `public class UserStoryInfo {
       private String topicId;
   
       private int storyType;
   
       private String aesKey;
   
       private String contents;
   
       private String location;
   
       private String deviceName;
   
       private long createTime;
   
       private List<OutputFileInfo> outputFileInfoList;
   
       private List<String> groupIdList;
   
       private int privatePolicy;
   
       private String accountId;
   
       private int remindTag;
   
       private int publishType;
   
       private int viewTimes;
   `
   `public class OutputFileInfo extends OutputFile {
       private int contentIndex;
   
       private String notes;
   
       private OutputFile thumbOutputFile;`
   当前UserStoryInfo就是返回体中的data, 现在就是notes这个字段总是显示不出来。
   

----------------------------------------------------------------
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:
[email protected]


With regards,
Apache Git Services

Reply via email to