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); } }