作者 王小刚
1 个管道 的构建 通过 耗费 1 秒

......

... ... @@ -41,7 +41,6 @@ class PlatformordersController extends AdminBaseController{
foreach ($data1['data'] as $key => $val){
$data1['data'][$key]['dizhi'] = Db::name('address') -> where('id',$val['indent_address']) -> find();
}
dump($data1);
$this -> assign('data1',$data1['data']);
}
$this -> assign('data',$data);
... ...
... ... @@ -52,8 +52,8 @@
<tr class="tr{$vo.id}">
<td>{$vo.id}</td>
<td>{$vo.order_number}</td>
<td>{$vo.name}</td>
<td>{$vo.phone}</td>
<td>{$vo.dizhi.name}</td>
<td>{$vo.dizhi.phone}</td>
<td>{$vo.dizhi['region']} {$vo.dizhi['detailed']}</td>
<td>{$vo.book_num}</td>
<td>{$vo.money}</td>
... ...