Kirin 2 years ago
parent
commit
33009e7295
1 changed files with 1 additions and 1 deletions
  1. 1 1
      app/api/controller/user/UserExtractController.php

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

@@ -71,7 +71,7 @@ class UserExtractController
         ], $request);
         if (time() - CacheService::get('UserExtract_' . $request->uid(), 0) < 10) return app('json')->fail('请勿连续多次提交');
         else CacheService::set('UserExtract_' . $request->uid(), time());
-        if (!preg_match('/^(([1-9]\d*)|0)(\.\d{1-2})?$/', $extractInfo['money'])) return app('json')->fail('提现金额输入有误');
+//        if (!preg_match('/^(([1-9]\d*)|0)(\.\d{1-2})?$/', $extractInfo['money'])) return app('json')->fail('提现金额输入有误');
         $user = $request->user();
         $broken_time = intval(sys_config('extract_time'));
         $search_time = time() - 86400 * $broken_time;