| | |
| | | |
| | | |
| | | import com.xinquan.common.core.domain.R; |
| | | import com.xinquan.common.log.annotation.Log; |
| | | import com.xinquan.common.log.enums.BusinessType; |
| | | import com.xinquan.system.domain.Page; |
| | | import com.xinquan.system.domain.Turn; |
| | | import com.xinquan.system.service.PageService; |
| | |
| | | } |
| | | @GetMapping("/saveOrUpdate") |
| | | @ApiOperation(value = "保存/修改启动页",tags = "管理后台-启动页") |
| | | @Log(title = "【启动页】修改", businessType = BusinessType.UPDATE) |
| | | |
| | | public R saveOrUpdate(String img) { |
| | | Page one = pageService.lambdaQuery().eq(Page::getType,1).one(); |
| | | if(one == null){ |
| | |
| | | } |
| | | @GetMapping("/saveOrUpdatePlan") |
| | | @ApiOperation(value = "保存/修改计划引导设置",tags = "计划引导设置") |
| | | @Log(title = "【计划引导设置】修改", businessType = BusinessType.UPDATE) |
| | | |
| | | public R saveOrUpdatePlan(String img) { |
| | | Page one = pageService.lambdaQuery().eq(Page::getType,2).one(); |
| | | if(one == null){ |