@ -11,7 +11,6 @@ class UserModel extends HTTP {
constructor () {
super()
}
getMyMessageList(page, success){
let params = {
url: UserConst.user_myMessage_url,
@ -42,9 +42,16 @@ Page({
fetchPolicyArtice () {
policy.fetchPolicyArtice(this.data.curCode, res => {
console.log(res)
this.setData({
nodes: res.data.content || ''
})
if (res.data) {
} else {
wx.showToast({
title: res.message,
icon: 'none'
@ -24,7 +24,7 @@ Page({
* 生命周期函数--监听页面加载
*/
onLoad: function () {
if (store.hasPhone()) {
if (!store.hasPhone()) {
console.log('已经绑定手机号码')
this.fetchTopicList();