"use strict";const o=require("./env.js"),t={local:"http://localhost:8091/",prod:"http://api01ai.huayang-star.com/"},r={development:"local",production:"prod",local:"local",prod:"prod"};const n=function(){var t;const n=null==(t=o.envConfig)?void 0:t.apiEnv;{const o=r[n.toLowerCase()];if(o)return o}const e="undefined"!=typeof process&&(null==process?void 0:process.env)?process.env.UNI_APP_API_ENV||"production":"",s=e?e.toLowerCase():"";return r[s]||"prod"}(),e=(s=t[n]||t.prod).endsWith("/")?s:`${s}/`;var s;exports.getApiEnv=function(){return n},exports.getApiUrl=function(o=""){const t=o.startsWith("/")?o:`/${o}`,r=t.startsWith("/")?t.slice(1):t;return`${e}${r}`};