|
@@ -2,6 +2,8 @@
|
|
|
|
|
|
defined('InShopNC') or exit('Access Invalid!');
|
|
|
|
|
|
+require_once(BASE_HELPER_PATH . '/mtopcard/mtopcard.php');
|
|
|
+
|
|
|
class card_keycontrol extends BaseSellerControl
|
|
|
{
|
|
|
|
|
@@ -12,7 +14,8 @@ class card_keycontrol extends BaseSellerControl
|
|
|
|
|
|
public function indexOp()
|
|
|
{
|
|
|
- if (chksubmit()) {
|
|
|
+ if (chksubmit())
|
|
|
+ {
|
|
|
if (mtopcard\scard_type($_POST['card_type']) == 'unknown') {
|
|
|
showDialog('卡种错误。', 'reload', 'error');
|
|
|
}
|