{
// Place your snippets for php here. Each snippet is defined under a snippet name and has a prefix, body and
// description. The prefix is what is used to trigger the snippet and the body will be expanded and inserted. Possible variables are:
// $1, $2 for tab stops, $0 for the final cursor position, and ${1:label}, ${2:another} for placeholders. Placeholders with the
// same ids are connected.
// Example:
"ymfun": {
"prefix": "ymhead",
"body": [
"/**",
" * @title 基础的注释方法",
" * @desc 一个很基础的接口注释解析能力",
" * @author 张疯子",
" */"
],
"description": "头部注释代码块"
},
"ymhead": {
"prefix": "ymhead",
"body": [
"/**",
" * @title 基础的注释方法",
" * @desc 一个很基础的接口注释解析能力",
" * @author 张疯子",
" * @url /api/test",
" * @method GET",
" * @tag 测试 基础",
" * @header: name:Authorization require: 1 default: desc:Token",
" * @param name:username type:string require:1 default: desc:参数说明",
" * @return name:id type:int desc:参数说明",
" */"
],
"description": "接口注释代码块"
}
}
网友评论