|
|
@ -548,7 +548,7 @@ class TestResourceController extends ThinkController
|
|
|
|
$used_resource = $used_resource ?: 0;
|
|
|
|
$used_resource = $used_resource ?: 0;
|
|
|
|
$usable_resource = $allVerifyValue - $used_resource;//小于等于这个值自动审核
|
|
|
|
$usable_resource = $allVerifyValue - $used_resource;//小于等于这个值自动审核
|
|
|
|
$usable_resource -= $resource;
|
|
|
|
$usable_resource -= $resource;
|
|
|
|
if ($data['apply_resource'] <= $usable_resource&&$data['apply_resource']<$availableBalance) {
|
|
|
|
if ($data['apply_resource'] <= $usable_resource&&$data['apply_resource']<=$availableBalance) {
|
|
|
|
$data['verify_remark'] = '自动审核';
|
|
|
|
$data['verify_remark'] = '自动审核';
|
|
|
|
$data['verify_resource']= $data['apply_resource'];
|
|
|
|
$data['verify_resource']= $data['apply_resource'];
|
|
|
|
$data['verify_time'] = time();
|
|
|
|
$data['verify_time'] = time();
|
|
|
|