package com.colorful.keyboard.theme.net;




import com.colorful.keyboard.theme.model.PublicBean;
import com.colorful.keyboard.theme.model.ThemeDetailsBean;
import com.colorful.keyboard.theme.model.ThemeListBean;
import com.colorful.keyboard.theme.model.ThemePhotoListBean;

import java.util.HashMap;
import java.util.List;

import retrofit2.http.GET;
import retrofit2.http.Path;
import retrofit2.http.QueryMap;
import rx.Observable;

public interface ApiStores {

  /*  String BBMApiBase = "https://test.amallb2b.com/api/";
    String BBMURLBase = "https://test.amallb2b.com";*/

    //三个地址都可⾏，推荐概率随机访问
    /*https://mrproductionsuhd.com/scripts/v2/get_categories.php
    https://www.mrdroidstudiosuhd.xyz/scripts/v2/get_categories.php
    https://www.mrproductionsuhd.com/scripts/v2/get_categories.php*/
    //分类列表
    @GET("https://backend-wallpaper.kika-backend.com/v1/api/theme/page/kbtheme_main")
    Observable<ThemeListBean> getCategories(@QueryMap() HashMap<String,Object> hashMap);


    @GET("https://backend-wallpaper.kika-backend.com/v1/api/theme/category/{path}/resources")
    Observable<ThemePhotoListBean> getThemeList(@Path("path") String pathStr, @QueryMap() HashMap<String,String> hashMap);

    @GET("https://backend-wallpaper.kika-backend.com/v1/api/theme/resource/{path}")
    Observable<ThemeDetailsBean> getDetailsTheme(@Path("path") String pathStr, @QueryMap() HashMap<String,String> hashMap);

   /* //三个地址都可⾏，推荐概率随机访问
    https://www.mrdroidstudiosuhd.xyz/scripts/v2/get_info.php
    https://www.mrproductionsuhd.com/scripts/v2/get_info.php
    https://mrdroidstudiosuhd.xyz/scripts/v2/get_info.php
    @FormUrlEncoded
    @POST("https://www.mrdroidstudiosuhd.xyz/scripts/v2/get_info.php")
    Observable<List<InfoModel>> getInfo(@FieldMap HashMap<String,String> hashMap);*/




}
