package com.rc.httpcore

class HttpConfig {

    companion object {
        //        var API_BASE_URL = "http://lab.zjznai.com/nwsuaf/api/"  //公网域名
        var API_BASE_URL = "http://172.16.0.65/api/"
        var API_BASE_IMG_URL = "http://172.16.0.65/api/"  //图片资源

//        var API_BASE_QC_URL = "http://lab.zjznai.com/labTest"  //二维码地址  用于打印出的二维码路径跳转到小程序
        var API_BASE_QC_URL = "https://labcontrol.nwafu.edu.cn/api/"  //二维码地址  用于打印出的二维码路径跳转到小程序
//        http://lab.zjznai.com/labAppTest?code=1760903781269671937&type=1   MSDS 路径生成
        //http://192.168.1.43/api?code=1760903781269671937&type=1   MSDS 路径生成

        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/"
    }

}