|
@@ -59,6 +59,7 @@ class JRecord extends MongoAr
|
|
|
$newRow['id'] = (string)$row['_id'];
|
|
|
$newRow['coupon_id'] = (string)$row['coupon_id'];
|
|
|
$coupon = JCoupon::get(new MongoId($newRow['coupon_id']));
|
|
|
+ $newRow['coupon_coding'] = $coupon->coupon_coding;
|
|
|
$gift = Gift::get(new MongoId((string)$coupon->gift_id));
|
|
|
$newRow['pwd'] = $coupon->pwd;
|
|
|
$newRow['gift_name'] = $gift->title;
|
|
@@ -67,6 +68,7 @@ class JRecord extends MongoAr
|
|
|
$newRow['user_info'] = CommonFn::get_val_if_isset($row,'user_info','');
|
|
|
$newRow['name'] = $newRow['user_info']['name'];
|
|
|
$newRow['mobile'] = $newRow['user_info']['mobile'];
|
|
|
+
|
|
|
$newRow['flow'] = CommonFn::get_val_if_isset($row,'flow','');
|
|
|
$newRow['flow_number'] = CommonFn::get_val_if_isset($row,'flow_number','');
|
|
|
$newRow['status'] = CommonFn::get_val_if_isset($row,'status','');
|