提交 ac2efd2b 编写于 作者: U UlricQin

bugfix

上级 5bd9c5fe
......@@ -145,12 +145,12 @@ func userProfilePut(c *gin.Context) {
}
if f.Typ != target.Typ {
arr = append(arr, fmt.Sprintf("typ: %s -> %s", target.Typ, f.Typ))
arr = append(arr, fmt.Sprintf("typ: %d -> %d", target.Typ, f.Typ))
target.Typ = f.Typ
}
if f.Status != target.Status {
arr = append(arr, fmt.Sprintf("typ: %s -> %s", target.Status, f.Status))
arr = append(arr, fmt.Sprintf("typ: %d -> %d", target.Status, f.Status))
target.Status = f.Status
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册