소스 검색

fix alipay

release_toaliyun_real
xiaohanzi 5 년 전
부모
커밋
50b6e739c5
1개의 변경된 파일2개의 추가작업 그리고 1개의 파일을 삭제
  1. +2
    -1
      mallinkCallback/src/main/java/com/iformall/controller/callback/AliPayController.java

+ 2
- 1
mallinkCallback/src/main/java/com/iformall/controller/callback/AliPayController.java 파일 보기

@@ -17,6 +17,7 @@ import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestAttribute; import org.springframework.web.bind.annotation.RequestAttribute;
import org.springframework.web.bind.annotation.RequestBody; import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping; import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestParam;
import org.springframework.web.bind.annotation.ResponseBody; import org.springframework.web.bind.annotation.ResponseBody;
import org.springframework.web.bind.annotation.RestController; import org.springframework.web.bind.annotation.RestController;
import javax.servlet.http.HttpServletRequest; import javax.servlet.http.HttpServletRequest;
@@ -188,7 +189,7 @@ public class AliPayController extends BaseController {
* @throws Exception 可能产生的任何异常 * @throws Exception 可能产生的任何异常
*/ */
@RequestMapping(value = "/notify") @RequestMapping(value = "/notify")
public void __Notify(@RequestAttribute Map<String, Object> paramMap) throws Exception {
public void __Notify(@RequestParam Map<String, Object> paramMap) throws Exception {
logger.info(">>>>>>>>alipay callback"+paramMap); logger.info(">>>>>>>>alipay callback"+paramMap);
String msgMethod = (String) paramMap.get("msg_method"); String msgMethod = (String) paramMap.get("msg_method");
if (StringUtils.isBlank(msgMethod)) { if (StringUtils.isBlank(msgMethod)) {


불러오는 중...
취소
저장