package com.zkjc.common.mvp.model.api.service;

import com.zkjc.common.mvp.BaseResponse;
import com.zkjc.common.mvp.model.entity.LoginEntity;

import java.util.Map;

import io.reactivex.Observable;
import retrofit2.http.FieldMap;
import retrofit2.http.FormUrlEncoded;
import retrofit2.http.POST;

public interface ApiService {

    @FormUrlEncoded
    @POST("/cloud/admin/login/token")
    Observable<BaseResponse<LoginEntity>> login(@FieldMap Map<String,String> map);
}
