diff --git a/coolstore-partner-web/src/main/java/com/cool/store/controller/webb/LinePayController.java b/coolstore-partner-web/src/main/java/com/cool/store/controller/webb/LinePayController.java new file mode 100644 index 000000000..6ec68784b --- /dev/null +++ b/coolstore-partner-web/src/main/java/com/cool/store/controller/webb/LinePayController.java @@ -0,0 +1,41 @@ +package com.cool.store.controller.webb; + +import com.cool.store.response.ResponseResult; +import com.cool.store.service.LinePayService; +import com.cool.store.vo.LinePayVO; +import io.swagger.annotations.Api; +import io.swagger.annotations.ApiImplicitParam; +import io.swagger.annotations.ApiImplicitParams; +import io.swagger.annotations.ApiOperation; +import lombok.extern.slf4j.Slf4j; +import org.springframework.web.bind.annotation.GetMapping; +import org.springframework.web.bind.annotation.RequestMapping; +import org.springframework.web.bind.annotation.RequestParam; +import org.springframework.web.bind.annotation.RestController; + +import javax.annotation.Resource; + +/** + * @Author wxp + * @Date 2024/3/25 13:43 + * @Version 1.0 + */ +@RestController +@RequestMapping("/pc/linePay") +@Api(tags = "缴纳意向金") +@Slf4j +public class LinePayController { + + @Resource + private LinePayService linePayService; + + @ApiOperation("查询意向金详情") + @GetMapping("/getLinePayInfo") + @ApiImplicitParams({ + @ApiImplicitParam(name = "lineId", value = "线索id", required = true) + }) + public ResponseResult getLinePayInfo(@RequestParam("lineId")Long lineId) { + return ResponseResult.success(linePayService.getLinePayInfo(lineId)); + } + +}