mirror of
https://gitee.com/zoujingli/ThinkAdmin.git
synced 2025-04-06 03:58:04 +08:00
修改代码注释
This commit is contained in:
parent
cedba012b9
commit
fcb819a304
@ -26,8 +26,13 @@ use think\Response;
|
|||||||
*/
|
*/
|
||||||
class Js extends Controller
|
class Js extends Controller
|
||||||
{
|
{
|
||||||
|
/** @var string */
|
||||||
protected $params;
|
protected $params;
|
||||||
|
|
||||||
|
/** @var string */
|
||||||
protected $openid;
|
protected $openid;
|
||||||
|
|
||||||
|
/** @var string */
|
||||||
protected $fansinfo;
|
protected $fansinfo;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
@ -40,7 +45,7 @@ class Js extends Controller
|
|||||||
* @throws \think\db\exception\DbException
|
* @throws \think\db\exception\DbException
|
||||||
* @throws \think\db\exception\ModelNotFoundException
|
* @throws \think\db\exception\ModelNotFoundException
|
||||||
*/
|
*/
|
||||||
public function index()
|
public function index(): Response
|
||||||
{
|
{
|
||||||
$mode = $this->request->get('mode', 1);
|
$mode = $this->request->get('mode', 1);
|
||||||
$source = $this->request->server('http_referer') ?: $this->request->url(true);
|
$source = $this->request->server('http_referer') ?: $this->request->url(true);
|
||||||
|
@ -28,7 +28,7 @@ class View extends Controller
|
|||||||
|
|
||||||
/**
|
/**
|
||||||
* 图文列表展示
|
* 图文列表展示
|
||||||
* @param integer $id 图文ID
|
* @param integer $id 图文ID编号
|
||||||
* @throws \think\db\exception\DataNotFoundException
|
* @throws \think\db\exception\DataNotFoundException
|
||||||
* @throws \think\db\exception\DbException
|
* @throws \think\db\exception\DbException
|
||||||
* @throws \think\db\exception\ModelNotFoundException
|
* @throws \think\db\exception\ModelNotFoundException
|
||||||
@ -42,7 +42,7 @@ class View extends Controller
|
|||||||
|
|
||||||
/**
|
/**
|
||||||
* 文章内容展示
|
* 文章内容展示
|
||||||
* @param integer $id 文章ID
|
* @param integer $id 文章ID编号
|
||||||
* @throws \think\db\exception\DataNotFoundException
|
* @throws \think\db\exception\DataNotFoundException
|
||||||
* @throws \think\db\exception\DbException
|
* @throws \think\db\exception\DbException
|
||||||
* @throws \think\db\exception\ModelNotFoundException
|
* @throws \think\db\exception\ModelNotFoundException
|
||||||
|
Loading…
x
Reference in New Issue
Block a user