ziwen 1 year ago
parent
commit
b259025f4f
1 changed files with 1 additions and 1 deletions
  1. 1 1
      models/cygx/cygx_yanxuan_special_user.go

+ 1 - 1
models/cygx/cygx_yanxuan_special_user.go

@@ -61,7 +61,7 @@ type EnableCygxYanxuanSpecialAuthorReq struct {
 func EnableYanxuanSpecialAuthor(userId, status int) (err error) {
 func EnableYanxuanSpecialAuthor(userId, status int) (err error) {
 	o := orm.NewOrm()
 	o := orm.NewOrm()
 	sql := ``
 	sql := ``
-	sql = `UPDATE cygx_yanxuan_special_author SET status=?,modify_time=NOW() WHERE user_id = ? `
+	sql = `UPDATE cygx_yanxuan_special_author SET status=? WHERE user_id = ? `
 	_, err = o.Raw(sql, status, userId).Exec()
 	_, err = o.Raw(sql, status, userId).Exec()
 	return
 	return
 }
 }