Pārlūkot izejas kodu

Merge branch 'cygx/7.6' into debug

ziwen 2 gadi atpakaļ
vecāks
revīzija
abb92d4061
1 mainītis faili ar 1 papildinājumiem un 1 dzēšanām
  1. 1 1
      models/micro_roadshow.go

+ 1 - 1
models/micro_roadshow.go

@@ -257,7 +257,7 @@ func GetMicroRoadshowVideoById(videoId int) (item *MicroRoadshowVideo, err error
 }
 
 func UpdateCygxActivityVideoCounts(activityId int) (err error) {
-	sql := `UPDATE cygx_micro_roadshow_video_history SET video_counts = video_counts+1 WHERE video_id = ?  `
+	sql := `UPDATE cygx_micro_roadshow_video SET video_counts = video_counts+1 WHERE video_id = ?  `
 	o := orm.NewOrm()
 	_, err = o.Raw(sql, activityId).Exec()
 	return