Explorar o código

add cur_quality to find_quality

stanley-king %!s(int64=3) %!d(string=hai) anos
pai
achega
9f6f096b55
Modificáronse 2 ficheiros con 0 adicións e 3 borrados
  1. 0 1
      helper/mtopcard/mtopcard.php
  2. 0 2
      helper/refill/RefillBase.php

+ 0 - 1
helper/mtopcard/mtopcard.php

@@ -3,7 +3,6 @@
 namespace mtopcard;
 
 use Log;
-use PHPUnit\SebastianBergmann\Type\UnknownType;
 
 #用户卡的类型
 const UnknownCard = 0;

+ 0 - 2
helper/refill/RefillBase.php

@@ -170,12 +170,10 @@ class RefillBase
         $card_type = intval($refill_info['card_type']);
         $org_quality = intval($refill_info['org_quality']);
         $cur_quality = intval($refill_info['quality']); //从数据库中读取的字段。
-
         $used_time = time() - intval($refill_info['order_time']);
         $commit_times = intval($refill_info['commit_times']);
         $regin_no = $refill_info['regin_no'];
 
-
         //三方充值,不做重试
         if($card_type == mtopcard\ThirdRefillCard) {
             return [false,null];