This commit is contained in:
UlricQin 2020-12-09 20:20:21 +08:00
parent 5bd9c5fefc
commit ac2efd2baf
1 changed files with 2 additions and 2 deletions

View File

@ -145,12 +145,12 @@ func userProfilePut(c *gin.Context) {
} }
if f.Typ != target.Typ { 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 target.Typ = f.Typ
} }
if f.Status != target.Status { 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 target.Status = f.Status
} }