Commit 6d962890 authored by hujiebin's avatar hujiebin

无称号返回"证书"

parent d96a06e0
...@@ -153,7 +153,7 @@ func GetUserCp(c *gin.Context) (*mycontext.MyContext, error) { ...@@ -153,7 +153,7 @@ func GetUserCp(c *gin.Context) (*mycontext.MyContext, error) {
return myContext, err return myContext, err
} }
// 返回值 // 返回值
title := "" title := cp_cv.GetTranslate(237, req.Language)
if msgId, ok := cp_e.CpLevelTitle[level.Level]; ok { if msgId, ok := cp_e.CpLevelTitle[level.Level]; ok {
title = cp_cv.GetTranslate(msgId, req.Language) title = cp_cv.GetTranslate(msgId, req.Language)
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment