package com.sqx.modules.bl.collect.app;

import com.sqx.common.utils.Result;
import com.sqx.modules.bl.collect.entity.CollectMassage;
import com.sqx.modules.bl.collect.service.CollectMassageService;
import io.swagger.annotations.Api;
import io.swagger.annotations.ApiOperation;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

@RestController
@RequestMapping("/app/collect/massage")
@Api(value = "收藏浏览项目服务", tags = {"收藏浏览项目服务"})
public class AppCollectMassageController {

    @Autowired
    private CollectMassageService service;

//    @Login
    @GetMapping("/findPage")
    @ApiOperation("查询收藏浏览（分页）")
    public Result findPage(CollectMassage collectMassage){
        return service.findPage(collectMassage);
    }

}
