const accountInfo = wx.getAccountInfoSync();

const baseURLMap: Record<string, string> = {
    develop: "https://rsc.test.rsjk.org.cn",
    trial: "https://rsc.test.rsjk.org.cn",
    release: "https://mp.qbxfu.cn"
    // release: "https://rsc.test.rsjk.org.cn"
}

export const BASE_URL = baseURLMap[accountInfo.miniProgram.envVersion]
export const appId = accountInfo.miniProgram.appId
export const appversion = accountInfo.miniProgram.version
export const shopId = 1
export const version = {
    details: "v",               // 视频详情
    interactive: "v",           // 答题
    inspect: "v",               // 时长
    register: "v"               // 注册
}

// AES 加密配置（请替换为实际密钥）

export const AES_KEY = "Ru0Sh@nCl0udL!v3"
export const AES_IV  = "Ru0Sh@nCl0udIV!3"