Gorm 更新 0 值

方法一:结构体加 force 标签

`gorm:"force"`

方法二:
Select("*")

 

方法三:

map

posted @ 2021-05-24 17:48  winyh  阅读(499)  评论(0编辑  收藏  举报