|
@@ -86,6 +86,9 @@ class Buy extends Base
|
|
|
$data[$k]['desc'] = $v['buy_num'] . '本 ¥' . number_format($v['cash'], 2);
|
|
|
$name = explode('-', $v['name']);
|
|
|
$data[$k]['name'] = $name[0];
|
|
|
+
|
|
|
+ $info = Dever::db('journal/info')->one($v['product_id']);
|
|
|
+ $data[$k]['pic_gd'] = $info['pic_gd'] . '?imageView2/2/w/375';
|
|
|
}
|
|
|
}
|
|
|
|
|
@@ -404,8 +407,10 @@ class Buy extends Base
|
|
|
$send['pay_order_id'] = $order_id;
|
|
|
$send['pay_status'] = 2;
|
|
|
$send['pay_msg'] = 'yes';
|
|
|
+ $send['id'] = $id;
|
|
|
+ $send['url'] = $refer;
|
|
|
Dever::load('act/lib/pay')->act_action($send);
|
|
|
|
|
|
- return $result;
|
|
|
+ return $send;
|
|
|
}
|
|
|
}
|