public function act_getReturnGoodList() { $purid = isset($_GET['purid']) ? $_GET['purid'] : '1'; $where = isset($_GET['where']) ? base64_decode($_GET['where']) : ''; $page = isset($_GET['page']) ? $_GET['page'] : '1'; $rtn_data = RtnPurchaseErpApiModel::getReturnGoodList($purid, $where, $page); return $rtn_data; }
public function initDB() { global $dbConn; self::$dbConn = $dbConn; mysql_query('SET NAMES UTF8'); }