瀏覽代碼

no message

xingzai 1 年之前
父節點
當前提交
09a52d6bd3
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      services/activity_special_trip.go

+ 1 - 1
services/activity_special_trip.go

@@ -265,8 +265,8 @@ func DeductTripRemainingtimesByUser(user *models.WxUserItem, activityInfo *model
 				err = errors.New("AddCygxActivitySpecialPermissionPoints, Err:" + e.Error())
 				return
 			}
+			return
 		}
-		return
 	} else {
 		condition = " AND  company_id  = ?  AND points  > 0   ORDER BY  points DESC LIMIT 1   "
 		pars = append(pars, companyId)