fix: sync2ne flag
This commit is contained in:
@@ -298,7 +298,7 @@ func XormUpdateNeInfo(neInfo *NeInfo) (int64, error) {
|
||||
|
||||
xSession := xEngine.NewSession()
|
||||
defer xSession.Close()
|
||||
affected, err := xSession.ID(neInfo.Id).Update(neInfo)
|
||||
affected, err := xSession.ID(neInfo.Id).MustCols("status").Update(neInfo)
|
||||
xSession.Commit()
|
||||
return affected, err
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user