Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AuthorController ¶
type AuthorController struct {
controller.BaseController
}
* 控制层代码需要做数据转换,调用服务层的代码,由于数据转换的结构不一致,因此每个实体(外部rest方式访问)的控制层都需要写一遍
func (*AuthorController) ParseJSON ¶
func (this *AuthorController) ParseJSON(json []byte) (interface{}, error)
func (*AuthorController) ParsePath ¶
func (this *AuthorController) ParsePath(ctx iris.Context)
type PoemController ¶
type PoemController struct {
controller.BaseController
}
* 控制层代码需要做数据转换,调用服务层的代码,由于数据转换的结构不一致,因此每个实体(外部rest方式访问)的控制层都需要写一遍
func (*PoemController) ParseJSON ¶
func (this *PoemController) ParseJSON(json []byte) (interface{}, error)
func (*PoemController) ParsePath ¶
func (this *PoemController) ParsePath(ctx iris.Context)
type RhythmicController ¶
type RhythmicController struct {
controller.BaseController
}
* 控制层代码需要做数据转换,调用服务层的代码,由于数据转换的结构不一致,因此每个实体(外部rest方式访问)的控制层都需要写一遍
func (*RhythmicController) ParseJSON ¶
func (this *RhythmicController) ParseJSON(json []byte) (interface{}, error)
Click to show internal directories.
Click to hide internal directories.