名称: member_exit
功能: 会员退出
示例:
# 请使用ajax或表单按如下格式提交登录参数 http://esite.likun.work/?act=member_exit 备注:关于邮件验证码获取方式参考当前文档邮件验证码相关说明,编写模板时候请将示例中的域名替换为您站点真实URL <span class="html-tag" style="font-family: monospace;font-size:16px; white-space: pre-wrap;"><a <span class="html-attribute-name">href</span>="<a class="html-attribute-value html-external-link" target="_blank" href="about:blank" rel="noreferrer noopener">javascript:void(0);</a>" <span class="html-attribute-name">onclick</span>="<span class="html-attribute-value">apps['member-exit']();</span>"></span><span style="font-family: monospace;font-size:16px; white-space: pre-wrap;">退出</span><span class="html-tag" style="font-family: monospace;font-size:16px; white-space: pre-wrap;"></a></span>
JS代码参考:
apps['member-exit'] = function(){ ecms._ajax(location.href, 'act=member_exit&ajax=yes', 'GET', function(d){ window.location.href = 'index.html'; }, false); };