爱游戏全站app官网入口-爱游戏官网

highchat动态绑定数据 数据后台绑定(四) -爱游戏全站app官网入口

2023-08-16,,

后台,直接返回json数据

ilist adhourdata = summarybll.findlist(str);
list hour = new list() { , , , , , , , , , , , , , , , , , , , , , , , };
list downnumber = new list() { , , , , , , , , , , , , , , , , , , , , , , , };
list registernumber = new list() { , , , , , , , , , , , , , , , , , , , , , , , };
list clicknumber = new list() { , , , , , , , , , , , , , , , , , , , , , , , };
double max = ;
if (adhourdata.count() > ) {
max = adhourdata.orderbydescending(x => x.downnumber).firstordefault().downnumber;
hour.clear(); downnumber.clear(); registernumber.clear(); clicknumber.clear();
foreach (var item in adhourdata) {
hour.add(item.hour);
downnumber.add(item.downnumber);
registernumber.add(item.registernumber);
clicknumber.add(item.clicknumber);
}
}
results = new {
hour = hour,
downnumber = downnumber,
registernumber = registernumber,
clicknumber = clicknumber,
max = max,
type =
};
return json(results);

highchat动态绑定数据 数据后台绑定(四)的相关教程结束。

网站地图