查询意向金详情
This commit is contained in:
@@ -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<LinePayVO> getLinePayInfo(@RequestParam("lineId")Long lineId) {
|
||||||
|
return ResponseResult.success(linePayService.getLinePayInfo(lineId));
|
||||||
|
}
|
||||||
|
|
||||||
|
}
|
||||||
Reference in New Issue
Block a user