|
|
|
@@ -17,6 +17,7 @@ import org.springframework.web.bind.annotation.PostMapping; |
|
|
|
import org.springframework.web.bind.annotation.RequestAttribute; |
|
|
|
import org.springframework.web.bind.annotation.RequestBody; |
|
|
|
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.RestController; |
|
|
|
import javax.servlet.http.HttpServletRequest; |
|
|
|
@@ -188,7 +189,7 @@ public class AliPayController extends BaseController { |
|
|
|
* @throws Exception 可能产生的任何异常 |
|
|
|
*/ |
|
|
|
@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); |
|
|
|
String msgMethod = (String) paramMap.get("msg_method"); |
|
|
|
if (StringUtils.isBlank(msgMethod)) { |
|
|
|
|