package org.qinan.safetyeval.infrastructure.adapter.gbs;

import com.alibaba.cola.dto.SingleResponse;
import com.jjb.saas.system.client.user.request.UserAddCmd;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;

/**
 * 暂时 本地开发未使用因为 和 开发的GBS 网络不通
 */
@FeignClient(name = "jjb-saas-system")
public interface GbsUserFacadeFeignClient {

    @PostMapping(value = "/system/operation/users", consumes = "application/json")
    SingleResponse<Long> addUser(@RequestBody UserAddCmd cmd);

}
