Browse Source

refill check_electirc

xiaoyu 3 years ago
parent
commit
84ff38f31f
1 changed files with 3 additions and 0 deletions
  1. 3 0
      mobile/control/refill.php

+ 3 - 0
mobile/control/refill.php

@@ -218,6 +218,9 @@ class refillControl extends merchantControl
 
 
     private function check_electirc($params)
     private function check_electirc($params)
     {
     {
+        if(empty($params['cardno'])) {
+            return [false,'参数没有包含cardno'];
+        }
         if(empty($params['notifyurl'])) {
         if(empty($params['notifyurl'])) {
             return [false,'参数没有包含notifyurl'];
             return [false,'参数没有包含notifyurl'];
         }
         }