修改代码注释

This commit is contained in:
Anyon 2020-12-12 14:28:40 +08:00
parent cedba012b9
commit fcb819a304
2 changed files with 8 additions and 3 deletions

View File

@ -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);

View File

@ -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