收支核对修改
This commit is contained in:
@@ -5,7 +5,7 @@
|
|||||||
* @Author: kangkang
|
* @Author: kangkang
|
||||||
* @Date: 2020-10-03 18:23:43
|
* @Date: 2020-10-03 18:23:43
|
||||||
* @LastEditors: kangkang
|
* @LastEditors: kangkang
|
||||||
* @LastEditTime: 2020-10-26 11:45:39
|
* @LastEditTime: 2020-10-26 12:16:13
|
||||||
*/
|
*/
|
||||||
$is_script = 1;
|
$is_script = 1;
|
||||||
include __DIR__ . '/../index.php';
|
include __DIR__ . '/../index.php';
|
||||||
@@ -33,8 +33,8 @@ $product_order_enum = new ProductOrderEnum;
|
|||||||
$income_check_model = new IncomeCheckModel;
|
$income_check_model = new IncomeCheckModel;
|
||||||
|
|
||||||
$data = [];
|
$data = [];
|
||||||
$today = date('Y-m-d', time());
|
$today = date('Y-m-d 00:00:00', time());
|
||||||
$yesterday = date('Y-m-d', (time() - 86400));
|
$yesterday = date('Y-m-d 00:00:00', (time() - 86400));
|
||||||
$data['user_balance'] = $user->field('SUM(`RestAmount`) AS balance')->fetch()['balance'];
|
$data['user_balance'] = $user->field('SUM(`RestAmount`) AS balance')->fetch()['balance'];
|
||||||
|
|
||||||
$where1 = ['UpdateTime' => ['<', $today]];
|
$where1 = ['UpdateTime' => ['<', $today]];
|
||||||
|
|||||||
Reference in New Issue
Block a user