21 lines
315 B
JavaScript
Executable File
21 lines
315 B
JavaScript
Executable File
const APPID = "1fa54c6d47074eea98833162a292497a";
|
|
let token = '';
|
|
|
|
if(APPID === ""){
|
|
wx.showToast({
|
|
title: `请在config.js中提供正确的appid`,
|
|
icon: 'none',
|
|
duration: 5000
|
|
});
|
|
}
|
|
|
|
module.exports = {
|
|
APPID: APPID,
|
|
getToken() {
|
|
return token;
|
|
},
|
|
setToken(val) {
|
|
token = val;
|
|
}
|
|
}
|