hrjy 3 years ago
parent
commit
5ca04d9044
1 changed files with 2 additions and 2 deletions
  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();
             }
-//        }
+        }
     }
 }