hrjy 3 年之前
父节点
当前提交
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();
             }
-//        }
+        }
     }
 }