package com.rc.httpcore

class HttpConfig {

    companion object {

//        var API_BASE_URL = "http://pc44sory.xiaomy.net:31738/"
        var API_BASE_URL = "http://192.168.0.248/labSystem/"

        var BASE_PATH_FACE = BasePathV1.FACE
        var BASE_PATH_BASE = BasePathV1.BASE

        const val HTTP_STRATEGY_Retrofit = 1

        var HTTP_STRATEGY = HTTP_STRATEGY_Retrofit
    }


    enum class ApiVersion(val code: Int, val desc: String) {
        V1(0, "V1"),
        V2(1, "V2")
    }

    object BasePathV1 {
        const val FACE = "face"
        const val BASE = ""
    }

    object BasePathV2 {
        const val ALGORITHM = "algorithm"
        const val BASE = "base/"
    }

}