package com.yonge.cooleshow.auth.api.client;

import com.yonge.toolset.feign.config.FeignConfiguration;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;

import com.yonge.cooleshow.auth.api.client.fallback.AuthTaskFeignServiceFallback;

@FeignClient(contextId = "authTaskFeignService", name = "auth-server", configuration = { FeignConfiguration.class }, fallback = AuthTaskFeignServiceFallback.class)
public interface AuthTaskFeignService {

	/**
	 * 用户自动解锁
	 * @return
	 */
	@GetMapping(value = "task/autoUnlock")
	public boolean autoUnlock();
}
