|
|
@@ -77,6 +77,9 @@ class UserExtractController
|
|
|
['cardnum', ''],
|
|
|
['weixin', ''],
|
|
|
], $request);
|
|
|
+ if ($extractInfo['money'] % 100 != 0) {
|
|
|
+ return app('json')->fail('只能提现整百数字的金额');
|
|
|
+ }
|
|
|
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('提现金额输入有误');
|