package com.yeejoin.amos.boot.module.jg.biz.feign;


import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.yeejoin.amos.boot.biz.common.feign.FeignConfiguration;
import com.yeejoin.amos.boot.module.ymt.api.dto.TzBaseEnterpriseInfoDto;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;
import org.springframework.web.bind.annotation.RequestParam;
import org.typroject.tyboot.core.restful.utils.ResponseModel;

@FeignClient(name = "TZS-JCZS", path = "/jczs", configuration = {FeignConfiguration.class})
public interface JczsServiceFeignClient {

    /**
     * 企业信息列表分页查询
     */
    @RequestMapping(value = "/baseEnterprise/page", method = RequestMethod.GET)
    ResponseModel<Page<TzBaseEnterpriseInfoDto>> page(@RequestParam("page") int page,
                                                      @RequestParam("size") int size,
                                                      @RequestParam("keyword") String keyword,
                                                      @RequestBody TzBaseEnterpriseInfoDto dto);

}
