lidongdong
2022-10-08 aee08c8092d2bbabdcc4485acf12a5cef2877242
flower_city/src/main/java/com/dg/core/controller/ReplyTemplateController.java
@@ -31,6 +31,7 @@
     */
    @ApiOperation("获取模板列表")
    @GetMapping("/getlist")
    @Authorization
    public TableDataInfo selectConfigList(@RequestParam(value = "pageNum",required = false) Integer pageNum,
                                          @RequestParam(value = "pageSize",required = false) Integer pageSize,
                                          @RequestParam(value = "Name",required = false) String Name)
@@ -48,6 +49,7 @@
     */
    @ApiOperation("获取详情")
    @GetMapping("/getdata")
    @Authorization
    public ResultData selectConfigData(@RequestParam(value = "Id",required = false) String Id)
    {
        if(StringUtils.isEmpty(Id))
@@ -91,6 +93,7 @@
     */
    @ApiOperation("更新模板")
    @PostMapping("/update")
    @Authorization
    public ResultData updateConfig(@RequestBody ReplyTemplateEntity entity)
    {
        if(entity==null)
@@ -112,6 +115,7 @@
     */
    @ApiOperation("删除模板")
    @DeleteMapping("/delete")
    @Authorization
    public ResultData deleteConfigById(@RequestParam(value = "Id",required = false) String Id)
    {
        return toAjax(iReplyTemplateService.deleteConfigById(Id));
@@ -125,6 +129,7 @@
     */
    @ApiOperation("复制模板")
    @PostMapping("/copy")
    @Authorization
    public ResultData copy(@RequestParam(value = "Id",required = false) String Id)
    {
        if(StringUtils.isEmpty(Id))