|
@@ -1,9 +1,11 @@
|
|
|
package cn.newfeifan.mall.module.pay.fuiou.client;
|
|
|
|
|
|
+import cn.newfeifan.mall.module.pay.fuiou.respVO.FuYouQueryPayOrderResponseVO;
|
|
|
import com.alibaba.fastjson.JSON;
|
|
|
import cn.newfeifan.mall.module.pay.fuiou.reqdata.CommonQueryDataReq;
|
|
|
import cn.newfeifan.mall.module.pay.fuiou.util.FuiouHttpPoster;
|
|
|
import cn.newfeifan.mall.module.pay.fuiou.util.MD5;
|
|
|
+import com.fasterxml.jackson.databind.ObjectMapper;
|
|
|
|
|
|
import static cn.newfeifan.mall.module.pay.enums.DictTypeConstants.*;
|
|
|
|
|
@@ -32,6 +34,10 @@ public class CommonQueryClient {
|
|
|
String res = http.newPost(JSON.toJSONString(req));
|
|
|
System.out.println("====resp====\n");
|
|
|
System.out.println(res);
|
|
|
+
|
|
|
+ ObjectMapper mapper = new ObjectMapper();
|
|
|
+ FuYouQueryPayOrderResponseVO resp = mapper.readValue(res, FuYouQueryPayOrderResponseVO.class);
|
|
|
+ System.out.println(resp.getResult_code());
|
|
|
}
|
|
|
|
|
|
}
|