|
|
@@ -2,6 +2,7 @@ package com.storlead.centre.app;
|
|
|
|
|
|
import cn.hutool.core.util.StrUtil;
|
|
|
import com.baomidou.mybatisplus.core.conditions.query.LambdaQueryWrapper;
|
|
|
+import com.baomidou.mybatisplus.core.conditions.update.LambdaUpdateWrapper;
|
|
|
import com.baomidou.mybatisplus.core.metadata.IPage;
|
|
|
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
|
|
|
import com.storlead.centre.entity.SysAppPageInfoEntity;
|
|
|
@@ -58,6 +59,20 @@ public class AppManageApiController {
|
|
|
return Result.ok();
|
|
|
}
|
|
|
|
|
|
+ @PostMapping(value = "/editeIcon")
|
|
|
+ @ApiOperation(value = "编辑图标", notes = "编辑图标")
|
|
|
+ @Transactional(rollbackFor = Throwable.class)
|
|
|
+ public Result<?> editeIcon(Long id,String iconName) {
|
|
|
+
|
|
|
+ LambdaUpdateWrapper<SysAppPageInfoEntity> update = new LambdaUpdateWrapper<>();
|
|
|
+ update.set(SysAppPageInfoEntity::getPageIcon,iconName);
|
|
|
+ update.eq(SysAppPageInfoEntity::getId,id);
|
|
|
+ sysAppPageInfoService.update(update);
|
|
|
+
|
|
|
+ return Result.ok();
|
|
|
+ }
|
|
|
+
|
|
|
+
|
|
|
@PostMapping(value = "/pagelist")
|
|
|
@ApiOperation(value = "应用管理-分页查询", notes = "应用管理-分页查询")
|
|
|
@Transactional(rollbackFor = Throwable.class)
|