Commit bead8cfd authored by hujun's avatar hujun

excel

parent 4dea81c2
...@@ -25,7 +25,7 @@ class Collection extends Basic ...@@ -25,7 +25,7 @@ class Collection extends Basic
*/ */
public function getCollection() { public function getCollection() {
if ($this->request->isAjax()) { if ($this->request->isAjax() || $this->params['excel'] == 1) {
$order = new OPayLogModel(); $order = new OPayLogModel();
$pageNo = empty($this->params['pageNo']) ? 1 : $this->params['pageNo']; $pageNo = empty($this->params['pageNo']) ? 1 : $this->params['pageNo'];
$pageSize = empty($this->params['pageSize']) ? 10 : $this->params['pageSize']; $pageSize = empty($this->params['pageSize']) ? 10 : $this->params['pageSize'];
......
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 to comment