初始化代码
This commit is contained in:
23
application/api/controller/Week.php
Normal file
23
application/api/controller/Week.php
Normal file
@@ -0,0 +1,23 @@
|
||||
<?php
|
||||
|
||||
namespace app\api\controller;
|
||||
|
||||
use think\Controller;
|
||||
|
||||
class Week extends Controller
|
||||
{
|
||||
|
||||
|
||||
//房间流水
|
||||
public function index(){
|
||||
$user_id = input('uid','');
|
||||
$type = input('type', 1);
|
||||
|
||||
$result = model('Week')->serial_index($user_id, $type);
|
||||
$this->assign('result', $result['data']);
|
||||
return $this->view->fetch();
|
||||
|
||||
|
||||
}
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user