作者 何书鹏
1 个管道 的构建 通过 耗费 2 秒

1

... ... @@ -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')
... ...