function isLogin(){ if(wx.getStorageSync('token')){ return true } else{ return false } } module.exports = { isLogin }