Files
rice-pk-xhs/app.js
T
codex-bot e99a2bb4d4
Verify mini program and deploy preview / verify-deploy (push) Failing after 32s
feat: launch PK testing application
2026-09-18 21:50:25 +08:00

9 lines
210 B
JavaScript

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