当前仓库属于关闭状态,部分功能使用受限,详情请查阅 仓库状态说明
1 Star 0 Fork 41

zhnaglei / think5-apidoc
关闭

forked from OkCoder / think5-apidoc
关闭
 
加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
Demo.php 908 Bytes
一键复制 编辑 Web IDE 原始数据 按行查看 历史
OkCoder 提交于 2019-01-08 15:00 . 重构
<?php
namespace app\index\controller;
use think\Controller;
/**
* @title 模块名称
* @desc 我是模块名称
* Class Index
* @package app\api\controller\v1
*/
class Index extends Controller
{
/**
* @title 方法1
* @desc 类的方法1
* @url url('api/v1.index/index',true,'',true)
*
* @param int $page 0 999
* @param int $limit 10
*
* @return int $id 0 索引
* @return int $id 0 索引
* @return int $id 0 索引
*/
public function index($page = 1, $limit = 10)
{
return [];
}
/**
* @title 方法2
* @desc 类的方法2 哦
* @author OkCoder
* @version 1.0
*
* @param int $page 0 999
* @param int $limit 10
*
* @return int $id 0 索引
* @return int $id 0 索引
* @return int $id 0 索引
*/
public function uuurl()
{
}
}
PHP
1
https://gitee.com/zhnaglei/think5-apidoc.git
git@gitee.com:zhnaglei/think5-apidoc.git
zhnaglei
think5-apidoc
think5-apidoc
master

搜索帮助