Documentation

Blog extends AdminController
in package

Tags
Apidoc\Title

("博客")

Table of Contents

Properties

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

Methods

do_add()  : mixed
do_del()  : mixed
do_edit()  : mixed
do_sort()  : mixed
do_status()  : mixed
get_pager()  : mixed
index()  : mixed

Properties

$field

protected mixed $field = ['is_open', '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="标签")

Apidoc\Query

("is_open",type="string",require=true,desc="yes no")

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\Url

("/blog/blog/do_sort")

Apidoc\Query

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

do_status()

public do_status() : mixed
Tags
Apidoc\Title

("审核")

Apidoc\Method

("POST")

Apidoc\Query

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

Apidoc\Query

("blog_status",type="string",require=false,desc="")

get_pager()

public get_pager() : mixed
Tags
Apidoc\Title

("内容列表")

Apidoc\Method

("POST")

Apidoc\Query

("title",type="string",require=false,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=false,desc="标签状态")

index()

public index() : mixed

        
On this page

Search results