package com.fjs.scenic.controller.system;

import com.fjs.scenic.controller.common.BaseController;
import com.fjs.scenic.entity.user.StatisticalPermissions;
import com.fjs.scenic.service.user.StatisticalPermissionsService;
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;
import org.springframework.web.servlet.ModelAndView;

import javax.servlet.http.HttpSession;

/**
 * This class is used for ...
 *
 * @author lfj
 * @version 1.0
 * @CreateDate ${date} ${time}
 */
@RestController
@RequestMapping("/statisticalPermissions")
public class StatisticalPermissionsController extends BaseController<StatisticalPermissions> {

    @Autowired
    private StatisticalPermissionsService statisticalPermissionsService;

    @GetMapping("/index")
    public ModelAndView sceniclist(HttpSession session) {
        return new ModelAndView("/system/statisticalPermissions");
    }

}
