Просмотр исходного кода

[专题显示接口][修改]:[专题显示接口]

tags/湖南版5.1.4
meo 6 лет назад
Родитель
Сommit
3d84491382
1 измененных файлов: 16 добавлений и 0 удалений
  1. +16
    -0
      pages/main/index.js

+ 16
- 0
pages/main/index.js Просмотреть файл

@@ -320,6 +320,7 @@ Page({
// that.checkUserCarStatus(); // that.checkUserCarStatus();
that.getUserInfo(); that.getUserInfo();
that.getBannerlist(); that.getBannerlist();
that.topicShow();
if (app.couponChannelListCallback) { if (app.couponChannelListCallback) {
app.couponChannelListCallback(app.globalData.token); 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);
})
},


/** /**
* 检查用户是否有车 * 检查用户是否有车


Загрузка…
Отмена
Сохранить