let BASE_URL = ''
let APP_ID = ''
let RESET_URL = ''
let TYPE = ''
let IMG_BASE_URL = ''
let APPOR_BASE_URL = ''
if (process.env.NODE_ENV === 'development') {
    BASE_URL = 'https://xt.sharingschool.com/sz'
    APP_ID = "wx3d4605f43beda11a"//测试环境AppId
    RESET_URL = "https://xtkmt.sharingschool.com/manager/index.html#/" //测试环境微信重定向页面
     TYPE = 0
     IMG_BASE_URL = 'https://xtimg.sharingschool.com/' //测试环境图片地址
     APPOR_BASE_URL = 'https://xtkmt.sharingschool.com/kmt/index.html#/' //测试环境作业批改地址
} else {

// // 1.测试环境配置
             BASE_URL = 'https://xt.sharingschool.com/sz' //测试环境服务器地址
             APP_ID = "wx3d4605f43beda11a"//测试环境AppId 
             RESET_URL = "https://xtkmt.sharingschool.com/manager/index.html#/" //测试环境微信重定向页面
             TYPE = 0
             IMG_BASE_URL = 'https://xtimg.sharingschool.com/' //测试环境图片地址
             APPOR_BASE_URL = 'https://xtkmt.sharingschool.com/kmt/index.html#/' //测试环境作业批改地址

// 1.分表分库测试环境配置
            // BASE_URL = ' https://xt.sharingschool.com/fk' //分表分库测试环境服务器地址
            //  APP_ID = "wx3d4605f43beda11a"//测试环境AppId 
            //  RESET_URL = "https://xtkmt.sharingschool.com/manager/index.html#/" //测试环境微信重定向页面
            //  TYPE = 0
            //  IMG_BASE_URL = 'https://xtimg.sharingschool.com/' //测试环境图片地址
            //  APPOR_BASE_URL = 'https://xtkmt.sharingschool.com/fk/kmt/index.html#/' //测试环境作业批改地址

//  -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
 // 2.正式环境配置(Kmt)
        //   BASE_URL = 'https://t.sharingschool.com/sz'; //正式环境地址 
        //   APP_ID = "wxd18ca9555a939281"//正式环境
        //   RESET_URL = "https://kmt.sharingschool.com/aijia/manager/index.html#/" //正式环境微信重定向页面
        //   TYPE = 0
        //   IMG_BASE_URL = 'https://img.sharingschool.com'; //正式环境图片地址;
        //   APPOR_BASE_URL = 'https://kmt.sharingschool.com/aijia/kmt/index.html#/'; //正式环境作业批改地址地址;

// -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
 // 3.OSS正式环境(aiKmt)
            // BASE_URL = 'https://t.sharingschool.com/sz'; // OSS正式环境地址
            // APP_ID =  "wx5a83afb22813e986"//OSS正式环境
            // RESET_URL = "https://aikmt.sharingschool.com/manager/index.html#/" //OSS正式环境
            // TYPE = 1
            // IMG_BASE_URL = 'https://img.sharingschool.com'; //正式环境图片地址;
            // APPOR_BASE_URL = 'https://aikmt.sharingschool.com/kmt/index.html#/'; //oss正式环境作业批改地址地址;

// -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
// 4.OSS实训环境配置(Sxkmt)
        //  BASE_URL = 'https://sx.sharingschool.com/sz'  //OSS实训环境地址
        //  APP_ID = "wx7fe760dc3c45794d" //OSS实训环境
        // RESET_URL = "https://sxkmt.sharingschool.com/manager/index.html#/" //OSS实训环境
        // TYPE = 0
        // IMG_BASE_URL = 'https://xtimg.sharingschool.com' //实习，测试环境图片地址;
        // APPOR_BASE_URL = 'http://sxkmt.sharingschool.com/kmt/index.html#/' //Oss实习环境作业批改地址

}
const TIME_OUT = 10000

export {
    BASE_URL,
    TIME_OUT,
    APP_ID,
    RESET_URL,
    TYPE,  
    IMG_BASE_URL,
    APPOR_BASE_URL

} 