|
@@ -36,9 +36,9 @@ class card_query
|
|
|
}
|
|
|
};
|
|
|
|
|
|
- // "status": 1 //状态 0:空号;1:实号;2:停机;3:库无;4:沉默号;5:风险号
|
|
|
$status_converter = function ($code)
|
|
|
{
|
|
|
+ // "status": 1 //状态 0:空号;1:实号;2:停机;3:库无;4:沉默号;5:风险号 6: 未知 7: 流量卡
|
|
|
if($code === 1) {
|
|
|
return 1;
|
|
|
} elseif($code === 2) {
|
|
@@ -341,6 +341,7 @@ class card_query
|
|
|
$mod_card->replace_card($card_no,$card_type,$org_type,$region_no,$transfer,$status);
|
|
|
};
|
|
|
|
|
|
+ ////////////////////////////////////////////////////////////////////////////////////////////////////////////////
|
|
|
$validate = true;
|
|
|
$black = 0;
|
|
|
|
|
@@ -363,7 +364,7 @@ class card_query
|
|
|
{
|
|
|
[$succ,$card_type,$region_no,$isTransfer,$status] = $this->tianyan_query($card_no);
|
|
|
if($succ === false) {
|
|
|
- return [];
|
|
|
+ return [true, $org_type, -1, false, 1];
|
|
|
}
|
|
|
}
|
|
|
|