添加通知链接做备注

This commit is contained in:
liuchengqian 2025-04-21 08:52:45 +08:00
parent 52957a38be
commit 34ebb46e08
4 changed files with 16 additions and 1 deletions

View File

@ -319,6 +319,7 @@ public class SybPayController {
entity.setCreateTime(dateFormat.format(new Date(currentTimeMillis))); entity.setCreateTime(dateFormat.format(new Date(currentTimeMillis)));
entity.setBody(body); entity.setBody(body);
entity.setQrCodePath(path); entity.setQrCodePath(path);
entity.setNotifyUrl(payNotifyUrl);
unitOrderPayDao.saveAndFlush(entity); unitOrderPayDao.saveAndFlush(entity);
return outputEncapsulationObject(PromptMessageEnum.SUCCESS, entity, locale); return outputEncapsulationObject(PromptMessageEnum.SUCCESS, entity, locale);
} }

View File

@ -48,6 +48,11 @@ public class UnitOrderPayEntity implements Serializable {
*/ */
private String qrCodePath; private String qrCodePath;
/**
* 支付通知
*/
private String notifyUrl;
private String cusid; private String cusid;
private String appid; private String appid;
private String trxid; private String trxid;
@ -119,6 +124,14 @@ public class UnitOrderPayEntity implements Serializable {
this.qrCodePath = qrCodePath; this.qrCodePath = qrCodePath;
} }
public String getNotifyUrl() {
return notifyUrl;
}
public void setNotifyUrl(String notifyUrl) {
this.notifyUrl = notifyUrl;
}
public String getCusid() { public String getCusid() {
return cusid; return cusid;
} }

View File

@ -36,6 +36,7 @@ class WebSecurityConfig extends WebSecurityConfigurerAdapter {
.antMatchers("/global/configuration/**").permitAll() .antMatchers("/global/configuration/**").permitAll()
.antMatchers("/websocket/**").permitAll()//支付结果通知前端 .antMatchers("/websocket/**").permitAll()//支付结果通知前端
.antMatchers("/push/**").permitAll() .antMatchers("/push/**").permitAll()
.antMatchers("/pay/**").permitAll()
.antMatchers("/debug").permitAll() .antMatchers("/debug").permitAll()
.antMatchers("/queryFirePoint").permitAll() .antMatchers("/queryFirePoint").permitAll()
.antMatchers("/queryNotice").permitAll()//查询通知 .antMatchers("/queryNotice").permitAll()//查询通知

View File

@ -89,4 +89,4 @@ pay.notifyUrl = http://8.142.26.238:7801/pay/notify
#qrCode.accessDirPath = qrCode #qrCode.accessDirPath = qrCode
#invoice.saveDirPath = C:\\Users\\ADMIN\\Desktop\\invoice #invoice.saveDirPath = C:\\Users\\ADMIN\\Desktop\\invoice
#invoice.accessDirPath = invoice #invoice.accessDirPath = invoice
#pay.notifyUrl = http://localhost:7801/pay/notify #pay.notifyUrl = http://8.142.26.238:7801/pay/notify