Files
codex-bot 350aae797f
Verify mini program and deploy preview / verify-deploy (push) Failing after 34s
feat: launch PK testing application
2026-09-18 21:50:25 +08:00

12 lines
214 B
JavaScript

App({
globalData: {
apiBase: 'https://api.example.com',
appKey: 'hub'
},
onLaunch: function () {
var token = xhs.getStorageSync('pk_token');
if (token) this.globalData.token = token;
}
});