Commit f6c5bcf3 by 庄欣

测试

parent d9bbdcf9
<?php
namespace App\Http\Controllers\Keywords\Controller;
use App\Http\Controllers\ControllerBase;
class Category extends ControllerBase
{
public function pretty()
{
$data = parent::index("",false);
}
}
\ No newline at end of file
<?php
namespace App\Http\Controllers\Keywords\Controller;
use App\Http\Controllers\ControllerBase;
class Keywords extends ControllerBase
{
protected $prefix = "keywords";
public function gethot()
{
$query = $this->combine(['join_hot' => 1,'is_del' => 0,"order" => 'used_count-desc']);
$res = parent::index($query,false);
return $res;
}
public function index($query = "", $checkUid = true)
{
return parent::index($query, false);
}
}
\ No newline at end of file
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 to comment