修改逻辑

This commit is contained in:
java_cuibaocheng@163.com 2024-03-19 10:24:04 +08:00
parent 04208acf61
commit 92f431caa8
2 changed files with 16 additions and 0 deletions

View File

@ -165,6 +165,12 @@
<artifactId>wechatpay-java</artifactId>
<version>0.2.11</version>
</dependency>
<!--阿里支付-->
<dependency>
<groupId>com.alipay.sdk</groupId>
<artifactId>alipay-sdk-java</artifactId>
<version>4.39.2.ALL</version>
</dependency>
<!-- session share start -->
<dependency>
<groupId>org.springframework.session</groupId>

View File

@ -56,6 +56,16 @@ public class AccountController extends DefaultBaseController {
@Autowired
private cn.com.tenlion.operator.util.socket.MessageWebSocketServer MessageWebSocketServer;
@ApiOperation(value = "支付宝支付成功后回调", notes = "支付宝支付成功后回调")
@ApiResponses({@ApiResponse(code = 400, message = "请求失败", response = ErrorResult.class)})
@PostMapping("pay-zfb")
public synchronized Object payZfb() {
JSONObject json = new JSONObject();
json.put("code", "SUCCESS");
json.put("message", null);
return json;
}
@ApiOperation(value = "微信支付成功后回调", notes = "支付成功后回调接口")
@ApiResponses({@ApiResponse(code = 400, message = "请求失败", response = ErrorResult.class)})
@PostMapping("pay/{rechargeId}")