package ink.wgink.login.oauth2.client.remote.appsign;

import ink.wgink.annotation.rpc.rest.RemoteService;
import ink.wgink.annotation.rpc.rest.method.RemoteGetMethod;
import ink.wgink.annotation.rpc.rest.params.RemotePathParams;
import ink.wgink.annotation.rpc.rest.params.RemoteQueryParams;
import ink.wgink.annotation.rpc.rest.params.RemoteServerParams;
import ink.wgink.pojo.result.SuccessResultData;

/**
 * @ClassName: IAppSignRemoteService
 * @Description: app远程登录
 * @Author: wanggeng
 * @Date: 2021/9/22 10:45 下午
 * @Version: 1.0
 */
@RemoteService("/resource/appsign")
public interface IAppSignRemoteService {

    @RemoteGetMethod("/get-token/user-id/{userId}")
    SuccessResultData<String> getTokenByUserId(@RemoteServerParams String userCenter, @RemoteQueryParams("access_token") String accessToken, @RemotePathParams("userId") String userId);

}
