对接凌风计费到期跳转,需要传用户名的参数过去,需要在编辑页面,追加如下代码
文章源自网吧系统维护-https://www.58pxe.com/1079.html
<form id="form2" action="https://192.168.1.230:1087" method="post">文章源自网吧系统维护-https://www.58pxe.com/1079.html
<input type="hidden" value="[%用户%]" name="user" />文章源自网吧系统维护-https://www.58pxe.com/1079.html
</form>文章源自网吧系统维护-https://www.58pxe.com/1079.html
<script type="text/javascript">window.onload=function(){文章源自网吧系统维护-https://www.58pxe.com/1079.html
var from2 = document.getElementById('form2');文章源自网吧系统维护-https://www.58pxe.com/1079.html
from2.submit();}文章源自网吧系统维护-https://www.58pxe.com/1079.html
</script>文章源自网吧系统维护-https://www.58pxe.com/1079.html
文章源自网吧系统维护-https://www.58pxe.com/1079.html
文章源自网吧系统维护-https://www.58pxe.com/1079.html
[用户管理]→[认证上网]→[认证消息编辑],选择“到期提醒页”,点击如下按钮,切换到源码编辑框文章源自网吧系统维护-https://www.58pxe.com/1079.html
文章源自网吧系统维护-https://www.58pxe.com/1079.html
文章源自网吧系统维护-https://www.58pxe.com/1079.html
如下图所示,在原来的代码中,追加红色方框的内容,把IP地址修改为凌风计费的到期提醒页面的链接(IP+端口)文章源自网吧系统维护-https://www.58pxe.com/1079.html
文章源自网吧系统维护-https://www.58pxe.com/1079.html
点击保存,完成配置。文章源自网吧系统维护-https://www.58pxe.com/1079.html
文章源自网吧系统维护-https://www.58pxe.com/1079.html
到期后跳转到他们页面,如下图所示文章源自网吧系统维护-https://www.58pxe.com/1079.html
文章源自网吧系统维护-https://www.58pxe.com/1079.html
文章源自网吧系统维护-https://www.58pxe.com/1079.html
---------------------------------------------------------------------------------------------------------------
对于快到期的提醒,如果要跳转到凌风计费去,也跟如上操作一致
评论