Ver código fonte

add quality to add mob api

stanley-king 4 anos atrás
pai
commit
00e79be4b9
1 arquivos alterados com 4 adições e 2 exclusões
  1. 4 2
      racc/control/lzrefill.php

+ 4 - 2
racc/control/lzrefill.php

@@ -74,6 +74,7 @@ class lzrefillControl extends lzbaseControl
         $card_no = $_GET['mob'];
         $notify_url = $_GET['notifyurl'];
         $mch_order = $_GET['ord']; //对方的order编号
+        $quality = $_GET['quality'];
 
         if($amount > $this->available) {
             return self::outerr(4,$this->available);
@@ -92,9 +93,10 @@ class lzrefillControl extends lzbaseControl
             'amount' => $amount,
             'card_no' => $card_no,
             'mch_order' => $mch_order,
-            'notify_url' => $notify_url];
-        $ret = refill\util::push_add($params);
+            'notify_url' => $notify_url,
+            'quality' => $quality];
 
+        $ret = refill\util::push_add($params);
         if($ret) {
             return self::outsuccess($this->available);
         }