From a53822ebb83a43a2e9d866141e42e3d47378edf7 Mon Sep 17 00:00:00 2001 From: public_host Date: Mon, 26 Apr 2021 09:25:32 +0800 Subject: [PATCH] fix --- hasaki-gen-crud/template.go | 9 +++++++++ 1 file changed, 9 insertions(+) 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------------------------------------