瀏覽代碼

gdsinopec fix

haru haru 2 年之前
父節點
當前提交
08775c6824
共有 1 個文件被更改,包括 1 次插入0 次删除
  1. 1 0
      helper/refill/api/xyz/gdsinopec/RefillPhone.php

+ 1 - 0
helper/refill/api/xyz/gdsinopec/RefillPhone.php

@@ -74,6 +74,7 @@ class RefillPhone extends refill\IRefillThird
             return [false, $products];
         } else {
             $match_products = [];
+            $amount = intval($amount);
             foreach ($products as $product)
             {
                 $value = intval($product['value']);