Commit 219a5b68 by 吴迪

【新增】修改文件

parent 6b4f5b0b
......@@ -3,6 +3,8 @@ package io.office.modules.manage.controller;
import java.util.List;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import io.office.modules.app.annotation.Login;
import io.office.modules.manage.entity.PictureEntity;
import io.office.modules.manage.entity.dto.PictureParams;
import io.office.modules.manage.entity.dto.RetailPictureParams;
import io.office.modules.sys.controller.AbstractController;
......@@ -115,4 +117,16 @@ public class RetailpictureController extends AbstractController {
}
}
/**
* 信息
*/
@Login
@RequestMapping("/api/info/{pictureid}")
// @RequiresPermissions("generator:picture:info")
public R getDetail(@PathVariable("pictureid") Integer pictureid){
RetailpictureEntity picture = retailpictureService.getById(pictureid);
return R.ok().put("data", picture);
}
}
......@@ -107,6 +107,10 @@ public class RetailpictureServiceImpl extends ServiceImpl<RetailpictureDao, Reta
return page;
}
/* @Override
public Page<RetailpictureEntity> selectPictureNewList(NewsParams params, Page page) {
List<PictureEntity> list = this.newsDao.pictureTop4();
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment