From 70097919c85b0c6810fc1ab68e0e2a0f6aadf03e Mon Sep 17 00:00:00 2001 From: hujiebin Date: Fri, 9 Jun 2023 15:10:05 +0800 Subject: [PATCH] Update cp.go --- cv/cp_cv/cp.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/cv/cp_cv/cp.go b/cv/cp_cv/cp.go index 8e5939f..9ea63c2 100644 --- a/cv/cp_cv/cp.go +++ b/cv/cp_cv/cp.go @@ -10,6 +10,6 @@ type CvCp struct { } type CvCpInfoAll struct { - UserInfo *user_cv.CvUserBase `json:"userInfo"` // 用户信息 - CpUserInfo *user_cv.CvUserBase `json:"cpUserInfo"` // cp用户信息 + UserInfo *user_cv.CvUserBase `json:"userInfo,omitempty"` // 用户信息 + CpUserInfo *user_cv.CvUserBase `json:"cpUserInfo,omitempty"` // cp用户信息 } -- 2.22.0