Commit f88c2717 authored by 张永's avatar 张永

网商回调

parent 92b31cb9
...@@ -88,6 +88,9 @@ public class PayNotifyController { ...@@ -88,6 +88,9 @@ public class PayNotifyController {
@RequestMapping(value = "/mybankCallback", method = RequestMethod.POST) @RequestMapping(value = "/mybankCallback", method = RequestMethod.POST)
public Object mybankCallback(@RequestBody String req, HttpServletResponse resp) { public Object mybankCallback(@RequestBody String req, HttpServletResponse resp) {
logger.info("从egoPay中接收网商银行回调通知接口 {}",req); logger.info("从egoPay中接收网商银行回调通知接口 {}",req);
List<Map<String, Object>> returnMap = orderService.myBankCallback(req);
logger.info("处理从egoPay中接收网商银行回调通知结果 {}",GsonUtil.toJson(returnMap));
return "success"; return "success";
} }
......
...@@ -50,5 +50,5 @@ public interface OrderService { ...@@ -50,5 +50,5 @@ public interface OrderService {
public List<Map<String, Object>> mePayCallback(String req); public List<Map<String, Object>> mePayCallback(String req);
public List<Map<String, Object>> meBankCallback(String req); public List<Map<String, Object>> myBankCallback(String req);
} }
...@@ -1200,7 +1200,7 @@ public class OrderServiceImpl implements OrderService { ...@@ -1200,7 +1200,7 @@ public class OrderServiceImpl implements OrderService {
} }
// 网商银行回调 // 网商银行回调
public List<Map<String, Object>> meBankCallback(String req) { public List<Map<String, Object>> myBankCallback(String req) {
String PayTypeID = "150"; // 网商银行 String PayTypeID = "150"; // 网商银行
List<Map<String, Object>> returnMap = new ArrayList<Map<String, Object>>(); List<Map<String, Object>> returnMap = new ArrayList<Map<String, Object>>();
JSONObject reqObj = JSONObject.parseObject(req); JSONObject reqObj = JSONObject.parseObject(req);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment