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)