From 2c436b1a6c2f10fdf9ca730bb2a9825b1daa5c20 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E7=99=BD=E8=8C=B6=E6=B8=85=E6=AC=A2?= Date: Fri, 12 Nov 2021 11:40:39 +0800 Subject: [PATCH] fix --- git_hook/register.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/git_hook/register.go b/git_hook/register.go index 01e644d..7544808 100644 --- a/git_hook/register.go +++ b/git_hook/register.go @@ -36,7 +36,7 @@ func RegisterGitHookRouter(router *gin.Engine, handler IGitHookEventHandler) err responseData = &ResponseData{ Code: 100, Message: "处理完成(未设置返回值,系统默认返回此信息)", - Data: map[string]interface{} + Data: map[string]interface{}{}, } } ctx.JSON(http.StatusOK, responseData)