作者 chencheng

0601-17

... ... @@ -185,7 +185,7 @@ class Client extends Base
$receive=Db::name('verification_receive')
->alias('a')
->join('verification_coupon b','a.verification_coupon_id=b.id')
->field("a.id,b.name,b.type,b.voucher_amount,b.gift,b.consumption,b.reduction,b.consumption_name,b.image,DATE_FORMAT(FROM_UNIXTIME(b.closetime), '%Y-%m-%d %H:%i:%S') AS closetime")
->field("a.id,b.name,b.type,b.voucher_amount,b.gift,b.consumption,b.reduction,b.consumption_name,b.image,DATE_FORMAT(FROM_UNIXTIME(b.closetime), '%Y-%m-%d') AS closetime")
->where($receivewhere)->select();
$order['receive']=$receive;
foreach ($order['receive'] as $key => $value) {
... ...