public static function init() { if (!empty($_POST['json'])) { if (get_magic_quotes_gpc()) { $_POST['json'] = stripslashes($_POST['json']); } $_POST = json_decode($_POST['json'], true); } self::$session = _POST('session', array()); self::$pagination = _POST('pagination', array('page' => 1, 'count' => 10)); }
* 2319 Est.Tower Van Palace * No.2 Guandongdian South Street * Beijing , China * * U.S. Office: * One Park Place, Elmira College, NY, 14901, USA * * QQ Group: 329673575 * BBS: bbs.ecmobile.cn * Fax: +86-10-6561-5510 * Mail: info@geek-zoo.com */ define('INIT_NO_USERS', true); require EC_PATH . '/includes/init.php'; //get方式验证session GZ_Api::$session = array('uid' => _GET('uid'), 'sid' => _GET('sid')); GZ_Api::authSession(); $code = trim(_GET('code')); $order_id = _GET('order_id'); $order_desc = _GET('order_desc'); $amount = _GET('amount'); $currency = _GET('currency'); /* $code = 'alipay'; $order_id = date('YmdHis', time()); $order_desc = 'ipod'; $amount = 0.01; */ $ecmobile_url = ecmobile_url(); if (empty($code) || empty($order_id) || empty($order_desc) || empty($amount)) { self::outPut(101);