package cn.estsh.i3plus.ext.mes.icloud.sdk;

import cn.estsh.i3plus.ext.mes.icloud.sdkfallback.CoreSysUserExtFallbackFactory;
import cn.estsh.i3plus.pojo.base.bean.BaseResultBean;
import io.swagger.annotations.ApiOperation;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestParam;


/**
 * @Description : 获取平台用户信息ext
 * @Reference :
 * @Author : jiaqi.hou
 * @CreateDate : 2023-08-24 16:50
 * @Modify:
 **/
@FeignClient(
        name = "i3core",
        path = "/impp/white",
        fallbackFactory = CoreSysUserExtFallbackFactory.class
)
public interface ICoreSysUserExtCloud {
    @GetMapping({"/query-user-in-org"})
    @ApiOperation(
            value = "根据orgCode查询系统用户",
            notes = "根据orgCode查询系统用户"
    )
    BaseResultBean queryUserInOrg(@RequestParam("organizeCode") String organizeCode);
}
