package com.zhangmeng.gateway.feign;

import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestParam;

import java.util.Map;

@FeignClient(SysConstant.mystyle_cloud_oauth)
public interface TokenFeign {

    @GetMapping("/user/oauth/parseToken")
    public Map<String,Object> parseToken(@RequestParam(value = "token", defaultValue = "forezp",required = false) String token);

}
