Documentation

Open extends ApiController
in package

Tags
Apidoc\Title

("API 博客")

Table of Contents

Properties

$guest  : mixed
$field  : mixed
$name  : mixed
$table  : mixed

Methods

do_add()  : mixed
do_del()  : mixed
do_edit()  : mixed
do_sort()  : mixed
get_one()  : mixed
get_pager()  : mixed

Properties

$guest

public mixed $guest = true

$field

protected mixed $field = ['title', 'type_id', 'user_id', 'tag', 'image', 'images', 'body', 'blog_status']

$name

protected mixed $name = '博客'

$table

protected mixed $table = 'blog_content'

Methods

do_add()

public do_add() : mixed
Tags
Apidoc\Title

("添加")

Apidoc\Method

("POST")

Apidoc\Query

("title",type="string",require=true,desc="标题")

Apidoc\Query

("body",type="string",require=true,desc="内容")

Apidoc\Query

("type_id",type="string",require=false,desc="分类ID")

Apidoc\Query

("tag",type="string",require=true,desc="标签")

do_del()

public do_del() : mixed
Tags
Apidoc\Title

("删除")

Apidoc\Method

("POST")

Apidoc\Query

("id",type="string",require=false,desc="ID")

do_edit()

public do_edit() : mixed
Tags
Apidoc\Title

("修改")

Apidoc\Method

("POST")

Apidoc\Query

("title",type="string",require=true,desc="标题")

Apidoc\Query

("body",type="string",require=true,desc="内容")

Apidoc\Query

("type_id",type="string",require=false,desc="分类ID")

Apidoc\Query

("tag",type="string",require=true,desc="标签")

do_sort()

public do_sort() : mixed
Tags
Apidoc\Title

("排序")

Apidoc\Method

("POST")

Apidoc\Query

("id",type="array",require=false,desc="ID")

get_one()

public get_one() : mixed
Tags
Apidoc\Title

("获取一条内容")

Apidoc\Method

("POST")

Apidoc\Query

("title",type="string",require=true,desc="标题")

Apidoc\Query

("body",type="string",require=false,desc="内容")

Apidoc\Query

("type_id",type="string",require=false,desc="分类ID")

Apidoc\Query

("tag",type="string",require=false,desc="标签")

Apidoc\Query

("blog_status",type="string",require=true,desc="标签状态")

get_pager()

public get_pager() : mixed
Tags
Apidoc\Title

("内容列表")

Apidoc\Method

("POST")

Apidoc\Query

("title",type="string",require=true,desc="标题")

Apidoc\Query

("body",type="string",require=true,desc="内容")

Apidoc\Query

("type_id",type="string",require=false,desc="分类ID")

Apidoc\Query

("tag",type="string",require=true,desc="标签")

Apidoc\Query

("blog_status",type="string",require=true,desc="标签状态")


        
On this page

Search results