refactor: 模块化小程序配置与请求逻辑
This commit is contained in:
1 parent
5b5ba9f7da
commit
34ec893369
11 files changed
+67
-20
No files matched your search
@@ -0,0 +1,6 @@
|
||||
const app = getApp();
|
||||
|
||||
module.exports = {
|
||||
get apiBaseUrl() { return app.globalData.apiBaseUrl; },
|
||||
get brand() { return app.globalData.brand || {}; },
|
||||
};
|
||||
Reference in new issue
Block a user