|
@@ -6,8 +6,6 @@ import com.miaxis.common.config.WxpayConfig;
|
|
|
import com.miaxis.common.constant.Constants;
|
|
|
import com.miaxis.common.exception.CustomException;
|
|
|
import com.miaxis.common.utils.AesUtil;
|
|
|
-import com.miaxis.newgzpt.domain.GzptVideoVip;
|
|
|
-import com.miaxis.newgzpt.dto.GzptVideoVipDTO;
|
|
|
import com.miaxis.newgzpt.service.IGzptUserInfoService;
|
|
|
import com.miaxis.newgzpt.service.IGzptVideoVipService;
|
|
|
import com.miaxis.order.domain.OrderInfo;
|
|
@@ -82,9 +80,9 @@ public class WxNotifyController {
|
|
|
@ApiOperation("微信支付回调")
|
|
|
public WxNotifyReturnDTO wxpayNotify(@RequestBody WxpayNotifyDTO wxpayNotifyDTO, HttpServletRequest request) throws GeneralSecurityException, IOException {
|
|
|
String bodyString = getBodyString(request);
|
|
|
- if (!validate(request, bodyString)) {
|
|
|
- throw new CustomException("签名失败");
|
|
|
- }
|
|
|
+// if (!validate(request, bodyString)) {
|
|
|
+// throw new CustomException("签名失败");
|
|
|
+// }
|
|
|
String resourceString = getSourString(wxpayNotifyDTO);
|
|
|
log.info(resourceString);
|
|
|
JSONObject jsonObject = JSONObject.parseObject(resourceString);
|
|
@@ -208,7 +206,7 @@ public class WxNotifyController {
|
|
|
}
|
|
|
|
|
|
|
|
|
-
|
|
|
+
|
|
|
|
|
|
|
|
|
/**
|