20 lines
407 B
PHP
20 lines
407 B
PHP
<?php
|
|
namespace app\facade;
|
|
|
|
use think\Facade;
|
|
|
|
/**
|
|
* Class Article
|
|
* @package app\facade
|
|
* @method static array getArtTop(int $num) 获取置顶文章
|
|
* @method static array getArtList(int $num) 获取文章列表
|
|
* @method static array getArtHot(int $num) 获取精华文章
|
|
*/
|
|
class Article extends Facade
|
|
{
|
|
protected static function getFacadeClass()
|
|
{
|
|
return 'app\common\model\Article';
|
|
}
|
|
|
|
} |