diff --git a/hasaki-gen-crud/template.go b/hasaki-gen-crud/template.go index 0dc7087..81557ed 100644 --- a/hasaki-gen-crud/template.go +++ b/hasaki-gen-crud/template.go @@ -202,6 +202,15 @@ func InitializationHttpCrudPrefixHigHead3A60Temp3A60(router *hskgin.GinHelper, a data, count := req.PageData(page, 10) ctx.DisplayByPage(data, count) }) + + router.Any("/Prefix3A60/TempLowHead3A60/delete", func(ctx *hskgin.GinContextHelper) { + req := &Temp3A60{} + ctx.Bind(&req) + authority(ctx, req) + err := req.Delete() + ctx.CheckErrDisplayByError(err) + ctx.DisplayBySuccess("删除成功") + }) } // ----------------------------temp------------------------------------