转账到零钱参数完善
This commit is contained in:
@@ -72,6 +72,23 @@ public class NotifyController {
|
||||
return SUCCESS;
|
||||
}
|
||||
|
||||
|
||||
@RequestMapping("/native/wx/transfer")
|
||||
public String nativeTransferNotify(HttpServletRequest request) throws IOException {
|
||||
log.info("接收到微信转账回调");
|
||||
JSONObject jsonObject = wxService.verifySignature(request);
|
||||
log.info("参数信息: {}", jsonObject.toJSONString());
|
||||
String outBillNo = jsonObject.getString("out_bill_no");
|
||||
String state = jsonObject.getString("state");
|
||||
try {
|
||||
distributionUserService.withdrawNotify(outBillNo, state);
|
||||
}catch (Exception e) {
|
||||
log.warn("转账回调失败", e);
|
||||
}
|
||||
return "SUCCESS";
|
||||
}
|
||||
|
||||
|
||||
@RequestMapping("/native/wx/pay/distributionRecharge")
|
||||
public String nativeNotify(HttpServletRequest request) throws IOException {
|
||||
String timestamp = request.getHeader("Wechatpay-Timestamp");
|
||||
|
||||
Reference in New Issue
Block a user