作者 潘浩文
1 个管道 的构建 通过 耗费 1 秒

接口

@@ -81,7 +81,7 @@ class AdminGoodsOrderController extends AdminBaseController @@ -81,7 +81,7 @@ class AdminGoodsOrderController extends AdminBaseController
81 ->join('user u','go.user_id=u.id') 81 ->join('user u','go.user_id=u.id')
82 ->join('address a','go.address_id=a.id') 82 ->join('address a','go.address_id=a.id')
83 ->where($where) 83 ->where($where)
84 - ->field('*,go.create_time as gcreate_time') 84 + ->field('*,go.create_time as gcreate_time,go.id as goid')
85 ->order('go.create_time', 'desc') 85 ->order('go.create_time', 'desc')
86 ->paginate('10'); 86 ->paginate('10');
87 //向地址传参 87 //向地址传参
@@ -71,7 +71,7 @@ @@ -71,7 +71,7 @@
71 <input type="checkbox" class="js-check" data-yid="js-check-y" data-xid="js-check-x" name="ids[]" 71 <input type="checkbox" class="js-check" data-yid="js-check-y" data-xid="js-check-x" name="ids[]"
72 value="{$vo.id}" title="ID:{$vo.id}"> 72 value="{$vo.id}" title="ID:{$vo.id}">
73 </td> 73 </td>
74 - <td>{$vo.id}</td> 74 + <td>{$vo.goid}</td>
75 <td>{$vo.order_sn}</td> 75 <td>{$vo.order_sn}</td>
76 <td>{:date('Y-m-d H:i:s',$vo['gcreate_time'])}</td> 76 <td>{:date('Y-m-d H:i:s',$vo['gcreate_time'])}</td>
77 <td>{$vo.goods_name}</td> 77 <td>{$vo.goods_name}</td>