hrjy 3 năm trước cách đây
mục cha
commit
5ca04d9044
1 tập tin đã thay đổi với 2 bổ sung2 xóa
  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();
             }
-//        }
+        }
     }
 }