|
@@ -1,10 +1,10 @@
|
|
|
<?php
|
|
|
|
|
|
-use refill;
|
|
|
-use mtopcard;
|
|
|
-
|
|
|
require_once (BASE_ROOT_PATH . '/helper/model_helper.php');
|
|
|
|
|
|
+use mtopcard;
|
|
|
+use refill;
|
|
|
+
|
|
|
class proxy
|
|
|
{
|
|
|
const max_retry = 5;
|
|
@@ -59,7 +59,6 @@ class proxy
|
|
|
}
|
|
|
|
|
|
Log::record("proxy::add 3" ,Log::DEBUG);
|
|
|
-
|
|
|
[$errcode, $errmsg, $order_id, $neterr] = refill\RefillFactory::instance()->add($mchid, $buyer_id, $amount, $card_no,
|
|
|
$mch_order, $idcard, $card_name, $notify_url, $quality,$org_quality,
|
|
|
$order_time, $commit_times, $last_order_id,$card_type);
|