浏览代码

refill check_electirc

xiaoyu 3 年之前
父节点
当前提交
84ff38f31f
共有 1 个文件被更改,包括 3 次插入0 次删除
  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)
     {
+        if(empty($params['cardno'])) {
+            return [false,'参数没有包含cardno'];
+        }
         if(empty($params['notifyurl'])) {
             return [false,'参数没有包含notifyurl'];
         }