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 org.springframework.cloud.openfeign.FeignClient;
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;

import java.util.Map;

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

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

}
