|
@@ -77,12 +77,12 @@ class RefillPhone extends refill\IRefillPhone
|
|
|
return [true, '', false];
|
|
|
} elseif (in_array($nRtn, config::ERRCODES, true)) {
|
|
|
return [false, config::ERRMSG[$nRtn], false];
|
|
|
- } elseif (in_array($nRtn, [2050, 999])) { //下单异常
|
|
|
+ } elseif (in_array($nRtn, [2050, 999])) {
|
|
|
$net_errno = "HTTP-$nRtn";
|
|
|
- return [false, config::ERRMSG[$nRtn], true];
|
|
|
+ return [false, $net_errno, true];
|
|
|
} else {
|
|
|
$net_errno = "HTTP-998";
|
|
|
- return [false, "其他异常", true];
|
|
|
+ return [false, $net_errno, true];
|
|
|
}
|
|
|
}
|
|
|
}
|