Commit afd01214 by duwenjun

变量优化

parent 78359593
Showing with 3 additions and 2 deletions
......@@ -232,7 +232,6 @@ class QuoteModel extends Model
return $list;
} else {
$list = $list->paginate($limit, ['*'], 'page', $page)->toArray();
$list['data'] = $this->handleData($list['data'], $type);
$msg = '成功';
......@@ -264,7 +263,9 @@ class QuoteModel extends Model
$list['count']['confirmed_status'] = $this->commonQuery($map, $input, 2);
}
$msg = $list['count'];
if (isset($list['count'])){
$msg = $list['count'];
}
}
// return [0, '获取成功', $list['data'], $list['total']];
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment