refactor: 模块化小程序配置与请求逻辑

This commit is contained in:
que01 committed 2026-09-19 12:00:54 +08:00
1 parent 5b5ba9f7da
commit 34ec893369
11 files changed
+67 -20

No files matched your search

+6
View File
@@ -0,0 +1,6 @@
const app = getApp();
module.exports = {
get apiBaseUrl() { return app.globalData.apiBaseUrl; },
get brand() { return app.globalData.brand || {}; },
};