Commit 9399e63b by doszhang

dos

parent a2877bc5
......@@ -10,7 +10,7 @@ class InfoController extends AdminController
public function index()
{
$sql = "select * from info";
$sql = "select p.prize_name,p.add_time,u.nickname,u.name,u.tel,u.address from user as u,prize as p where p.is_get=1";
$list = M()->query($sql);
$this->assign('list', $list);
$this->display();
......
......@@ -13,7 +13,7 @@ class ReportController extends AdminController
if (!$channel) {
$channel = '__all__';
}
$url = "http://api2.iacode.cn/tongjiV2/report?app_stat_key=jwkKkepF5Gy2bRSn&app_stat_secret=kCWr5izepj52mWnB";
$url = "http://api2.iacode.cn/tongjiV2/report?app_stat_key=XHeG4Hz2SXQMNmZx&app_stat_secret=tEWCiZKPMC64t5ib";
$content = file_get_contents($url);
$data = json_decode($content, true);
$data_list = $data['data'];
......
......@@ -18,18 +18,24 @@
<thead>
<tr>
<th>id</th>
<th>微信昵称</th>
<th>奖品名称</th>
<th>领奖时间</th>
<th>姓名</th>
<th>业务号</th>
<th>生成时间</th>
<th>电话</th>
<th>地址</th>
</tr>
</thead>
<tbody class="text-left">
{:foreach from=$list item=item}
<tr id="{:$item.id}">
<td>{:$item.id}</td>
<td>{:$item.nickname}</td>
<td>{:$item.prize_name}</td>
<td>{:$item.add_time|date_format:'%Y-%m-%d %H:%M:%S'}</td>
<td>{:$item.name}</td>
<td>{:$item.business}</td>
<td>{:$item.addtime|date_format:'%Y-%m-%d %H:%M:%S'}</td>
<td>{:$item.tel}</td>
<td>{:$item.address}</td>
</tr>
{:/foreach}
</tbody>
......
......@@ -122,7 +122,7 @@
};
</script>
<script type="text/javascript"
src="https://api2.izhida.cn/wechat_js_config?app_id=wx8e5787326363f877&v=1.2.1&api_list=all&app_stat_key=">
src="https://api2.izhida.cn/wechat_js_config?app_id=wx8e5787326363f877&v=1.2.1&api_list=all&app_stat_key=XHeG4Hz2SXQMNmZx">
</script>
<script src="__CDN__/js/jquery-2.1.3.min.js"></script>
<script src="__CDN__/js/jquery-notify.min.js"></script>
......
......@@ -316,9 +316,6 @@ function showItem() {
scrollTimer = setTimeout(() => {
const scrollTop = $('.wrap-inner').scrollTop();
const scrollLeft = $('.wrap-inner').scrollLeft();
// if (scrollLeft > 0) {
// $('.maruko').css('left', `${scrollLeft + 180}px`)
// }
if (nowShowIndex == 1 && scrollTop > 700) {
$('.title,.page1 .cloud').show();
nowShowIndex++
......@@ -329,7 +326,6 @@ function showItem() {
$('.toast2').show();
showItemStatus = true
}
}, 1)
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment