generated from root/miduo_server
猕猴桃专服支付修改
parent
a1386d9336
commit
44c5fa596a
|
@ -39,7 +39,7 @@ public class MHTGnWebRechargeController {
|
||||||
|
|
||||||
@RequestMapping(value = "/Web/MHTGnCallback")
|
@RequestMapping(value = "/Web/MHTGnCallback")
|
||||||
public String MHTGnCallback(HttpServletRequest request) throws Exception {
|
public String MHTGnCallback(HttpServletRequest request) throws Exception {
|
||||||
return process(request,"bdbda1c460fb2273f061d9123ee39dae");
|
return process(request,"f225820f22e100e7a3cf6447d3594211");
|
||||||
}
|
}
|
||||||
|
|
||||||
@RequestMapping(value = "/Web/MHTGnIosCallback")
|
@RequestMapping(value = "/Web/MHTGnIosCallback")
|
||||||
|
@ -53,7 +53,7 @@ public class MHTGnWebRechargeController {
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
private String process(HttpServletRequest request,String appsecret) throws Exception{
|
protected String process(HttpServletRequest request,String appsecret) throws Exception{
|
||||||
HashMap<String, String> parameterMap = JsonUtil.getInstence().getParameterMap2(request);
|
HashMap<String, String> parameterMap = JsonUtil.getInstence().getParameterMap2(request);
|
||||||
if (parameterMap.isEmpty()) {
|
if (parameterMap.isEmpty()) {
|
||||||
LOGGER.info("data is null");
|
LOGGER.info("data is null");
|
||||||
|
|
|
@ -0,0 +1,31 @@
|
||||||
|
package com.jmfy.controller;
|
||||||
|
|
||||||
|
import org.springframework.web.bind.annotation.RequestMapping;
|
||||||
|
import org.springframework.web.bind.annotation.RestController;
|
||||||
|
|
||||||
|
import javax.servlet.http.HttpServletRequest;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @author lvxinran
|
||||||
|
* @date 2021/6/8
|
||||||
|
* @discribe
|
||||||
|
*/
|
||||||
|
@RestController
|
||||||
|
public class MHTZFGnRechargeController extends MHTGnWebRechargeController {
|
||||||
|
|
||||||
|
@RequestMapping(value = "/Web/MHTZFCallback")
|
||||||
|
public String MHTGnCallback(HttpServletRequest request) throws Exception {
|
||||||
|
return process(request,"f225820f22e100e7a3cf6447d3594211");
|
||||||
|
}
|
||||||
|
|
||||||
|
@RequestMapping(value = "/Web/MHTZFIosCallback")
|
||||||
|
public String MHTGnIosCallback(HttpServletRequest request) throws Exception {
|
||||||
|
return process(request,"bdbda1c460fb2273f061d9123ee39dae");
|
||||||
|
}
|
||||||
|
|
||||||
|
@RequestMapping(value = "/Web/MHTZFTestCallback")
|
||||||
|
public String MHTGnTestCallback(HttpServletRequest request) throws Exception {
|
||||||
|
return process(request,"1718bdd93fc5f6ea8b622e2b237040c3");
|
||||||
|
}
|
||||||
|
|
||||||
|
}
|
Loading…
Reference in New Issue