瀏覽代碼

修复阅读记录bug

kobe6258 4 月之前
父節點
當前提交
3441af4449
共有 1 個文件被更改,包括 2 次插入0 次删除
  1. 2 0
      services/user_source_click_flow.go

+ 2 - 0
services/user_source_click_flow.go

@@ -10,6 +10,8 @@ import (
 func GetUserSourceClickFlowListCountByUserId(userId int, condition string, pars []interface{}, permissionIds []int, product models.SourceType) (total int, conditionNew string, parsNew []interface{}, err error) {
 	if len(permissionIds) == 0 {
 		total, err = models.GetUserSourceClickFlowListCountByUserId(userId, condition, pars)
+		conditionNew = condition
+		parsNew = pars
 		return
 	}
 	if product == models.AudioSourceType || product == models.VideoSourceType {