真人番摊官网关注互联网产品管理,交流产品设计、用户体验心得!

越南这么一个小国家而且还被分成两半是怎么才打赢美国的

时间:2019-03-15 17:05 来源:未知 作者:admin

  说起越南为什么当年能够打败美国,这确实是一个让人想破脑袋的问题,其实准确点来讲不是越南打败了美国,而是越南背后的势力打败了美国,在越南战争之所以会结束,主要原因还是因为国际形势的变化。当时美国之所以不打,主要有两个原因,第1个美国觉得啃不下来了,第二美国不需要在越南身上浪费精力了。首先要知道越南战争的背景,越南本来是法国的殖民地,在二战中被日本抢走,二战结束之前,法国势力重回越南,想要重新殖民,越南人民在胡志明的带领下和法国展开的反殖民斗争,最终把法国人打出去了,在1945年胡志明带领的越共成立了越南民主共和国,这也就是北越共和国。在1949年,法国人在越南建立了南越,并且扶持了个傀儡,不过法国人没撑多久,因为北越的战争中处于下风,法国在1954年就撤出了越南,但是越南也没有得到解放,因为在1955年,美国人就接收了法国在越南的势力,并且扶植了自己的傀儡政权。当时傀儡政权的首脑叫做吴庭艳,他是汪精卫和李承晚的结合体,为了迎合美国人极力南越人民,同时讨好所有旧势力的代表,无论是殖民时期的官员还是封建遗老,他都照单全收,一时间南越政府乌烟瘴气,势力复杂。真可谓是群魔乱舞,但它们共同的特点就是反对人民,都在压榨人民的权利。所以在这种背景下,北越自然不能坐视国家为分裂。于是在1959年,越共要决定推翻南越政权。只需要明确的一点是,美国人自始至终都没有进攻过北越,他们在越南一直都是在反游击战。以及和颠覆南越的北越军队作战,在北越军队决定打南越之后,南越政权迅速败了下来,因为南越的老百姓一边倒的支持北越,等到1960年的时候,南越政府基本上就已经摇摇欲坠了,但是美国又不能坐视不理,于是在1961年4月份,肯尼迪总统正式下达军事命令,要干涉越南局势。那么美国为什么要打呢?其实,归根结底就两个字,冷战,当时美国和苏联陷入了全球争霸,美国人在亚洲处于明显劣势,而当时的阵营还是非常强大的,除了中国朝鲜以外,印度也亲苏联,柬埔寨也迅速赤化,印尼也有投靠苏联的趋势,如果美国再把越南丢掉,基本上在东南就没有什么话语权了。至于美国是不是真的打不过呢?这是怎么可能的呢?美国撤走的根本原因,就是因为他和中国建交了,在1972年中美关系实现正常化。两个国家联手反苏,而中国的转变,让美国在亚洲的势力发生了彻底的逆转,亚洲第一大国愿意和美国合作,这是美国人求之不得的,这个时候越南就已经无关紧要了,简直可以忽略不计。

  \u8bf4\u8d77\u8d8a\u5357\u4e3a\u4ec0\u4e48\u5f53\u5e74\u80fd\u591f\u6253\u8d25\u7f8e\u56fd\uff0c\u8fd9\u786e\u5b9e\u662f\u4e00\u4e2a\u8ba9\u4eba\u60f3\u7834\u8111\u888b\u7684\u95ee\u9898\uff0c\u5176\u5b9e\u51c6\u786e\u70b9\u6765\u8bb2\u4e0d\u662f\u8d8a\u5357\u6253\u8d25\u4e86\u7f8e\u56fd\uff0c\u800c\u662f\u8d8a\u5357\u80cc\u540e\u7684\u52bf\u529b\u6253\u8d25\u4e86\u7f8e\u56fd\uff0c\u5728\u8d8a\u5357\u6218\u4e89\u4e4b\u6240\u4ee5\u4f1a\u7ed3\u675f\uff0c\u4e3b\u8981\u539f\u56e0\u8fd8\u662f\u56e0\u4e3a\u56fd\u9645\u5f62\u52bf\u7684\u53d8\u5316\u3002

  \u5f53\u65f6\u7f8e\u56fd\u4e4b\u6240\u4ee5\u4e0d\u6253\uff0c\u4e3b\u8981\u6709\u4e24\u4e2a\u539f\u56e0\uff0c\u7b2c1\u4e2a\u7f8e\u56fd\u89c9\u5f97\u5543\u4e0d\u4e0b\u6765\u4e86\uff0c\u7b2c\u4e8c\u7f8e\u56fd\u4e0d\u9700\u8981\u5728\u8d8a\u5357\u8eab\u4e0a\u6d6a\u8d39\u7cbe\u529b\u4e86\u3002

  \u9996\u5148\u8981\u77e5\u9053\u8d8a\u5357\u6218\u4e89\u7684\u80cc\u666f\uff0c\u8d8a\u5357\u672c\u6765\u662f\u6cd5\u56fd\u7684\u6b96\u6c11\u5730\uff0c\u5728\u4e8c\u6218\u4e2d\u88ab\u65e5\u672c\u62a2\u8d70\uff0c\u4e8c\u6218\u7ed3\u675f\u4e4b\u524d\uff0c\u6cd5\u56fd\u52bf\u529b\u91cd\u56de\u8d8a\u5357\uff0c\u60f3\u8981\u91cd\u65b0\u6b96\u6c11\uff0c\u8d8a\u5357\u4eba\u6c11\u5728\u80e1\u5fd7\u660e\u7684\u5e26\u9886\u4e0b\u548c\u6cd5\u56fd\u5c55\u5f00\u7684\u53cd\u6b96\u6c11\u6597\u4e89\uff0c\u6700\u7ec8\u628a\u6cd5\u56fd\u4eba\u6253\u51fa\u53bb\u4e86\uff0c\u57281945\u5e74\u80e1\u5fd7\u660e\u5e26\u9886\u7684\u8d8a\u5171\u6210\u7acb\u4e86\u8d8a\u5357\u6c11\u4e3b\u5171\u548c\u56fd\uff0c\u8fd9\u4e5f\u5c31\u662f\u5317\u8d8a\u5171\u548c\u56fd\u3002

  \u57281949\u5e74\uff0c\u6cd5\u56fd\u4eba\u5728\u8d8a\u5357\u5efa\u7acb\u4e86\u5357\u8d8a\uff0c\u5e76\u4e14\u6276\u6301\u4e86\u4e2a\u5080\u5121\uff0c\u4e0d\u8fc7\u6cd5\u56fd\u4eba\u6ca1\u6491\u591a\u4e45\uff0c\u56e0\u4e3a\u5317\u8d8a\u7684\u6218\u4e89\u4e2d\u5904\u4e8e\u4e0b\u98ce\uff0c\u6cd5\u56fd\u57281954\u5e74\u5c31\u64a4\u51fa\u4e86\u8d8a\u5357\uff0c\u4f46\u662f\u8d8a\u5357\u4e5f\u6ca1\u6709\u5f97\u5230\u89e3\u653e\uff0c\u56e0\u4e3a\u57281955\u5e74\uff0c\u7f8e\u56fd\u4eba\u5c31\u63a5\u6536\u4e86\u6cd5\u56fd\u5728\u8d8a\u5357\u7684\u52bf\u529b\uff0c\u5e76\u4e14\u6276\u690d\u4e86\u81ea\u5df1\u7684\u5080\u5121\u653f\u6743\u3002

  \u5f53\u65f6\u5080\u5121\u653f\u6743\u7684\u9996\u8111\u53eb\u505a\u5434\u5ead\u8273\uff0c\u4ed6\u662f\u6c6a\u7cbe\u536b\u548c\u674e\u627f\u665a\u7684\u7ed3\u5408\u4f53\uff0c\u4e3a\u4e86\u8fce\u5408\u7f8e\u56fd\u4eba\u6781\u529b\u9547\u538b\u5357\u8d8a\u4eba\u6c11\uff0c\u540c\u65f6\u8ba8\u597d\u6240\u6709\u65e7\u52bf\u529b\u7684\u4ee3\u8868\uff0c\u65e0\u8bba\u662f\u6b96\u6c11\u65f6\u671f\u7684\u5b98\u5458\u8fd8\u662f\u5c01\u5efa\u9057\u8001\uff0c\u4ed6\u90fd\u7167\u5355\u5168\u6536\uff0c\u4e00\u65f6\u95f4\u5357\u8d8a\u653f\u5e9c\u4e4c\u70df\u7634\u6c14\uff0c\u52bf\u529b\u590d\u6742\u3002\u771f\u53ef\u8c13\u662f\u7fa4\u9b54\u4e71\u821e\uff0c\u4f46\u5b83\u4eec\u5171\u540c\u7684\u7279\u70b9\u5c31\u662f\u53cd\u5bf9\u4eba\u6c11\uff0c\u90fd\u5728\u538b\u69a8\u4eba\u6c11\u7684\u6743\u5229\u3002

  \u6240\u4ee5\u5728\u8fd9\u79cd\u80cc\u666f\u4e0b\uff0c\u5317\u8d8a\u81ea\u7136\u4e0d\u80fd\u5750\u89c6\u56fd\u5bb6\u4e3a\u5206\u88c2\u3002\u4e8e\u662f\u57281959\u5e74\uff0c\u8d8a\u5171\u8981\u51b3\u5b9a\u63a8\u7ffb\u5357\u8d8a\u653f\u6743\u3002\u53ea\u9700\u8981\u660e\u786e\u7684\u4e00\u70b9\u662f\uff0c\u7f8e\u56fd\u4eba\u81ea\u59cb\u81f3\u7ec8\u90fd\u6ca1\u6709\u8fdb\u653b\u8fc7\u5317\u8d8a\uff0c\u4ed6\u4eec\u5728\u8d8a\u5357\u4e00\u76f4\u90fd\u662f\u5728\u53cd\u6e38\u51fb\u6218\u3002\u4ee5\u53ca\u548c\u98a0\u8986\u5357\u8d8a\u7684\u5317\u8d8a\u519b\u961f\u4f5c\u6218\uff0c\u5728\u5317\u8d8a\u519b\u961f\u51b3\u5b9a\u6253\u5357\u8d8a\u4e4b\u540e\uff0c\u5357\u8d8a\u653f\u6743\u8fc5\u901f\u8d25\u4e86\u4e0b\u6765\uff0c\u56e0\u4e3a\u5357\u8d8a\u7684\u8001\u767e\u59d3\u4e00\u8fb9\u5012\u7684\u652f\u6301\u5317\u8d8a\uff0c\u7b49\u52301960\u5e74\u7684\u65f6\u5019\uff0c\u5357\u8d8a\u653f\u5e9c\u57fa\u672c\u4e0a\u5c31\u5df2\u7ecf\u6447\u6447\u6b32\u5760\u4e86\uff0c\u4f46\u662f\u7f8e\u56fd\u53c8\u4e0d\u80fd\u5750\u89c6\u4e0d\u7406\uff0c\u4e8e\u662f\u57281961\u5e744\u6708\u4efd\uff0c\u80af\u5c3c\u8fea\u603b\u7edf\u6b63\u5f0f\u4e0b\u8fbe\u519b\u4e8b\u547d\u4ee4\uff0c\u8981\u5e72\u6d89\u8d8a\u5357\u5c40\u52bf\u3002\u90a3\u4e48\u7f8e\u56fd\u4e3a\u4ec0\u4e48\u8981\u6253\u5462\uff1f\u5176\u5b9e\uff0c\u5f52\u6839\u7ed3\u5e95\u5c31\u4e24\u4e2a\u5b57\uff0c\u51b7\u6218\uff0c\u5f53\u65f6\u7f8e\u56fd\u548c\u82cf\u8054\u9677\u5165\u4e86\u5168\u7403\u4e89\u9738\uff0c\u7f8e\u56fd\u4eba\u5728\u4e9a\u6d32\u5904\u4e8e\u660e\u663e\u52a3\u52bf\uff0c\u800c\u5f53\u65f6\u7684\u5171\u4ea7\u4e3b\u4e49\u9635\u8425\u8fd8\u662f\u975e\u5e38\u5f3a\u5927\u7684\uff0c\u9664\u4e86\u4e2d\u56fd\u671d\u9c9c\u4ee5\u5916\uff0c\u5370\u5ea6\u4e5f\u4eb2\u82cf\u8054\uff0c\u67ec\u57d4\u5be8\u4e5f\u8fc5\u901f\u8d64\u5316\uff0c\u5370\u5c3c\u4e5f\u6709\u6295\u9760\u82cf\u8054\u7684\u8d8b\u52bf\uff0c\u5982\u679c\u7f8e\u56fd\u518d\u628a\u8d8a\u5357\u4e22\u6389\uff0c\u57fa\u672c\u4e0a\u5728\u4e1c\u5357\u5c31\u6ca1\u6709\u4ec0\u4e48\u8bdd\u8bed\u6743\u4e86\u3002\u81f3\u4e8e\u7f8e\u56fd\u662f\u4e0d\u662f\u771f\u7684\u6253\u4e0d\u8fc7\u5462\uff1f\u8fd9\u662f\u600e\u4e48\u53ef\u80fd\u7684\u5462\uff1f\u7f8e\u56fd\u64a4\u8d70\u7684\u6839\u672c\u539f\u56e0\uff0c\u5c31\u662f\u56e0\u4e3a\u4ed6\u548c\u4e2d\u56fd\u5efa\u4ea4\u4e86\uff0c\u57281972\u5e74\u4e2d\u7f8e\u5173\u7cfb\u5b9e\u73b0\u6b63\u5e38\u5316\u3002\u4e24\u4e2a\u56fd\u5bb6\u8054\u624b\u53cd\u82cf\uff0c\u800c\u4e2d\u56fd\u7684\u8f6c\u53d8\uff0c\u8ba9\u7f8e\u56fd\u5728\u4e9a\u6d32\u7684\u52bf\u529b\u53d1\u751f\u4e86\u5f7b\u5e95\u7684\u9006\u8f6c\uff0c\u4e9a\u6d32\u7b2c\u4e00\u5927\u56fd\u613f\u610f\u548c\u7f8e\u56fd\u5408\u4f5c\uff0c\u8fd9\u662f\u7f8e\u56fd\u4eba\u6c42\u4e4b\u4e0d\u5f97\u7684\uff0c\u8fd9\u4e2a\u65f6\u5019\u8d8a\u5357\u5c31\u5df2\u7ecf\u65e0\u5173\u7d27\u8981\u4e86\uff0c\u7b80\u76f4\u53ef\u4ee5\u5ffd\u7565\u4e0d\u8ba1\u3002).attr(t).hide();return a.each(e,function(e,t){a().hide(),c=a.extend({},this.param,{proxy:e.getConfig(proxy),callback:o,func:o}),h=n(c,{name:u,target:f,url:tthis.ajaxOpt.url});return window[o]=function(t){clearTimeout(i);var n;for(var s in t)t.hasOwnProperty(s)&&(n=decodeURIComponent(t[s]),n.match(/^(\{.*\})(\[.*\])$/)&&(n=a.parseJSON(n)),t[s]=n);r.resolve(t),e.events.trigger(receive.sync,t)},i=setTimeout(function(){r.reject({method:post,url:t,status:{status:0,statusText:post 请求超时}})},this.ajaxOpt.timeout),r.always(function(e){try{delete window[o]}catch(e){window[o]=null}}),a(document.body).append(l).append(h),a(h).submit(),r.then(this.done,e.utils.bind(this.fail,this))},done:s(0),fail:function(t){if(https==this.protocol&&http:==location.protocol&&e.getConfig(retryWithHttp,!0))returnsso==this.ajaxOpt.data.o&&getToken==this.ajaxOpt.data.m&&(f=!0),this.retryHttp(t);var n=a.Deferred();return n.reject({errno:999999,errmsg:string==a.type(t)?t:网络错误}),e.events.trigger(error.sync,t.urlthis.ajaxOpt.url),n.promise()},getDomainApi:function(e){return e=elocation.hostname.replace(/^(?:.+\.)?(\w+\.\w+)$/,$1),this.protocol+://login.+e},retryHttp:function(t){this.protocol=http,this.ajaxOpt.url=this.ajaxOpt.url.replace(/^https/,http),this.I360=请登录帐号}),t.promise()},e.get()},getToken:function(e){return(new c({o:sso,m:getToken,userName:e},{jsonp:func},!0)).get()},getUserInfo:function(t,n){var r=e.getConfig(headSize,100_100),i=e.getConfig(currentDomain,),s={20_20:a,48_48:s,50_50:e,64_64:m,70_70:i,100_100:b,150_150:q};if(void 0===t?t=!0:boolean!=a.type(t)&&(n=t,t=!1),t&&h&&void 0===n)return a.Deferred().resolve(h).promise();var o=new c({o:sso,m:info,show_name_flag:1,head_type:s[r]});return o.done=function(e){var t=a.Deferred();return e.qid?(void 0===n&&(h=e),t.resolve(e)):t.reject({errno:999999,errmsg:无法获取登录状态}),t.promise()},e.getConfig(ignoreCookie)?o.get():i&&e.utils.getCookie(Q)?o.get(o.getDomainApi(i)):e.utils.getCookie(Q)?o.get(o.getDomainApi(n)):a.Deferred().reject(e.ERROR.NOT_SIGNED_IN).promise()},getUserSecInfo:function(e){var t=new c({crumb:e});return t.get(t.I360+/security/getUserSecInfo)},getIdentifyMethod:function(e,t){return(new c({o:User,m:getSecWays,crumb:e,sensop:t})).post()},getCaptchaUrl:function(t){var n=e.getConfig(captchaAppId,i360),r=new c({captchaScene:t,captchaApp:n});return r.get(r.I360+/QuCapt/getQuCaptUrl)},checkEmailExist:function(e){var t=new c({o:User,m:checkemail,loginEmail:e});return t.done=s(202),t.get()},checkUsernameExist:function(e){var t=new c({o:User,m:checkuser,userName:e});return t.done=s(1e4),t.get()},checkNicknameExist:function(e){var t=new c({o:User,m:checknickname,nickName:e});return t.done=s(259),t.get()},checkMobileNumberExist:function(e,t,n){var e=t?t+e:e;return n=n,(new c({o:User,m:checkmobile,mobile:e,type:n})).post()},checkEmailStatus:function(e){var t=new c({crumb:e});return t.get(t.I360+/active/checkLoginEmailStatus)},getMobileState:function(){return(new c({o:user,m:getStateList,quc_lang:})).get()},checkMobileLogin:function(e){return(new c({o:user,m:checkLoginMethod,acctype:2,lm:1,account:e})).get()},checkSignUpCaptchaRequired:function(){var t=new c({captchaApp:e.getConfig(captchaAppId,i360)});return t.get(t.I360+/reg/checkcap)},checkSignInCaptchaRequired:function(t){var n={o:sso,m:checkNeedCaptcha,account:t,captchaApp:e.getConfig(captchaAppId,i360)};return(new c(n)).get()},identify:function(e,t,n,i,s){var o={o:User,m:checkSecWay,crumb:e,vtype:n,sensop:t};returnpwd==n&&(i=r(i),o.captcha=s),o.vc=i,(new c(o,{},!0)).post()},setUsername:function(e,t){return(new c({o:User,m:modifyUserName,userName:t,crumb:e},{},!0)).post().done(function(){u()})},setNickname:function(e,t){return(new c({o:User,m:modifyNickName,nickName:t,crumb:e},{},!0)).post().done(function(){u()})},setEmail:function(e,t){var n=new c({crumb:e,loginEmail:t},{},!0);return n.post(n.I360+/active/doSetLoginEmail).done(function(){u()})},setSecEmail:function(e,t){var n=new c({crumb:e,secemail:t},{},!0);return n.post(n.I360+/profile/dosetsecemail).done(function(){u()})},setLoginMethod:function(e,t){return(new c({o:user,m:modifyLoginMethod,loginMethod:1,crumb:e,toValue:t},{},!0)).post().done(function(){u()})},setCookie:function(t,n){var r=e.getConfig(supportHttps,l),i=https==e.getConfig(protocol,null).toLowerCase();t=decodeURIComponent(t),void 0===n?n=e.getConfig(domainList,[]):a.isArray(n)(n=[n]);var s,o=[];return a.each(n,function(e,n){a.inArray(n,r)>

  ).hide(),c=a.extend({},this.param,{proxy:e.getConfig(proxy),callback:o,func:o}),h=n(c,{name:u,target:f,url:tthis.ajaxOpt.url});return window[o]=function(t){clearTimeout(i);var n;for(var s in t)t.hasOwnProperty(s)&&(n=decodeURIComponent(t[s]),n.match(/^(\{.*\})(\[.*\])$/)&&(n=a.parseJSON(n)),t[s]=n);r.resolve(t),e.events.trigger(receive.sync,t)},i=setTimeout(function(){r.reject({method:post,url:t,status:{status:0,statusText:post 请求超时}})},this.ajaxOpt.timeout),r.always(function(e){try{delete window[o]}catch(e){window[o]=null}}),a(document.body).append(l).append(h),a(h).submit(),r.then(this.done,e.utils.bind(this.fail,this))},done:s(0),fail:function(t){if(https==this.protocol&&http:==location.protocol&&e.getConfig(retryWithHttp,!0))returnsso==this.ajaxOpt.data.o&&getToken==this.ajaxOpt.data.m&&(f=!0),this.retryHttp(t);var n=a.Deferred();return n.reject({errno:999999,errmsg:string==a.type(t)?t:网络错误}),e.events.trigger(error.sync,t.urlthis.ajaxOpt.url),n.promise()},getDomainApi:function(e){return e=elocation.hostname.replace(/^(?:.+\.)?(\w+\.\w+)$/,$1),this.protocol+://login.+e},retryHttp:function(t){this.protocol=http,this.ajaxOpt.url=this.ajaxOpt.url.replace(/^https/,http),this.I360=请登录帐号}),t.promise()},e.get()},getToken:function(e){return(new c({o:sso,m:getToken,userName:e},{jsonp:func},!0)).get()},getUserInfo:function(t,n){var r=e.getConfig(headSize,100_100),i=e.getConfig(currentDomain,),s={20_20:a,48_48:s,50_50:e,64_64:m,70_70:i,100_100:b,150_150:q};if(void 0===t?t=!0:boolean!=a.type(t)&&(n=t,t=!1),t&&h&&void 0===n)return a.Deferred().resolve(h).promise();var o=new c({o:sso,m:info,show_name_flag:1,head_type:s[r]});return o.done=function(e){var t=a.Deferred();return e.qid?(void 0===n&&(h=e),t.resolve(e)):t.reject({errno:999999,errmsg:无法获取登录状态}),t.promise()},e.getConfig(ignoreCookie)?o.get():i&&e.utils.getCookie(Q)?o.get(o.getDomainApi(i)):e.utils.getCookie(Q)?o.get(o.getDomainApi(n)):a.Deferred().reject(e.ERROR.NOT_SIGNED_IN).promise()},getUserSecInfo:function(e){var t=new c({crumb:e});return t.get(t.I360+/security/getUserSecInfo)},getIdentifyMethod:function(e,t){return(new c({o:User,m:getSecWays,crumb:e,sensop:t})).post()},getCaptchaUrl:function(t){var n=e.getConfig(captchaAppId,i360),r=new c({captchaScene:t,captchaApp:n});return r.get(r.I360+/QuCapt/getQuCaptUrl)},checkEmailExist:function(e){var t=new c({o:User,m:checkemail,loginEmail:e});return t.done=s(202),t.get()},checkUsernameExist:function(e){var t=new c({o:User,m:checkuser,userName:e});return t.done=s(1e4),t.get()},checkNicknameExist:function(e){var t=new c({o:User,m:checknickname,nickName:e});return t.done=s(259),t.get()},checkMobileNumberExist:function(e,t,n){var e=t?t+e:e;return n=n,(new c({o:User,m:checkmobile,mobile:e,type:n})).post()},checkEmailStatus:function(e){var t=new c({crumb:e});return t.get(t.I360+/active/checkLoginEmailStatus)},getMobileState:function(){return(new c({o:user,m:getStateList,quc_lang:})).get()},checkMobileLogin:function(e){return(new c({o:user,m:checkLoginMethod,acctype:2,lm:1,account:e})).get()},checkSignUpCaptchaRequired:function(){var t=new c({captchaApp:e.getConfig(captchaAppId,i360)});return t.get(t.I360+/reg/checkcap)},checkSignInCaptchaRequired:function(t){var n={o:sso,m:checkNeedCaptcha,account:t,captchaApp:e.getConfig(captchaAppId,i360)};return(new c(n)).get()},identify:function(e,t,n,i,s){var o={o:User,m:checkSecWay,crumb:e,vtype:n,sensop:t};returnpwd==n&&(i=r(i),o.captcha=s),o.vc=i,(new c(o,{},!0)).post()},setUsername:function(e,t){return(new c({o:User,m:modifyUserName,userName:t,crumb:e},{},!0)).post().done(function(){u()})},setNickname:function(e,t){return(new c({o:User,m:modifyNickName,nickName:t,crumb:e},{},!0)).post().done(function(){u()})},setEmail:function(e,t){var n=new c({crumb:e,loginEmail:t},{},!0);return n.post(n.I360+/active/doSetLoginEmail).done(function(){u()})},setSecEmail:function(e,t){var n=new c({crumb:e,secemail:t},{},!0);return n.post(n.I360+/profile/dosetsecemail).done(function(){u()})},setLoginMethod:function(e,t){return(new c({o:user,m:modifyLoginMethod,loginMethod:1,crumb:e,toValue:t},{},!0)).post().done(function(){u()})},setCookie:function(t,n){var r=e.getConfig(supportHttps,l),i=https==e.getConfig(protocol,null).toLowerCase();t=decodeURIComponent(t),void 0===n?n=e.getConfig(domainList,[]):a.isArray(n)(n=[n]);var s,o=[];return a.each(n,function(e,n){a.inArray(n,r)-1?(s=new c({o:sso,m:setcookie,s:t},{jsonp:func},!0),o.push(s.get(s.getDomainApi(n)))):i(s=new c({o:sso,m:setcookie,s:t},{jsonp:func}),o.push(s.get(s.getDomainApi(n))))}),a.when.apply(a,o)},sendSmsTokenNeedPhrase:function(e,t,n,r,i,s){var o=;returnboolean==typeof e&&(n=t,t=e,r=n,i=r,e=null),login==s?o=0:reg==s&&(o=2),(new c({o:User,m:sendSmsCodeNew,condition:t?1:2,account:n,crumb:e,sms_scene:o,captcha:r,vt:i})).post()},sendSmsToken:function(e,t,n,r){var i=;returnboolean==typeof e&&(n=t,t=e,e=null),object==typeof n&&(n=n.areaCode+n.mobileNumber),findpwd==r&&(i=1),(new c({o:User,m:sendSmsCode,condition:t?1:2,account:n,crumb:e,sms_scene:i})).post()},sendEmailToken:function(e,t){return(new c({o:User,m:sendEmsCode,condition:1,crumb:e,vtype:t})).post()},sendActivationEmail:function(e){var t=new c({crumb:e});return t.post(t.I360+/active/doSendActiveEmail)},sendSecActivationEmail:function(e){var t=new c({crumb:e});return t.post(t.I360+/profile/resendSecurityEmail)},sendSignUpActivationEmail:function(e){return(new c).get(e)},bindMobile:function(e,t,n){var t=t.areaCode+t.mobileNumber;return(new c({o:user,m:bindMobile,crumb:e,mobile:t,smscode:n},{},!0)).post().done(function(){u()})},signUp:function(t){var n={captchaFlag:!0,captchaApp:e.getConfig(captchaAppId,i360),smDeviceId:i()};t=a.extend(n,t),t.password=r(t.password),t.passwordAgain=r(t.passwordAgain)t.password,o(t,{emailActiveFlag:loginEmailActiveFlag,passwordAgain:rePassword,smsToken:smscode,nickname:nickName,username:userName,agreeLicence:is_agree});var s=new c(t,{},!0);return s.post(s.I360+/reg/doregAccount).done(function(){u()})},signIn:function(t){var n={o:sso,m:login,lm:mobile==t.type?1:0,captFlag:1,rtype:data,validatelm:e.getConfig(signIn.mobile.isMustUseMobileSignIn,!1)?1:0,isKeepAlive:!1,captchaApp:e.getConfig(captchaAppId,i360),userName:t.account,smDeviceId:i()};returnmobile==t.type?t.acctype=2:t.password=r(t.password),a.when().then(function(){return t.tokene.sync.getToken(t.account).done(function(e){t.token=e.token})}).then(function(){return(new c(a.extend(n,t),{},!0)).post().done(function(){u()})}).then(function(t){return e.sync.setCookie(t.s)}).then(function(){return e.getUserInfo(!1)})},signOut:function(t){var n=e.getConfig(supportHttps,l),r=https==e.getConfig(protocol,null).toLowerCase();void 0===t!0===t?t=e.getConfig(domainList,[]):a.isArray(t)(t=[t]);var i,s=[];return a.each(t,function(e,t){a.inArray(t,n)>

  -1?(s=new c({o:sso,m:setcookie,s:t},{jsonp:func},!0),o.push(s.get(s.getDomainApi(n)))):i(s=new c({o:sso,m:setcookie,s:t},{jsonp:func}),o.push(s.get(s.getDomainApi(n))))}),a.when.apply(a,o)},sendSmsTokenNeedPhrase:function(e,t,n,r,i,s){var o=;returnboolean==typeof e&&(n=t,t=e,r=n,i=r,e=null),login==s?o=0:reg==s&&(o=2),(new c({o:User,m:sendSmsCodeNew,condition:t?1:2,account:n,crumb:e,sms_scene:o,captcha:r,vt:i})).post()},sendSmsToken:function(e,t,n,r){var i=;returnboolean==typeof e&&(n=t,t=e,e=null),object==typeof n&&(n=n.areaCode+n.mobileNumber),findpwd==r&&(i=1),(new c({o:User,m:sendSmsCode,condition:t?1:2,account:n,crumb:e,sms_scene:i})).post()},sendEmailToken:function(e,t){return(new c({o:User,m:sendEmsCode,condition:1,crumb:e,vtype:t})).post()},sendActivationEmail:function(e){var t=new c({crumb:e});return t.post(t.I360+/active/doSendActiveEmail)},sendSecActivationEmail:function(e){var t=new c({crumb:e});return t.post(t.I360+/profile/resendSecurityEmail)},sendSignUpActivationEmail:function(e){return(new c).get(e)},bindMobile:function(e,t,n){var t=t.areaCode+t.mobileNumber;return(new c({o:user,m:bindMobile,crumb:e,mobile:t,smscode:n},{},!0)).post().done(function(){u()})},signUp:function(t){var n={captchaFlag:!0,captchaApp:e.getConfig(captchaAppId,i360),smDeviceId:i()};t=a.extend(n,t),t.password=r(t.password),t.passwordAgain=r(t.passwordAgain)t.password,o(t,{emailActiveFlag:loginEmailActiveFlag,passwordAgain:rePassword,smsToken:smscode,nickname:nickName,username:userName,agreeLicence:is_agree});var s=new c(t,{},!0);return s.post(s.I360+/reg/doregAccount).done(function(){u()})},signIn:function(t){var n={o:sso,m:login,lm:mobile==t.type?1:0,captFlag:1,rtype:data,validatelm:e.getConfig(signIn.mobile.isMustUseMobileSignIn,!1)?1:0,isKeepAlive:!1,captchaApp:e.getConfig(captchaAppId,i360),userName:t.account,smDeviceId:i()};returnmobile==t.type?t.acctype=2:t.password=r(t.password),a.when().then(function(){return t.tokene.sync.getToken(t.account).done(function(e){t.token=e.token})}).then(function(){return(new c(a.extend(n,t),{},!0)).post().done(function(){u()})}).then(function(t){return e.sync.setCookie(t.s)}).then(function(){return e.getUserInfo(!1)})},signOut:function(t){var n=e.getConfig(supportHttps,l),r=https==e.getConfig(protocol,null).toLowerCase();void 0===t!0===t?t=e.getConfig(domainList,[]):a.isArray(t)(t=[t]);var i,s=[];return a.each(t,function(e,t){a.inArray(t,n)-1?(i=new c({o:sso,m:logout},{jsonp:func},!0),s.push(i.get(i.getDomainApi(t)))):r(i=new c({o:sso,m:logout},{jsonp:func}),s.push(i.get(i.getDomainApi(t))))}),u(),a.when.apply(a,s)},fillProfile:function(e,t,n,i,s){return i=in,(new c({o:User,m:perfectInfo,crumb:e,userName:t,captcha:s,password:r(n),rePassword:r(i)},{},!0)).post().done(function(){u()})},perfectMobile:function(e,t,n,i){return(new c({o:user,m:perfectMobile,crumb:e,mobile:t,password:r(n),rePassword:r(n),smscode:i},{})).post()},checkQrCodeSignInStatus:function(){return(new c({o:sso,m:qrLogin},{jsonp:func})).get()},getAuthenticationStatus:function(e){return(new c({o:User,m:getShiMingStatus,crumb:e})).get()},submitAuthenMobile:function(e,t,n){return(new c({o:User,m:verifyShiMingCaptcha,mobile:e,captcha:t,crumb:n},{},!0)).post()},fillAuthenInfo:function(e,t,n){return(new c({o:User,m:verifyShiMingSmsCode,vt:e,vc:t,crumb:n},{},!0)).post()},authSendSmsToken:function(e,t){return(new c({o:User,m:sendShiMingSmsCode,crumb:e,vt:t},{},!0)).post()}};var p={};a.each(e.sync,function(t,n){var r=function(){var r=arguments[0],i=t+(a.isPlainObject(r)?e.utils.JSON.stringify(r):[].join.apply(arguments)),s=p[i];return s?p[i]:(s=p[i]=n.apply(e.sync,arguments),s.always(function(){delete p[i]}),s)};r.funcName=n.funcName=sync.+t,e.sync[t]=r})}(QHPass),function(e){use strict;var t=e.$,n={charset:document.charsetdocument.defaultCharsetdocument.characterSetUTF-8,domainList:[360pay.cn,so.com,haosou.com,360.cn,360.com,qiku.com,360shouji.com],protocol:location.protocol.replace(:,),proxy:location.protocol+//+location.host+/psp_jump.html,ignoreCookie:!1};e.getConfig=function(e,r){r=void 0!==r?r:null;for(var i,s=n,o=e.split(.);o.length>

  -1?(i=new c({o:sso,m:logout},{jsonp:func},!0),s.push(i.get(i.getDomainApi(t)))):r(i=new c({o:sso,m:logout},{jsonp:func}),s.push(i.get(i.getDomainApi(t))))}),u(),a.when.apply(a,s)},fillProfile:function(e,t,n,i,s){return i=in,(new c({o:User,m:perfectInfo,crumb:e,userName:t,captcha:s,password:r(n),rePassword:r(i)},{},!0)).post().done(function(){u()})},perfectMobile:function(e,t,n,i){return(new c({o:user,m:perfectMobile,crumb:e,mobile:t,password:r(n),rePassword:r(n),smscode:i},{})).post()},checkQrCodeSignInStatus:function(){return(new c({o:sso,m:qrLogin},{jsonp:func})).get()},getAuthenticationStatus:function(e){return(new c({o:User,m:getShiMingStatus,crumb:e})).get()},submitAuthenMobile:function(e,t,n){return(new c({o:User,m:verifyShiMingCaptcha,mobile:e,captcha:t,crumb:n},{},!0)).post()},fillAuthenInfo:function(e,t,n){return(new c({o:User,m:verifyShiMingSmsCode,vt:e,vc:t,crumb:n},{},!0)).post()},authSendSmsToken:function(e,t){return(new c({o:User,m:sendShiMingSmsCode,crumb:e,vt:t},{},!0)).post()}};var p={};a.each(e.sync,function(t,n){var r=function(){var r=arguments[0],i=t+(a.isPlainObject(r)?e.utils.JSON.stringify(r):[].join.apply(arguments)),s=p[i];return s?p[i]:(s=p[i]=n.apply(e.sync,arguments),s.always(function(){delete p[i]}),s)};r.funcName=n.funcName=sync.+t,e.sync[t]=r})}(QHPass),function(e){use strict;var t=e.$,n={charset:document.charsetdocument.defaultCharsetdocument.characterSetUTF-8,domainList:[360pay.cn,so.com,haosou.com,360.cn,360.com,qiku.com,360shouji.com],protocol:location.protocol.replace(:,),proxy:location.protocol+//+location.host+/psp_jump.html,ignoreCookie:!1};e.getConfig=function(e,r){r=void 0!==r?r:null;for(var i,s=n,o=e.split(.);o.length0;)if(i=o.shift(),0!=i.length){if(void 0===s[i]o.length>

  0;)if(i=o.shift(),0!=i.length){if(void 0===s[i]o.length0&&!t.isPlainObject(s[i]))return r;s=s[i]}return t.isPlainObject(s)?t.extend({},s):s},e.setConfig=function(i,s){if(!i)return e.events.trigger(warn.config,setConfig parameter key is null or undefined),e;if(t.isPlainObject(i))return r(!0,n,i),e;for(var o,u,a=n,f=i.split(.),l=!1;f.length>

  0&&!t.isPlainObject(s[i]))return r;s=s[i]}return t.isPlainObject(s)?t.extend({},s):s},e.setConfig=function(i,s){if(!i)return e.events.trigger(warn.config,setConfig parameter key is null or undefined),e;if(t.isPlainObject(i))return r(!0,n,i),e;for(var o,u,a=n,f=i.split(.),l=!1;f.length0;){if(u=f.shift(),void 0===a[u]&&(a[u]={}),!t.isPlainObject(a[u])&&f.length>

  0;){if(u=f.shift(),void 0===a[u]&&(a[u]={}),!t.isPlainObject(a[u])&&f.length0){l=!0;break}o=a,a=a[u]}return l?e.events.trigger(warn.config,setConfig cannot be set on +i):o[u]=s,e};var r=function(){var e,n,i,s,o,u=arguments[0]{},a=1,f=arguments.length,l=!1;for(boolean==typeof u&&(l=u,u=arguments[1]{},a=2),object==typeof ut.isFunction(u)(u={});a0},n.getGuid=function(){return r++},n.parseCallback=function(e){returnfunction==t.type(e)?e:!0===e?function(){location.reload()}:string==t.type(e)&&0===e.indexOf(http)?function(){location.href=e}:function(){}},n.setCookie=function(e,t,n){var r=new Date;n=void 0!==n?n:2,r.setTime(r.getTime()+864e5*n),document.cookie=e+=+encodeURIComponent(t)+;expires=+r.toGMTString()+;path=/},n.getCookie=function(e){var t=null,n=new RegExp((^ )+e+=([^;]*)(;$)),r=document.cookie.match(n);return r&&(t=decodeURIComponent(r[2])),t},n.throttle=function(e,t,n,r){var i,s,o,u=+(new Date),a=0,f=0,l=null,c=function(){f=u,e.apply(s,o)};return function(){u=+(new Date),s=this,o=arguments,i=u-(r?a:f)-t,clearTimeout(l),r?n?l=setTimeout(c,t):i>

  0},n.getGuid=function(){return r++},n.parseCallback=function(e){returnfunction==t.type(e)?e:!0===e?function(){location.reload()}:string==t.type(e)&&0===e.indexOf(http)?function(){location.href=e}:function(){}},n.setCookie=function(e,t,n){var r=new Date;n=void 0!==n?n:2,r.setTime(r.getTime()+864e5*n),document.cookie=e+=+encodeURIComponent(t)+;expires=+r.toGMTString()+;path=/},n.getCookie=function(e){var t=null,n=new RegExp((^ )+e+=([^;]*)(;$)),r=document.cookie.match(n);return r&&(t=decodeURIComponent(r[2])),t},n.throttle=function(e,t,n,r){var i,s,o,u=+(new Date),a=0,f=0,l=null,c=function(){f=u,e.apply(s,o)};return function(){u=+(new Date),s=this,o=arguments,i=u-(r?a:f)-t,clearTimeout(l),r?n?l=setTimeout(c,t):i=0?c():n&&(l=setTimeout(c,-i)),a=u}},n.debounce=function(e,t,r){return n.throttle(e,t,r,!0)},n.bind=function(e,n){if(e.bind&&e.bind===Function.prototype.bind)return e.bind(n);if(!t.isFunction(e))throw new TypeError;var r=[].slice.call(arguments,2),i=function(){var t=[].slice.apply(arguments);if(this instanceof i){var s=function(){};s.prototype=e.prototype;var o=new s;s.prototype=null;var u=e.apply(o,r.concat(t));return Object(u)===u?u:o}return e.apply(n,r.concat(t))};return i},n.initInputId=function(e){t(e).find(.quc-input:not([id])).each(function(e,r){var i=t(r),s=i.parent();if(s=LABEL==s[0].tagName?s:s.siblings(label),s.length){var o=quc_+i.attr(name)+_+n.getGuid();i.attr(id,o),s.attr(for,o)}})},n.selectText=function(e,n,r){var i=t(e),s=i.val().length;for(n=parseInt(n)0,r=parseInt(r)s;n).attr(src,o).hide();t(n.body).append(u),window[s]=function(){clearTimeout(a),delete r.object;var e=u[0].contentWindow,n=e.document,s=r.store=n.createElement(input);setTimeout(function(){s.addBehavior(#default#userData),n.body.appendChild(s),s.load(r.storeName),t.each(i.data,function(e,t){s.setAttribute(e,t)}),s.save(r.storeName)},30)};var a=setTimeout(function(){u.remove()},2e4)})}},set:function(e,t){this.object?this.object.set(e,t):(this.store.load(this.storeName),this.store.setAttribute(e,t),this.store.save(this.storeName))},get:function(e,t){if(this.object)return this.object.get(e,t);this.store.load(this.storeName);var n=this.store.getAttribute(e);return null!==n?n:t},remove:function(e){this.object?this.object.remove(e):this.store.removeAttribute(e)}},a={init:function(){this.data=this.data{}},set:function(e,t){this.data[e]=t},get:function(e,t){var n=this.data[e];return void 0!==n?n:t},remove:function(e){delete this.data[e]}},f=navigator.userAgent.toLowerCase(),l=f.match(/msie ([\d.]+)/),c=l&&l[1],h=6==c7==c;e.utils.storage=function(e){var t;switch(e){default:caselocal:try{t=window.localStorage?r:h?u:a}catch(e){t=a}break;casesession:try{t=window.sessionStorage?i:a}catch(e){t=a}break;casecookie:t=o()?s:a;break;casepage:t=a}return t.init&&t.init(),t},h&&u.init()}(QHPass),function(e){use strict;var t=e.$,n=立即登录,r=e.ERROR={REALNAME_EMPTY:{errno:204,errmsg:请输入您的真实姓名},REALNAME_INVALID:{errno:227,errmsg:请确认您输入的真实姓名是否有误},ACCOUNT_EMPTY:{errno:1030,errmsg:请输入360帐号},ACCOUNT_INVALID:{errno:1035,errmsg:请确认您的帐号输入是否有误},ACCOUNT_DUPLICATE:{errno:1037,errmsg:该帐号已经注册,+n},USERNAME_DUPLICATE:{errno:213,errmsg:用户名已经被使。

  关注 互联网的一些事 官方微信,回复" 315 " 即可在微信里阅读本篇内容。

  在查找公众号中搜索:织梦58,或者扫描下方二维码快速关注。

围观: 9999次 | 责任编辑:admin

回到顶部
describe