瀏覽代碼

debug alipay

stanley-king 9 年之前
父節點
當前提交
bee562951b
共有 1 個文件被更改,包括 2 次插入0 次删除
  1. 2 0
      mobile/control/app_pay.php

+ 2 - 0
mobile/control/app_pay.php

@@ -270,8 +270,10 @@ class app_payControl extends mbMemberControl
         }
 
         if(bccomp($result['data']['api_pay_amount'],$total_fee,2) == 0) {
+            Log::record("check_fee success.",Log::DEBUG);
             return true;
         } else {
+            Log::record("check_fee error.",Log::ERR);
             return false;
         }
     }