From 1c0ceb29e74ec7ebc11820b2afa57901f20377f2 Mon Sep 17 00:00:00 2001 From: giaogiao Date: Tue, 5 Sep 2023 17:57:32 +0800 Subject: [PATCH] =?UTF-8?q?=E8=BF=94=E5=9B=9E=E5=80=BC=E5=8F=98=E5=B0=8F?= =?UTF-8?q?=E5=86=99?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- res/res.go | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/res/res.go b/res/res.go index 8b362a8..6eeb8aa 100644 --- a/res/res.go +++ b/res/res.go @@ -3,9 +3,9 @@ package res import "encoding/json" type response struct { - Code int - Message string - Uuid string + Code int `json:"code"` + Message string `json:"message"` + Uuid string `json:"uuid"` Data interface{} `json:"data,omitempty"` }