Air
2024-11-04 a1f06d31b7b4cac569c34bdfbb68de77f2858ffe
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
package com.nova.sankuai.controller.v2.callback;
 
import com.nova.sankuai.service.IBaofuService;
import io.swagger.annotations.Api;
import io.swagger.annotations.ApiOperation;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;
 
import javax.servlet.http.HttpServletRequest;
 
@RestController
@RequestMapping("/api/v2/callback/bf")
@Api(tags = "宝付回调接口")
public class BaofuCallbackController {
 
    @Autowired
    private IBaofuService baofuService;
 
    @PostMapping("/pushAuditCallback")
    @ApiOperation("宝付回调结果接口")
    public String pushAuditResult(HttpServletRequest request) {
        return baofuService.callBack(request);
    }
 
}