|
@@ -34,7 +34,7 @@ public class HuifuPayController {
|
|
|
public String asyncMessage(@RequestParam String resp_desc,@RequestParam String resp_code,@RequestParam String sign,@RequestParam String resp_data) {
|
|
|
HuiFuResult huiFuResult = JSON.parseObject(resp_data, HuiFuResult.class);
|
|
|
logger.info("汇付支付回调:"+huiFuResult);
|
|
|
- if(huiFuResult.getResp_code().equals("00000000")){
|
|
|
+ if(huiFuResult.getResp_code().equals("00000000") && huiFuResult.getNotify_type().equals("1")){
|
|
|
String[] orderId=huiFuResult.getReq_seq_id().split("-");
|
|
|
switch (orderId[0]){
|
|
|
case "inquiry":
|