2022-06-20 11:25:53 +08:00
|
|
|
const APPID = "1fa54c6d47074eea98833162a292497a";
|
2022-06-30 14:58:34 +08:00
|
|
|
let token = '';
|
2022-06-06 11:51:36 +08:00
|
|
|
|
|
|
|
if(APPID === ""){
|
|
|
|
wx.showToast({
|
|
|
|
title: `请在config.js中提供正确的appid`,
|
|
|
|
icon: 'none',
|
|
|
|
duration: 5000
|
|
|
|
});
|
|
|
|
}
|
|
|
|
|
|
|
|
module.exports = {
|
2022-06-20 11:25:53 +08:00
|
|
|
APPID: APPID,
|
2022-06-30 14:58:34 +08:00
|
|
|
getToken() {
|
|
|
|
return token;
|
|
|
|
},
|
|
|
|
setToken(val) {
|
|
|
|
token = val;
|
|
|
|
}
|
2022-06-20 11:25:53 +08:00
|
|
|
}
|