package com.sptg.third.api.feigns.grid;

import com.sptg.common.core.beans.ResultBean;
import com.sptg.third.api.feigns.grid.fallback.GridAuthFeignFallbackFactory;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PostMapping;

/**
 * @author zwx
 * @create 2020/11/28 19:40
 */
@FeignClient(value = "smart-house-third", fallbackFactory = GridAuthFeignFallbackFactory.class)
public interface GridAuthFeign {

    /**
     * 网格系统授权登录
     * @param
     * @return
     */
    @PostMapping(value = "/third/grid/auth")
    public ResultBean<String> gridAuth();
}
