package com.module.backstage.repo

import com.module.pay.service.DevService
import com.module.pay.service.HomeApiService
import com.quyunshuo.androidbaseframemvvm.base.mvvm.m.BaseRepository
import java.util.TreeMap
import javax.inject.Inject
import javax.inject.Named

/**
 * 首页M层
 *
 * @author Qu Yunshuo
 * @since 5/25/21 5:42 PM
 */
class CheckRepository @Inject constructor() : BaseRepository() {

    @Inject
   lateinit var mApi: DevService

    /**
     * 模拟获取数据
     */
    suspend fun getData(data: TreeMap<String, String>) = request<String> {
        mApi.getData(data)
        //mApi.getData(data)
    }
}