mirror of
https://github.com/crmeb/CRMEB.git
synced 2026-10-28 21:40:50 +00:00
【程序目录】更新
This commit is contained in:
parent
57b9093716
commit
e1abe849a0
@ -68,6 +68,12 @@ class FlowStatistic extends AuthController
|
||||
['type', 'day'],
|
||||
['time', '']
|
||||
]);
|
||||
|
||||
// 当$where['time']不为空,且格式不是2025/12/01-2025/12/15时,重置$where['time']为空
|
||||
if ($where['time'] != '' && !preg_match('/^\d{4}\/\d{2}\/\d{2}-\d{4}\/\d{2}\/\d{2}$/', $where['time'])) {
|
||||
$where['time'] = '';
|
||||
}
|
||||
|
||||
$data = $this->services->getFlowRecord($where);
|
||||
return app('json')->success($data);
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user