package com.ruoyi.web.controller.portal;

import java.util.List;
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 com.ruoyi.common.core.controller.BaseController;
import com.ruoyi.common.core.domain.AjaxResult;
import com.ruoyi.common.annotation.Anonymous;
import com.ruoyi.system.domain.SysAboutSts;
import com.ruoyi.system.service.ISysAboutStsService;

@RestController
@RequestMapping("/portal/aboutSts")
public class AboutStsController extends BaseController
{
    @Autowired
    private ISysAboutStsService sysAboutStsService;

    @Anonymous
    @GetMapping
    public AjaxResult getInfo()
    {
        List<SysAboutSts> list = sysAboutStsService.selectSysAboutStsList();
        return success(list);
    }
}
