修改逻辑
This commit is contained in:
parent
04208acf61
commit
92f431caa8
6
pom.xml
6
pom.xml
@ -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>
|
||||
|
@ -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}")
|
||||
|
Loading…
Reference in New Issue
Block a user