chore: 完善并规范 Bell 上游源码导入 (#62)
This commit is contained in:
@@ -42,11 +42,11 @@ func (e {{.ClassName}}) GetPage(c *gin.Context) {
|
||||
Bind(&req).
|
||||
MakeService(&s.Service).
|
||||
Errors
|
||||
if err != nil {
|
||||
e.Logger.Error(err)
|
||||
e.Error(500, err, err.Error())
|
||||
return
|
||||
}
|
||||
if err != nil {
|
||||
e.Logger.Error(err)
|
||||
e.Error(500, err, err.Error())
|
||||
return
|
||||
}
|
||||
|
||||
p := actions.GetPermissionFromContext(c)
|
||||
list := make([]models.{{.ClassName}}, 0)
|
||||
|
||||
Reference in New Issue
Block a user