Commit bd7e0499 authored by hujiebin's avatar hujiebin

Update headwear.go

parent f9df18e9
......@@ -90,5 +90,5 @@ func DelHeadwear(model *domain.Model, userId, headwearId mysql.ID) error {
if userHeadwear, _, err = userHeadwear.MgrDel(0); err != nil {
return err
}
return nil
return userHeadwear.Persistent()
}
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