|
|
@@ -320,6 +320,7 @@ Page({ |
|
|
|
// that.checkUserCarStatus(); |
|
|
|
that.getUserInfo(); |
|
|
|
that.getBannerlist(); |
|
|
|
that.topicShow(); |
|
|
|
if (app.couponChannelListCallback) { |
|
|
|
app.couponChannelListCallback(app.globalData.token); |
|
|
|
} |
|
|
@@ -437,6 +438,21 @@ Page({ |
|
|
|
}) |
|
|
|
; |
|
|
|
}, |
|
|
|
// 专题显示 |
|
|
|
topicShow: function () { |
|
|
|
let that = this; |
|
|
|
Http.get({ |
|
|
|
url: config.api.topicShow, |
|
|
|
data: { |
|
|
|
token: app.globalData.token |
|
|
|
} |
|
|
|
}).then(res => { |
|
|
|
console.log(res); |
|
|
|
}) |
|
|
|
.catch(err => { |
|
|
|
console.log(err); |
|
|
|
}) |
|
|
|
}, |
|
|
|
|
|
|
|
/** |
|
|
|
* 检查用户是否有车 |
|
|
|