...
|
...
|
@@ -61,7 +61,8 @@ class Coupon extends Model |
|
|
c.coupon_price,
|
|
|
c.limit_price,
|
|
|
from_unixtime(c.expiretime,'%Y-%m-%d') expiretime,
|
|
|
if(uc.coupon_id > 0,'1','0') isreceive
|
|
|
if(uc.coupon_id > 0,'1','0') isreceive,
|
|
|
category_ids
|
|
|
")
|
|
|
->group('c.id')
|
|
|
->order('c.expiretime asc')
|
...
|
...
|
|