HomeLease/unpackage/dist/dev/mp-weixin/config/dev.js
2025-08-12 15:38:25 +08:00

27 lines
890 B
JavaScript
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

"use strict";
require("../common/vendor.js");
const DEV_CONFIG = {
// 临时token用于开发测试
TEMP_TOKEN: "eyJhbGciOiJIUzUxMiJ9.eyJsb2dpbl91c2VyX2tleSI6ImY3OTUyZDY4LTI3NWItNDQ2ZS1iNjAwLWZkNGFiYmVkZjkyYSJ9.Nw8an_L7efznUuF3NdFrpCOOlK5xLGcgQ6xhAwat8kxiNkmDLsgJ3rprFD_o3yueApzomDj1vZSOMLcEsBa8Dg",
// 是否使用临时token
USE_TEMP_TOKEN: true,
// 应用ID - 需要根据实际后端配置调整
APP_ID: 1,
// TODO: 请根据实际后端API要求调整此值
// 是否显示调试信息
DEBUG: true
};
function getTempToken() {
return DEV_CONFIG.TEMP_TOKEN;
}
function shouldUseTempToken() {
return DEV_CONFIG.USE_TEMP_TOKEN;
}
function getAppId() {
return DEV_CONFIG.APP_ID;
}
exports.getAppId = getAppId;
exports.getTempToken = getTempToken;
exports.shouldUseTempToken = shouldUseTempToken;
//# sourceMappingURL=../../.sourcemap/mp-weixin/config/dev.js.map