大数据详情浏览量、首页动态栏目接口修改
This commit is contained in:
parent
7e80b99032
commit
859d40a127
@ -79,8 +79,20 @@ Page({
|
|||||||
app.dialog.msg(data.msg);
|
app.dialog.msg(data.msg);
|
||||||
});
|
});
|
||||||
})
|
})
|
||||||
|
this.saveBigdata(options.id);
|
||||||
},
|
},
|
||||||
|
saveBigdata(id) {
|
||||||
|
var params = "小程序" + id + "活动";
|
||||||
|
var info = {
|
||||||
|
requestUrl: params
|
||||||
|
}
|
||||||
|
app.restAjax.get(app.restAjax.path(app.bigDataUrl + '/app/contentcensusrelease/log', []), info, null,
|
||||||
|
function (code, data) {
|
||||||
|
|
||||||
|
}, function (code, err) {
|
||||||
|
|
||||||
|
})
|
||||||
|
},
|
||||||
/**
|
/**
|
||||||
* 生命周期函数--监听页面初次渲染完成
|
* 生命周期函数--监听页面初次渲染完成
|
||||||
*/
|
*/
|
||||||
|
@ -46,8 +46,20 @@ Page({
|
|||||||
},
|
},
|
||||||
onLoad(option) {
|
onLoad(option) {
|
||||||
this.getLivePlan(option.livePlanId);
|
this.getLivePlan(option.livePlanId);
|
||||||
|
this.saveBigdata(option.livePlanId)
|
||||||
},
|
},
|
||||||
|
saveBigdata(id) {
|
||||||
|
var params = "小程序" + id + "直播";
|
||||||
|
var info = {
|
||||||
|
requestUrl: params
|
||||||
|
}
|
||||||
|
app.restAjax.get(app.restAjax.path(app.bigDataUrl + '/app/contentcensusrelease/log', []), info, null,
|
||||||
|
function (code, data) {
|
||||||
|
|
||||||
|
}, function (code, err) {
|
||||||
|
|
||||||
|
})
|
||||||
|
},
|
||||||
onHide() {
|
onHide() {
|
||||||
|
|
||||||
},
|
},
|
||||||
|
@ -71,6 +71,19 @@ Page({
|
|||||||
var libraryId = options.libraryId
|
var libraryId = options.libraryId
|
||||||
this.doGetLibrary(libraryId);
|
this.doGetLibrary(libraryId);
|
||||||
this.doGetLibraryPerson(libraryId)
|
this.doGetLibraryPerson(libraryId)
|
||||||
|
this.saveBigdata(libraryId);
|
||||||
|
},
|
||||||
|
saveBigdata(id) {
|
||||||
|
var params = "小程序" + id + "非遗";
|
||||||
|
var info = {
|
||||||
|
requestUrl: params
|
||||||
|
}
|
||||||
|
app.restAjax.get(app.restAjax.path(app.bigDataUrl + '/app/contentcensusrelease/log', []), info, null,
|
||||||
|
function (code, data) {
|
||||||
|
|
||||||
|
}, function (code, err) {
|
||||||
|
|
||||||
|
})
|
||||||
},
|
},
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
@ -83,7 +83,7 @@ Page({
|
|||||||
//获取首页新闻动态
|
//获取首页新闻动态
|
||||||
getMainNewsTab() {
|
getMainNewsTab() {
|
||||||
var _self = this;
|
var _self = this;
|
||||||
app.restAjax.get(app.restAjax.path('{newsUrl}/app/newsdirectories/list/areaplate/release/{areaCode}', [_self.data.news.newsUrl, app.areaCode]),
|
app.restAjax.get(app.restAjax.path('{newsUrl}/app/newsdirectories/listsub/areaauth/release/{newsDirectoriesId}/{areaCode}', [_self.data.news.newsUrl, '0', app.areaCode]),
|
||||||
null,
|
null,
|
||||||
null,
|
null,
|
||||||
function (code, data) {
|
function (code, data) {
|
||||||
|
@ -15,7 +15,7 @@ swiper {
|
|||||||
right: 50rpx;
|
right: 50rpx;
|
||||||
width: 70rpx;
|
width: 70rpx;
|
||||||
height: 70rpx;
|
height: 70rpx;
|
||||||
background: linear-gradient(to right bottom, rgb(238 238 236 / 22%), rgb(105 105 104 / 28%) 70px);
|
background: linear-gradient(to right bottom, #9f15129e, #9f1512 70px);
|
||||||
border-radius: 50%;
|
border-radius: 50%;
|
||||||
padding: 10rpx;
|
padding: 10rpx;
|
||||||
|
|
||||||
|
@ -33,6 +33,19 @@ Page({
|
|||||||
pageHeight: wx.getSystemInfoSync().windowHeight
|
pageHeight: wx.getSystemInfoSync().windowHeight
|
||||||
})
|
})
|
||||||
this.getNewsDetail();
|
this.getNewsDetail();
|
||||||
|
this.saveBigdata(options.id);
|
||||||
|
},
|
||||||
|
saveBigdata(id) {
|
||||||
|
var params = "小程序" + id + "新闻";
|
||||||
|
var info = {
|
||||||
|
requestUrl: params
|
||||||
|
}
|
||||||
|
app.restAjax.get(app.restAjax.path(app.bigDataUrl + '/app/contentcensusrelease/log', []), info, null,
|
||||||
|
function (code, data) {
|
||||||
|
|
||||||
|
}, function (code, err) {
|
||||||
|
|
||||||
|
})
|
||||||
},
|
},
|
||||||
getNewsDetail() {
|
getNewsDetail() {
|
||||||
var _self = this;
|
var _self = this;
|
||||||
|
@ -248,8 +248,20 @@ Page({
|
|||||||
this.getDetail(id);
|
this.getDetail(id);
|
||||||
this.getMyTeam();
|
this.getMyTeam();
|
||||||
})
|
})
|
||||||
|
this.saveBigdata(id);
|
||||||
},
|
},
|
||||||
|
saveBigdata(id) {
|
||||||
|
var params = "小程序" + id + "志愿";
|
||||||
|
var info = {
|
||||||
|
requestUrl: params
|
||||||
|
}
|
||||||
|
app.restAjax.get(app.restAjax.path(app.bigDataUrl + '/app/contentcensusrelease/log', []), info, null,
|
||||||
|
function (code, data) {
|
||||||
|
|
||||||
|
}, function (code, err) {
|
||||||
|
|
||||||
|
})
|
||||||
|
},
|
||||||
/**
|
/**
|
||||||
* 生命周期函数--监听页面初次渲染完成
|
* 生命周期函数--监听页面初次渲染完成
|
||||||
*/
|
*/
|
||||||
|
@ -72,8 +72,20 @@ Page({
|
|||||||
venuesInfoId: options.venuesInfoId
|
venuesInfoId: options.venuesInfoId
|
||||||
});
|
});
|
||||||
this.getVenuesDetail();
|
this.getVenuesDetail();
|
||||||
|
this.saveBigdata(options.venuesInfoId);
|
||||||
},
|
},
|
||||||
|
saveBigdata(id) {
|
||||||
|
var params = "小程序" + id + "场馆";
|
||||||
|
var info = {
|
||||||
|
requestUrl: params
|
||||||
|
}
|
||||||
|
app.restAjax.get(app.restAjax.path(app.bigDataUrl + '/app/contentcensusrelease/log', []), info, null,
|
||||||
|
function (code, data) {
|
||||||
|
|
||||||
|
}, function (code, err) {
|
||||||
|
|
||||||
|
})
|
||||||
|
},
|
||||||
/**
|
/**
|
||||||
* 生命周期函数--监听页面初次渲染完成
|
* 生命周期函数--监听页面初次渲染完成
|
||||||
*/
|
*/
|
||||||
|
@ -24,8 +24,20 @@ Page({
|
|||||||
planId: options.id
|
planId: options.id
|
||||||
})
|
})
|
||||||
this.getList();
|
this.getList();
|
||||||
|
this.saveBigdata(options.id)
|
||||||
},
|
},
|
||||||
|
saveBigdata(id) {
|
||||||
|
var params = "小程序" + id + "直播";
|
||||||
|
var info = {
|
||||||
|
requestUrl: params
|
||||||
|
}
|
||||||
|
app.restAjax.get(app.restAjax.path(app.bigDataUrl + '/app/contentcensusrelease/log', []), info, null,
|
||||||
|
function (code, data) {
|
||||||
|
|
||||||
|
}, function (code, err) {
|
||||||
|
|
||||||
|
})
|
||||||
|
},
|
||||||
getList() {
|
getList() {
|
||||||
var _self = this;
|
var _self = this;
|
||||||
app.restAjax.get(app.restAjax.path(_self.data.liveUrl + '/app/liverecord/listpageliverecordrelease/' + _self.data.planId, []),
|
app.restAjax.get(app.restAjax.path(_self.data.liveUrl + '/app/liverecord/listpageliverecordrelease/' + _self.data.planId, []),
|
||||||
|
Loading…
Reference in New Issue
Block a user