查询意向金详情

This commit is contained in:
wangxiaopeng
2024-04-01 09:42:45 +08:00
parent 6f4fac3b04
commit 24a72bdaf9
2 changed files with 13 additions and 41 deletions

View File

@@ -8,10 +8,12 @@ import com.cool.store.request.ChangeInvestmentRequest;
import com.cool.store.request.LineListRequest;
import com.cool.store.request.PublicLineListRequest;
import com.cool.store.response.ResponseResult;
import com.cool.store.service.LinePayService;
import com.cool.store.service.LineService;
import com.cool.store.service.TransferLogService;
import com.cool.store.vo.LineInfoVO;
import com.cool.store.vo.LineListVO;
import com.cool.store.vo.LinePayVO;
import com.cool.store.vo.PublicLineListVO;
import com.github.pagehelper.PageInfo;
import io.swagger.annotations.Api;
@@ -39,6 +41,8 @@ public class LineInfoController {
LineService lineService;
@Resource
TransferLogService transferLogService;
@Resource
private LinePayService linePayService;
@ApiOperation("查询线索详情")
@GetMapping("/getLineDetail")
@@ -108,5 +112,14 @@ public class LineInfoController {
return ResponseResult.success(transferLogService.getTransferLogPage(pageNum,pageSize,lineId));
}
@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));
}
}

View File

@@ -1,41 +0,0 @@
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));
}
}