package com.ruoyi.web.controller.client;


import com.ruoyi.common.core.domain.AjaxResult;
import com.ruoyi.common.core.domain.entity.SearchContent;
import com.ruoyi.system.service.ISearchContentService;
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 java.util.List;

@RequestMapping("/client/search")
@RestController
public class SearchClientContentController {

    @Autowired
    private ISearchContentService searchContentService;

    /**
     * 查询【请填写功能名称】列表
     */
    @GetMapping("/list")
    public AjaxResult list(SearchContent searchContent)
    {
        List<SearchContent> list = searchContentService.selectSearchContentList(searchContent);
        return AjaxResult.success(list);
    }

}
