Commit ca13b06d authored by hujun's avatar hujun

提示信息

parent 925c8df9
......@@ -3778,7 +3778,6 @@ class Finance extends Basic
$msg = '';
$code = 200;
try {
$m_paylog = new OPayLogAdjustment();
/*提交时间 start*/
if (!empty($this->params['start_time']) && empty($this->params['end_time'])) {
......@@ -3930,7 +3929,10 @@ class Finance extends Basic
} else {
$list = $m_paylog->getAdjustmentListLimit(1, 40000, $order_ = 'a.id desc', $field, $where);
if (!empty($list)) {
if (empty($list)) {
$this->closeWin = 1;
$this->error('暂无数据,请关闭页面!');
} else {
$excel_data = [];
foreach ($list as $k => $v) {
$excel_data[$k]['create_time'] = $v['create_time'];
......@@ -3963,12 +3965,6 @@ class Finance extends Basic
}
}
} catch (\Exception $e) {
$code = 101;
$msg = '内部错误:'.$e->getMessage();
}
return $this->response($code, $msg, $data);
}
......
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