package com.rongwei.bscommon.sys.fegin;

import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;

import java.util.Map;

@FeignClient(value = "rw-auth-server",fallback = LoginAuthImpl.class)

public interface LoginAuth {
    @PostMapping(value = "/jwt/token")
    String getTokenInfo(@RequestBody Map<String,Object> map);
}
