diff --git a/Application/Admin/Controller/StatementMangementController.class.php b/Application/Admin/Controller/StatementMangementController.class.php index fd663c8da..e31bc70ea 100644 --- a/Application/Admin/Controller/StatementMangementController.class.php +++ b/Application/Admin/Controller/StatementMangementController.class.php @@ -325,6 +325,9 @@ class StatementMangementController extends ThinkController $data['accounts'] = json_decode($data['accounts'], true) ?: []; $this->assign('data', $data); } + } else { + $data['reward_time'] = strtotime(date('Y-m-01')); + $this->assign('data', $data); } $this->display(); } diff --git a/Application/Admin/View/StatementMangement/rewardManageSave.html b/Application/Admin/View/StatementMangement/rewardManageSave.html index 08332f1bf..7c86ec66b 100644 --- a/Application/Admin/View/StatementMangement/rewardManageSave.html +++ b/Application/Admin/View/StatementMangement/rewardManageSave.html @@ -62,7 +62,7 @@ charset="UTF-8">