管理功能升级

This commit is contained in:
2016-06-27 17:53:01 +08:00
parent 81b6167106
commit 028187797d
15 changed files with 453 additions and 136 deletions

View File

@@ -18,6 +18,7 @@ class Ad{
echo "";return;
}
$ad = db('Ad')->where(array('place_id'=>$place['id'],'status'=>1))->select();
$list = array();
foreach ($ad as $key => $value) {
if ($value['photolist'] != '') {
$photolist = explode(',', $value['photolist']);