Commit 08dda557 authored by hujun's avatar hujun

where

parent 514812af
......@@ -145,6 +145,7 @@ class CouponService{
}
}
if ($v['available'] != -1) {
if ($type == 0) {
if ($invitee_id) {
$count_where['invitee_id'] = $invitee_id;
......@@ -156,7 +157,7 @@ class CouponService{
}
}
if ($v['available'] != -1) {
$where['user_id'] = $user_id;
$where['activity_id'] = $v['id'];
$where['status'] = ['<>',2];
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment