package com.sifang.modules.smallprogram.GFContractController;

import com.sifang.modules.sunshine.SystemSetting.service.FormSetService;
import com.sifang.modules.sunshine.SystemSetting.utils.Result;
import com.sifang.modules.sunshine.SystemSetting.vo.GfKcFormVo;
import com.sifang.modules.sys.web.BaseExceptionController;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.ResponseBody;
import java.util.List;


@Controller
@RequestMapping(value = "${adminPath}/main/GFCommon")
public class GFCommonController extends BaseExceptionController {


    //获取广发勘测阶段，屋顶类型不同对应的勘测字段不同
    @ResponseBody
    @RequestMapping(value = "getKcFormSet")
    public Result getKcFormSet(){
        List<GfKcFormVo> list= FormSetService.getGfFormSetKc();
        return Result.success(list);
    }
}
