作者 lyh

gx

... ... @@ -339,8 +339,8 @@ class ComController extends BaseController
$purchaserModel = new Purchaser();
$data = [];
$lists = $purchaserModel->list(['project_id'=>$this->user['project_id']]);
if(!empty($lists) && !empty($lists['list'])){
foreach ($lists['list'] as $k => $v){
if(!empty($lists)){
foreach ($lists as $v){
$resultData = json_decode($v['data']);
foreach ($resultData as $value){
$data[] = $value;
... ...