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

import com.sqx.common.utils.Result;
import com.sqx.modules.bl.order.entity.UserPackage;
import com.sqx.modules.bl.order.service.UserPackageService;
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("/user/package")
@Api(value = "用户服务包管理", tags = {"用户服务包"})
public class UserPackageController {

    @Autowired
    private UserPackageService service;

    @GetMapping("/findList")
    @ApiOperation("查询服务包")
    public Result findList(UserPackage userPackage){
        return service.findList(userPackage);
    }

}
