猕猴桃专服支付修改

master
lvxinran 2021-06-08 15:55:26 +08:00
parent a1386d9336
commit 44c5fa596a
2 changed files with 33 additions and 2 deletions

View File

@ -39,7 +39,7 @@ public class MHTGnWebRechargeController {
@RequestMapping(value = "/Web/MHTGnCallback")
public String MHTGnCallback(HttpServletRequest request) throws Exception {
return process(request,"bdbda1c460fb2273f061d9123ee39dae");
return process(request,"f225820f22e100e7a3cf6447d3594211");
}
@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);
if (parameterMap.isEmpty()) {
LOGGER.info("data is null");

View File

@ -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");
}
}