stanley-king 8 years ago
parent
commit
322e00438a
1 changed files with 8 additions and 3 deletions
  1. 8 3
      mobile/control/home.php

+ 8 - 3
mobile/control/home.php

@@ -10,13 +10,18 @@
 
 defined('InShopNC') or exit('Access Invalid!');
 
+require_once (BASE_ROOT_PATH . '/helper/util_helper.php');
 
-class homeControl extends indexControl
+class homeControl extends mobileHomeControl
 {
     public function __construct()
     {
-        $_POST['client_type'] = 'wap';
-        $_GET['client_type'] = 'wap';
         parent::__construct();
     }
+
+    public function memnoOp()
+    {
+        $mem_no = util::mem_no();
+        return self::outsuccess(array('mem_no' => $mem_no));
+    }
 }