作者 anyv
1 个管道 的构建 通过 耗费 1 秒

554

... ... @@ -52,11 +52,9 @@ class SalesmanorderController extends AdminBaseController{
$money += $data_arr['data'][$key]['money'];
}
}
$data_school = Db::name('indent') -> group('school') -> where('indent_type',2) -> select() -> toArray();
$data_school = Db::name('school') -> group('school') -> select() -> toArray();
foreach($data_school as $key => $val){
if(!empty($val['school'])){
$school[$key] = $val['school'];
}
$school[$key] = $val['school'];
}
$uid = Db::name('my_user') -> alias('a') -> join('user b','a.uid = b.id','LEFT') -> where('a.status = 2') -> select();
/* foreach($uid as $key => $val){
... ...
... ... @@ -184,7 +184,7 @@
id="thumbnails-preview"
width="135" style="cursor: pointer"/>
<else/>
<img src="/upload/{$data.show_img}"
<img src="{$data.show_img}"
id="thumbnails-preview"
width="135" style="cursor: pointer"/>
</if>
... ... @@ -206,7 +206,7 @@
id="thumbnail-preview"
width="135" style="cursor: pointer"/>
<else/>
<img src="/upload/{$data.thumbnail}"
<img src="{$data.thumbnail}"
id="thumbnail-preview"
width="135" style="cursor: pointer"/>
</if>
... ...