线索进度
This commit is contained in:
@@ -132,4 +132,14 @@ public class LineInfoController {
|
||||
}
|
||||
|
||||
|
||||
@ApiOperation("线索流程进度")
|
||||
@GetMapping("/getIntendProcess")
|
||||
@ApiImplicitParams({
|
||||
@ApiImplicitParam(name = "lineId", value = "线索id", required = true)
|
||||
})
|
||||
public ResponseResult<IntendProcessTotalVO> getIntendProcessTotal(@RequestParam("lineId")Long lineId) {
|
||||
return ResponseResult.success(lineService.getIntendProcessTotal(lineId));
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
|
||||
@@ -0,0 +1,35 @@
|
||||
package com.cool.store.controller.webb;
|
||||
|
||||
import com.cool.store.dto.partner.UserChannelDTO;
|
||||
import com.cool.store.response.ResponseResult;
|
||||
import com.cool.store.service.HyPartnerUserChannelService;
|
||||
import io.swagger.annotations.Api;
|
||||
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.RestController;
|
||||
|
||||
import javax.annotation.Resource;
|
||||
import java.util.List;
|
||||
|
||||
/**
|
||||
* @Author suzhuhong
|
||||
* @Date 2023/8/10 11:17
|
||||
* @Version 1.0
|
||||
*/
|
||||
@RestController
|
||||
@RequestMapping("/pc/")
|
||||
@Api(tags = "线索来源")
|
||||
@Slf4j
|
||||
public class UserChannelController {
|
||||
|
||||
@Resource
|
||||
HyPartnerUserChannelService hyPartnerUserChannelService;
|
||||
|
||||
@GetMapping(path = "/queryAllUserChannelList")
|
||||
@ApiOperation("线索来源列表")
|
||||
public ResponseResult<List<UserChannelDTO>> queryAllUserChannelList(){
|
||||
return ResponseResult.success(hyPartnerUserChannelService.queryAllUserChannelList());
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user