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