| | |
| | | |
| | | import java.util.List; |
| | | import javax.servlet.http.HttpServletResponse; |
| | | |
| | | import com.ruoyi.common.annotation.AddOrgId; |
| | | import org.springframework.security.access.prepost.PreAuthorize; |
| | | import org.springframework.beans.factory.annotation.Autowired; |
| | | import org.springframework.web.bind.annotation.GetMapping; |
| | |
| | | * 查询AI外呼流程节点列表 |
| | | */ |
| | | //@PreAuthorize("@ss.hasPermi('smartor:ivrflownode:list')") |
| | | @PostMapping("/list") |
| | | @AddOrgId(field = "orgid", paramIndex = 0, campusField = "campusid") |
| | | @PostMapping("list") |
| | | public TableDataInfo list(@RequestBody IvrSceneFlownode ivrSceneFlownode) |
| | | { |
| | | startPage(); |
| | |
| | | */ |
| | | //@PreAuthorize("@ss.hasPermi('smartor:ivrflownode:add')") |
| | | @Log(title = "AI外呼流程节点", businessType = BusinessType.INSERT) |
| | | @PostMapping("/add") |
| | | @AddOrgId(field = "orgid", paramIndex = 0, campusField = "campusid") |
| | | @PostMapping("/add") |
| | | public AjaxResult add(@RequestBody IvrSceneFlownode ivrSceneFlownode) |
| | | { |
| | | return toAjax(ivrSceneFlownodeService.insertIvrSceneFlownode(ivrSceneFlownode)); |
| | |
| | | */ |
| | | //@PreAuthorize("@ss.hasPermi('smartor:ivrflownode:edit')") |
| | | @Log(title = "AI外呼流程节点", businessType = BusinessType.UPDATE) |
| | | @PostMapping("/edit") |
| | | @AddOrgId(field = "orgid", paramIndex = 0, campusField = "campusid") |
| | | @PostMapping("/edit") |
| | | public AjaxResult edit(@RequestBody IvrSceneFlownode ivrSceneFlownode) |
| | | { |
| | | return toAjax(ivrSceneFlownodeService.updateIvrSceneFlownode(ivrSceneFlownode)); |