package com.xhly.manageapp.network.strategy

import com.xhly.corelib.network.bean.ResponseData
import com.xhly.manageapp.bean.school.SchoolDeviceSetBean
import com.xhly.manageapp.bean.strategy.AppTimeManageBean
import com.xhly.manageapp.bean.strategy.StrategyBean
import com.xhly.manageapp.network.UriAdress
import retrofit2.http.Body
import retrofit2.http.POST

interface StrategyService {
    /**
     * 获得平板策略
     */
    @POST(UriAdress.DETAIL_PAD)
    suspend fun postDetailPad(): ResponseData<StrategyBean>
    /**
     * 获得应用策略
     */
    @POST(UriAdress.APP_LISTPAD)
    suspend fun postAppListPad():ResponseData<ArrayList<AppTimeManageBean>>

    /**
     * 设备设置管理
     */
    @POST(UriAdress.DEVICESETDETAIL)
    suspend fun postDevicesetDetail(@Body map:HashMap<String,Any>):ResponseData<SchoolDeviceSetBean>

    /**
     * 获得网络白名单
     */
    @POST(UriAdress.APP_NET_WHITELIST)
    suspend fun postAppNetWhiteList():ResponseData<ArrayList<String>>
}