fix: 修复了FinancialRecordController中的逻辑错误
This commit is contained in:
parent
f2277960c2
commit
4575eccbe5
@ -23,7 +23,7 @@ class FinancialRecordController extends BaseApiController
|
||||
{
|
||||
$start_time = $this->request->get('start_time');
|
||||
$end_time = $this->request->get('end_time');
|
||||
if(isset($start_time)||isset($end_time)){
|
||||
if(!isset($start_time)||!isset($end_time)){
|
||||
$start_time=date('Y-m-d',time());
|
||||
$end_time=date('Y-m-d',strtotime('-7 days'));
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user