package com.yeejoin.amos.boot.module.tzs.flc.api.feign;

import com.alibaba.fastjson.JSONObject;
import com.yeejoin.amos.boot.biz.common.feign.MultipartSupportConfig;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.http.MediaType;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;
import org.typroject.tyboot.core.restful.utils.ResponseModel;

import java.util.Map;

@FeignClient(name = "UGP-ZYB", path = "/ugp", configuration =
        {MultipartSupportConfig.class})
public interface UgpServiceFeignClient {
    /**
     * 调用ugp的接口
     * @param object 公司信息
     * @return
     */
    @RequestMapping(value = "/company/syncCompany", method = RequestMethod.POST)
    ResponseModel<Boolean> syncCompany(@RequestBody Object object);

}
