package com.gingersoft.gsa.cloud.user.login.mvp.server;


import com.gingersoft.gsa.cloud.user.login.mvp.bean.TestLoginBean;

import io.reactivex.Observable;
import me.jessyan.retrofiturlmanager.RetrofitUrlManager;
import retrofit2.http.Field;
import retrofit2.http.FormUrlEncoded;
import retrofit2.http.POST;

/**
 * Created by Wyh on 2019/12/20.
 */
public interface LoginService {

    @FormUrlEncoded
    @POST("gsa/login" + RetrofitUrlManager.IDENTIFICATION_PATH_SIZE + 2)
    Observable<TestLoginBean> login(@Field("args") String args);

    @FormUrlEncoded
    @POST("gsa/logout" + RetrofitUrlManager.IDENTIFICATION_PATH_SIZE + 2)
    Observable<TestLoginBean> loginOut(@Field("args") String args);
}
