|
|
@ -120,11 +120,12 @@ class TestingResourceService
|
|
|
|
$orderData['provide_status'] = 2;
|
|
|
|
$orderData['provide_status'] = 2;
|
|
|
|
} else {
|
|
|
|
} else {
|
|
|
|
$orderData['provide_status'] = 1;
|
|
|
|
$orderData['provide_status'] = 1;
|
|
|
|
|
|
|
|
$provideAmount += $order['amount'];
|
|
|
|
}
|
|
|
|
}
|
|
|
|
} else {
|
|
|
|
} else {
|
|
|
|
$orderData['provide_status'] = 1;
|
|
|
|
$orderData['provide_status'] = 1;
|
|
|
|
|
|
|
|
$provideAmount += $order['amount'];
|
|
|
|
}
|
|
|
|
}
|
|
|
|
$provideAmount += $order['amount'];
|
|
|
|
|
|
|
|
$orderData['provide_time'] = time();
|
|
|
|
$orderData['provide_time'] = time();
|
|
|
|
M('testing_resource_order', 'tab_')
|
|
|
|
M('testing_resource_order', 'tab_')
|
|
|
|
->where(['id' => $order['id']])
|
|
|
|
->where(['id' => $order['id']])
|
|
|
|