物料后端和大屏接口
This commit is contained in:
parent
4c76be44ab
commit
567f0cea59
|
|
@ -35,7 +35,7 @@ public class MaterialController extends BaseController {
|
||||||
/**
|
/**
|
||||||
* 查询宣传物料信息列表
|
* 查询宣传物料信息列表
|
||||||
*/
|
*/
|
||||||
// @PreAuthorize("@ss.hasPermi('system:material:list')")
|
@PreAuthorize("@ss.hasPermi('system:material:list')")
|
||||||
@GetMapping("/list")
|
@GetMapping("/list")
|
||||||
public TableDataInfo list(TbPromotionMaterial tbPromotionMaterial) {
|
public TableDataInfo list(TbPromotionMaterial tbPromotionMaterial) {
|
||||||
try {
|
try {
|
||||||
|
|
@ -52,7 +52,7 @@ public class MaterialController extends BaseController {
|
||||||
/**
|
/**
|
||||||
* 获取宣传物料信息详细信息
|
* 获取宣传物料信息详细信息
|
||||||
*/
|
*/
|
||||||
// @PreAuthorize("@ss.hasPermi('system:material:query')")
|
@PreAuthorize("@ss.hasPermi('system:material:query')")
|
||||||
@GetMapping(value = "/{id}")
|
@GetMapping(value = "/{id}")
|
||||||
public AjaxResult getInfo(@PathVariable("id") Long id) {
|
public AjaxResult getInfo(@PathVariable("id") Long id) {
|
||||||
try {
|
try {
|
||||||
|
|
@ -66,7 +66,7 @@ public class MaterialController extends BaseController {
|
||||||
/**
|
/**
|
||||||
* 新增宣传物料信息
|
* 新增宣传物料信息
|
||||||
*/
|
*/
|
||||||
// @PreAuthorize("@ss.hasPermi('system:material:add')")
|
@PreAuthorize("@ss.hasPermi('system:material:add')")
|
||||||
@Log(title = "新增宣传物料信息", businessType = BusinessType.INSERT)
|
@Log(title = "新增宣传物料信息", businessType = BusinessType.INSERT)
|
||||||
@PostMapping
|
@PostMapping
|
||||||
public AjaxResult add(@RequestParam(value = "files") MultipartFile[] files,@RequestParam(value = "fileMsg") String fileMsg, @RequestParam(value = "params")String params) {
|
public AjaxResult add(@RequestParam(value = "files") MultipartFile[] files,@RequestParam(value = "fileMsg") String fileMsg, @RequestParam(value = "params")String params) {
|
||||||
|
|
@ -92,7 +92,7 @@ public class MaterialController extends BaseController {
|
||||||
/**
|
/**
|
||||||
* 修改宣传物料信息
|
* 修改宣传物料信息
|
||||||
*/
|
*/
|
||||||
// @PreAuthorize("@ss.hasPermi('system:material:edit')")
|
@PreAuthorize("@ss.hasPermi('system:material:edit')")
|
||||||
@Log(title = "修改宣传物料信息", businessType = BusinessType.UPDATE)
|
@Log(title = "修改宣传物料信息", businessType = BusinessType.UPDATE)
|
||||||
@PostMapping("/edit")
|
@PostMapping("/edit")
|
||||||
public AjaxResult edit(@RequestParam(value = "files",required = false) MultipartFile[] files,@RequestParam(value = "fileMsg",required = false) String fileMsg, @RequestParam(value = "params")String params) {
|
public AjaxResult edit(@RequestParam(value = "files",required = false) MultipartFile[] files,@RequestParam(value = "fileMsg",required = false) String fileMsg, @RequestParam(value = "params")String params) {
|
||||||
|
|
@ -121,7 +121,7 @@ public class MaterialController extends BaseController {
|
||||||
/**
|
/**
|
||||||
* 删除宣传物料信息
|
* 删除宣传物料信息
|
||||||
*/
|
*/
|
||||||
// @PreAuthorize("@ss.hasPermi('system:material:remove')")
|
@PreAuthorize("@ss.hasPermi('system:material:remove')")
|
||||||
@Log(title = "宣传物料信息", businessType = BusinessType.DELETE)
|
@Log(title = "宣传物料信息", businessType = BusinessType.DELETE)
|
||||||
@PostMapping("/{id}")
|
@PostMapping("/{id}")
|
||||||
public AjaxResult remove(@PathVariable Long id) {
|
public AjaxResult remove(@PathVariable Long id) {
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue