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


import android.database.Observable;

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

import retrofit2.http.Field;
import retrofit2.http.FormUrlEncoded;
import retrofit2.http.POST;

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

    @FormUrlEncoded
    @POST("ricepon-cloud-gsa/api/gsa/login")
    Observable<TestLoginBean> login(@Field("args") String args, @Field("time") String time, @Field("sign") String sign);

    @FormUrlEncoded
    @POST("ricepon-cloud-gsa/api/gsa/logout")
    Observable<TestLoginBean> loginOut(@Field("args") String args, @Field("time") String time, @Field("sign") String sign);
}
