mitao
2025-02-21 31573d6180d15ef65ed0df9c2732495f40b12663
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
package com.panzhihua.service_community.api;
 
import javax.annotation.Resource;
 
import com.panzhihua.common.model.vos.R;
import com.panzhihua.service_community.service.ComActPictureLibraryService;
import io.swagger.annotations.ApiOperation;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestParam;
import org.springframework.web.bind.annotation.RestController;
 
import com.panzhihua.common.service.community.CommunityService;
 
import lombok.extern.slf4j.Slf4j;
 
/**
 * @title: ComActPictureLibraryApi
 * @projectName: 成都呐喊信息技术有限公司-智慧社区项目
 * @description: 公共图库
 * @author: hans
 * @date: 2021/11/23 16:54
 */
@Slf4j
@RestController
@RequestMapping("/picture/library")
public class ComActPictureLibraryApi {
 
    @Resource
    private ComActPictureLibraryService comActPictureLibraryService;
 
    @GetMapping("/get")
    @ApiOperation("获取预设图库")
    public R getPresetPictureLibrary(@RequestParam("type") Integer type, @RequestParam("subtype") Integer subtype) {
        return comActPictureLibraryService.getPresetPictureLibrary(type, subtype);
    }
}