package com.ym.mec.auth.api.client;

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

import com.ym.mec.auth.api.client.fallback.AuthTaskFeignServiceFallback;
import com.ym.mec.common.config.FeignConfiguration;

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

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