浏览代码

modify price error code

stanley-king 4 年之前
父节点
当前提交
7815a20b6f
共有 1 个文件被更改,包括 2 次插入1 次删除
  1. 2 1
      rdispatcher/proxy.php

+ 2 - 1
rdispatcher/proxy.php

@@ -4,6 +4,7 @@ require_once (BASE_ROOT_PATH . '/helper/model_helper.php');
 
 use mtopcard;
 use refill;
+use refill\errcode;
 
 class proxy
 {
@@ -67,7 +68,7 @@ class proxy
         if($errcode !== true)
         {
             $fNotify = true;
-            if(($errcode === refill\errcode::MERCHANT_REFILL_ERROR && $neterr) || $errcode == refill\errcode::PROVIDER_OVERLOAD)
+            if(($errcode === refill\errcode::MERCHANT_REFILL_ERROR && $neterr) || $errcode == refill\errcode::PROVIDER_OVERLOAD || $errcode == errcode::MERCHANT_PRICE_UNSETTING)
             {
                 [$org_quality,$quality] = refill\RefillFactory::instance()->find_quality($mchid,$amount,$card_type,$org_quality,$commit_times,time() - $order_time);
                 if ($quality > 0) {