package com.rc.httpcore

class HttpConfig {

    companion object {

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

//        var SIGN_IN_CHECK_BASE_URL = "http://180.76.134.43:931/"
        var SIGN_IN_CHECK_BASE_URL = "http://192.168.251.2:8012/"

        var BASE_PATH_FACE = BasePathV1.FACE
        var BASE_PATH_SPEAK = BasePathV1.SPEAK

        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 SPEAK = "speak"
    }

    object BasePathV2 {
        const val ALGORITHM = "algorithm"
    }

}