Kirin 3 年之前
父節點
當前提交
eb843b3e53
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      app/api/controller/user/UserExtractController.php

+ 1 - 1
app/api/controller/user/UserExtractController.php

@@ -25,7 +25,7 @@ class UserExtractController
     public function bank(Request $request)
     {
         $user = $request->user();
-        $broken_time = intval(sys_config('extract_time'));
+        $broken_time = intval(sys_config('extract_time', 0, true));
         $search_time = time() - 86400 * $broken_time;
         //可提现佣金
         //返佣 +