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