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

import com.yeejoin.amos.boot.biz.common.feign.MultipartSupportConfig;
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.typroject.tyboot.core.restful.utils.ResponseModel;

@FeignClient(name = "UGP", 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);

}
