package com.doumee.keyCabinet.http; import com.doumee.keyCabinet.bean.AndroidVersionBean; import com.doumee.keyCabinet.bean.DevConfigBean; import com.doumee.keyCabinet.bean.FaceUserBean; import com.doumee.keyCabinet.bean.GetBillListBean; import com.doumee.keyCabinet.bean.OrderGetPriceBean; import com.doumee.keyCabinet.bean.RecyclerBraceletBean; import com.doumee.keyCabinet.http.param.BaseResponse; import com.doumee.keyCabinet.http.param.PayResponseBean; import io.reactivex.Observable; import okhttp3.RequestBody; import retrofit2.Response; import retrofit2.http.Body; import retrofit2.http.Header; import retrofit2.http.POST; public interface Apis { //String HTTP = "http://47.97.231.28:8068/zhcg-interface4/"; String HTTP = "http://192.168.0.112:8086/"; //String HTTP = "https://mytj.dmtt.run/zhcg-interface2/"; //String HTTP = "https://dmtt.doumee.com/zhcg-interface/"; //String HTTP = "https://dmtt.doumee.com/saaszhcg-interface/"; //String HTTP = "https://swimticket.sx.net.cn/zhcg-interface/"; String HEAT_HTTP = "do?c=220301"; /** * 查询版本信息 */ @POST("do?c=330115") Observable> getVersion(@Header("language") String language,@Header("Cookie") String cookie, @Header("shopId") String shopId, @Header("gymId") String gymId, @Body RequestBody requestBody); /** *设备登录 */ @POST("do?c=220300") Observable>> devLogin(@Header("isCheckShop") int isCheckShop,@Body RequestBody requestBody); /** * 心跳 */ @POST("do?c=220301") Observable> heart(@Header("language") String language,@Header("Cookie") String cookie, @Header("shopId") String shopId, @Header("gymId") String gymId,@Body RequestBody requestBody); /** * 上传报错信息 */ @POST("do?c=360313") Observable upErrInfo(@Header("language") String language,@Header("Cookie") String cookie, @Header("shopId") String shopId, @Header("gymId") String gymId, @Body RequestBody requestBody); /** * 人脸列表 */ @POST("do?c=360311") Observable> allFaceList(@Header("language") String language, @Header("Cookie") String cookie, @Header("shopId") String shopId, @Header("gymId") String gymId, @Body RequestBody requestBody); }