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

import com.sqx.common.utils.Result;
import com.sqx.modules.bl.collect.entity.CollectMassage;
import com.sqx.modules.bl.collect.service.CollectMassageService;
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("/collect/massage")
public class CollectMassageController {

    @Autowired
    private CollectMassageService service;

    @GetMapping("/findPage")
    public Result findPage(CollectMassage collectMassage){
        return service.findPage(collectMassage);
    }

}
