@@ -602,6 +602,8 @@ class RefillBase
if(empty($official_sn)) return false;
+ $official_sn = strtoupper($official_sn);
+
if($card_type === mtopcard\ChinaMobileCard) {
if($start_with($official_sn,'0095')) {
return true;
@@ -45,6 +45,14 @@ class TestRedis extends TestCase
hello($val);
}
+ public function testToUpper()
+ {
+ $official_sn = 'xxx';
+ }
public function testRedisConfig()
{
$config = C('redis');