新增线索
This commit is contained in:
@@ -15,7 +15,6 @@ import io.swagger.annotations.ApiImplicitParam;
|
||||
import io.swagger.annotations.ApiImplicitParams;
|
||||
import io.swagger.annotations.ApiOperation;
|
||||
import lombok.extern.slf4j.Slf4j;
|
||||
import org.springframework.stereotype.Service;
|
||||
import org.springframework.web.bind.annotation.*;
|
||||
|
||||
import javax.annotation.Resource;
|
||||
@@ -124,7 +123,6 @@ public class LineInfoController {
|
||||
return ResponseResult.success(linePayService.getLinePayInfo(lineId));
|
||||
}
|
||||
|
||||
|
||||
@ApiOperation("线索流程进度")
|
||||
@GetMapping("/getIntendProcess")
|
||||
@ApiImplicitParams({
|
||||
@@ -134,5 +132,10 @@ public class LineInfoController {
|
||||
return ResponseResult.success(lineService.getIntendProcessTotal(lineId));
|
||||
}
|
||||
|
||||
@ApiOperation("新建线索")
|
||||
@PostMapping("/addLine")
|
||||
public ResponseResult<Boolean> addLine(@RequestBody AddLineRequest addLineRequest) {
|
||||
return ResponseResult.success(lineService.addLine(addLineRequest));
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user