hrjy 3 лет назад
Родитель
Сommit
5ca04d9044
1 измененных файлов с 2 добавлено и 2 удалено
  1. 2 2
      app/api/controller/user/UserController.php

+ 2 - 2
app/api/controller/user/UserController.php

@@ -746,7 +746,7 @@ class UserController
      */
     public function bonus()
     {
-//        if (date('d', time()) == 1){
+        if (date('d', time()) == 1){
             try {
                 Db::startTrans();
                 User::bonus();
@@ -755,6 +755,6 @@ class UserController
             } catch (\Exception $e) {
                 Db::rollback();
             }
-//        }
+        }
     }
 }