Browse Source

Update check_card.php

tags/6.2.7
叙述、别离 1 year ago
parent
commit
cd53fb7d92
1 changed files with 2 additions and 2 deletions
  1. +2
    -2
      src/user/check_card.php

+ 2
- 2
src/user/check_card.php View File

@@ -15,7 +15,7 @@ if (strtolower($vdcode) != $svali || $svali == "") {
}
$cardid = preg_replace("#[^0-9A-Za-z-]#", "", $cardid);
if (empty($cardid)) {
ShowMsg("卡号为空", "-1");
ShowMsg("卡号不能为空", "-1");
exit();
}
$row = $dsql->GetOne("SELECT * FROM `#@__moneycard_record` WHERE cardid='$cardid' ");
@@ -24,7 +24,7 @@ if (!is_array($row)) {
exit();
}
if ($row['isexp'] == -1) {
ShowMsg("卡号已失效,不能再次使用", "-1");
ShowMsg("卡号已失效,不能再次使用", "-1");
exit();
}
$hasMoney = $row['num'];


Loading…
Cancel
Save