Files
mier-php/application/api/controller/Banner.php
2025-08-11 10:22:05 +08:00

24 lines
665 B
PHP
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

<?php
namespace app\api\controller;
use think\Controller;
class Banner extends Common
{
//轮播图列表
public function get_banner_list()
{
$reslut = model('Banner')->get_banner_list();
return ajaxReturn($reslut['code'], $reslut['msg'], $reslut['data']);
}
public function get_room_charm_rank()
{
$rid = input('rid', 0); //房间号。
$time = input('time', 0); //统计周期 1日2周3总
$type = input('type', 0); //1 贡献2魅力
$reslut = model('Room')->get_room_charm_rank($rid, $time, $type);
return ajaxReturn($reslut['code'], $reslut['msg'], $reslut['data']);
}
}