package com.red.circle.game.fruit.core.token;

import com.red.circle.framework.dto.ResultResponse;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestParam;

/**
 * @author pengliang on 2023/12/22
 */
@FeignClient(name = "analysisTokenDevApi", url = "http://k8s-rcdevser-appservi-e864ab0f62-1509684982.ap-southeast-1.elb.amazonaws.com")
public interface AnalysisTokenDevApi {

  @GetMapping("/analysis-token")
  ResultResponse<String> getUserId(@RequestParam("token") String token);
}
