From 6f4fac3b04f45029df633e2d9c37dba150ab0a12 Mon Sep 17 00:00:00 2001 From: wangxiaopeng <807933401@qq.com> Date: Mon, 1 Apr 2024 09:39:19 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9F=A5=E8=AF=A2=E6=84=8F=E5=90=91=E9=87=91?= =?UTF-8?q?=E8=AF=A6=E6=83=85?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../controller/webb/LinePayController.java | 41 +++++++++++++++++++ 1 file changed, 41 insertions(+) create mode 100644 coolstore-partner-web/src/main/java/com/cool/store/controller/webb/LinePayController.java 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)); + } + +}