|
|
@@ -116,4 +116,13 @@ public class BannerController extends BaseController {
|
|
|
public AjaxResult remove(String ids) {
|
|
|
return toAjax(bannerService.deleteBannerByBannerIds(ids));
|
|
|
}
|
|
|
+
|
|
|
+ @RequiresPermissions("business:banner:edit")
|
|
|
+ @Log(title = "文创品牌拖动排序", businessType = BusinessType.UPDATE)
|
|
|
+ @PostMapping("/sorted")
|
|
|
+ @ResponseBody
|
|
|
+ public AjaxResult saveSorted(Banner banner) {
|
|
|
+ return toAjax(bannerService.dragSorted(banner));
|
|
|
+ }
|
|
|
+
|
|
|
}
|