Song.Site/Templates/Mobi/_Public/WeixinpubLogin.htm
(开头部分) 7KB这里只显示每个文件的开头 60 行。登录后可以解锁完整代码。
<!doctype html>
<html>
<head>
<title>微信登录</title>
<vt:if var="domain" value="" compare="!=">
<script type="text/javascript">
document.domain = '{$domain}';
</script></vt:if>
<vt:include file="inc/meta.inc" />
<script type="text/javascript" src="Scripts/WeixinpubLogin.js?ver={$version}"></script>
<link href="Styles/WeixinpubLogin.css?ver={$version}" rel="stylesheet" type="text/css" />
<vt:if var="gourl" value="" compare="!=">
<script type="text/javascript">
//登录成功后返回的地址
var geturl = function (url) {
var prefix = window.location.href;
if (prefix.indexOf("://") > -1) prefix = prefix.substring(0, prefix.indexOf("://"));
return prefix + "://" + url;
}
var gourl = geturl("{$gourl}");
//备注:
//如果转向后,出现白屏,最大可能性是原网址是https的,生成的带二级域名没有ssl证书
//如果回调域不是根域,则机构二级域请与回调域保持一致
//除非购买了ssl根域证收
window.location.href = geturl("{$gourl}");
</script>
</vt:if>
</head>
<body>
<vt:if var="org.org_id" value="0" compare=">" remark="所属机构必须存在">
<vt:if var="openid" value="" compare="=" remark="">
<vt:if var="errcode" value="" compare="!=" remark="">
<div class="error-txt">错误码:{$errcode}<br/>信息:{$errmsg} ;
</div>
<vt:if var="errcode" value="41004" compare="=" remark="">
<div class="error-txt">可能原因:AppSecret未填写</div>
</vt:if>
<vt:if var="errcode" value="40125" compare="=" remark="">
<div class="error-txt">可能原因:AppSecret参数不正确</div>
</vt:if>
</vt:if>
<vt:else />
<vt:if var="errcode" value="" compare="!=" remark="">
<div class="error-txt">错误码:{$errcode}<br/>
信息:{$errmsg} ;</div>
</vt:if>
<vt:if var="success" value="1" compare="=" remark="账户已经存在,且正常登录">
<div class="loading-txt">正在登录...</div>
<script> returl("{$acc.ac_pw}", "{$acc.ac_id}");</script>
</vt:if>
<vt:if var="success" value="-1" compare="=" remark="账户存在,但禁用或未通过审核">
<div class="error-txt">当前账户“{$acc.Ac_Name}”被禁用,或未通过审核,暂无法登录。</div>
</vt:if>
</vt:if>
<vt:if var="openid" value="" compare="!=" remark="通过openid获取微信账户信息">
<vt:if var="acctm.ac_id" value="" compare="=">
后面还有 81 行代码,解锁后查看完整代码
24 小时内免费解锁 3 个项目,之后 1 积分/个。 规则说明
AI 解读
登录后可用,每次 10 积分,解读结果公开显示在下面。
还没有人解读过这个文件。
