Browse Source

debug alipay

stanley-king 9 years ago
parent
commit
bee562951b
1 changed files with 2 additions and 0 deletions
  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) {
         if(bccomp($result['data']['api_pay_amount'],$total_fee,2) == 0) {
+            Log::record("check_fee success.",Log::DEBUG);
             return true;
             return true;
         } else {
         } else {
+            Log::record("check_fee error.",Log::ERR);
             return false;
             return false;
         }
         }
     }
     }