pairs[i].substring(0, pos)] = decodeURIComponent(pairs[i].substring(pos + 1));
                    }
                },
                doRedirect: function() {
					var code = GWC.urlParams['code'];
                    var appId = GWC.urlParams['client_id'];
                    var state = GWC.urlParams['state'];
                    var response_type = GWC.urlParams['response_type'];
                    var redirectUri;

                    if (!code) {
                        //第一步，没有拿到cod