...
|
...
|
@@ -810,7 +810,7 @@ class Order extends Api |
|
|
->where('a.subscription_id',$has_number['subscription_id'])
|
|
|
->where('b.status','in','2,3,5')
|
|
|
->count();
|
|
|
if($count > 1){
|
|
|
if($count > 0){
|
|
|
$has_number->delete();
|
|
|
}else{
|
|
|
(new PrivateNumber)->unbind($has_number['subscription_id']);
|
...
|
...
|
|