[#escape x as (x)!?html] [#if global.customs['oauth']! == '1'] [#assign oauthWeixinUrl]${ctx}/support_genuine.html[/#assign] [#assign oauthQqUrl]${ctx}/support_genuine.html[/#assign] [#assign oauthWeiboUrl]${ctx}/support_genuine.html[/#assign] [#elseif global.customs['oauth']! == '2'] [#assign oauthWeixinUrl]javascript:alert('请先设置好第三方平台appid和secret，再开启第三方登录');[/#assign] [#assign oauthQqUrl]javascript:alert('请先设置好第三方平台APP_ID和APP_KEY，再开启第三方登录');[/#assign] [#assign oauthWeiboUrl]javascript:alert('请先设置好第三方平台CLIENT_ID和CLIENT_SERCRET，再开启第三方登录');[/#assign] [#elseif global.customs['oauth']! == '3'] [#assign oauthWeixinUrl]${ctx}/oauth/login/weixin?fallbackUrl=${Param.fallbackUrl!?url}[/#assign] [#assign oauthQqUrl]${ctx}/oauth/login/qq?fallbackUrl=${Param.fallbackUrl?url}[/#assign] [#assign oauthWeiboUrl]${ctx}/oauth/login/weibo?fallbackUrl=${Param.fallbackUrl?url}[/#assign] [/#if] [#if oauthWeixinUrl?? && oauthQqUrl?? && oauthWeiboUrl??] [/#if] [/#escape]