update 首单订单详情
This commit is contained in:
parent
c678d95e4d
commit
61a26d5738
|
@ -326,6 +326,7 @@ class UserController extends BaseApiController
|
|||
|
||||
foreach ($firstOrderLogList as &$item) {
|
||||
$item['order_info'] = Db::connect('mysql2')->name('store_order')->alias('o')->field('o.total_num,p.store_name,p.image')->leftJoin('store_order_product op', 'o.order_id=op.order_id')->leftJoin('store_product p', 'op.product_id = p.product_id')->where('o.order_sn', $item['order_no'])->select();
|
||||
$item['create_time'] = date('Y-m-d H:i:s', $item['create_time']);
|
||||
}
|
||||
$data = [
|
||||
'lists' => $firstOrderLogList,
|
||||
|
|
Loading…
Reference in New Issue