|
@@ -83,7 +83,7 @@ public class LnstMchntController extends BaseController
|
|
|
* 修改老年食堂_园区配置信息
|
|
|
*/
|
|
|
@Log(title = "老年食堂_园区配置信息", businessType = BusinessType.UPDATE)
|
|
|
- @PutMapping
|
|
|
+ @PostMapping("/edit")
|
|
|
public AjaxResult edit(@Validated @RequestBody LnstMchnt lnstMchnt)
|
|
|
{
|
|
|
return toAjax(lnstMchntService.updateLnstMchnt(lnstMchnt));
|
|
@@ -93,9 +93,9 @@ public class LnstMchntController extends BaseController
|
|
|
* 删除老年食堂_园区配置信息
|
|
|
*/
|
|
|
@Log(title = "老年食堂_园区配置信息", businessType = BusinessType.DELETE)
|
|
|
- @DeleteMapping("/{ids}")
|
|
|
- public AjaxResult remove(@PathVariable String[] ids)
|
|
|
+ @PostMapping("/remove")
|
|
|
+ public AjaxResult remove(@RequestBody LnstMchnt lnstMchnt)
|
|
|
{
|
|
|
- return toAjax(lnstMchntService.deleteLnstMchntByIds(ids));
|
|
|
+ return toAjax(lnstMchntService.deleteLnstMchntByIds(lnstMchnt.getId()));
|
|
|
}
|
|
|
}
|