Commit d8d3907b by 冷斌

fix bug

parent 1857df67
...@@ -251,6 +251,12 @@ input{ ...@@ -251,6 +251,12 @@ input{
</div> </div>
</div> </div>
<div class="control-group"> <div class="control-group">
<label class="control-label">私信等级限制</label>
<div class="controls">
<input type="text" name="post[private_limit]" value="{$config['barrage_limit']}"> 0表示无限制
</div>
</div>
<div class="control-group">
<label class="control-label">聊天服务器带端口</label> <label class="control-label">聊天服务器带端口</label>
<div class="controls"> <div class="controls">
<input type="text" name="post[chatserver]" value="{$config['chatserver']}"> 格式:http://域名(:端口) 或者 http://IP(:端口) <input type="text" name="post[chatserver]" value="{$config['chatserver']}"> 格式:http://域名(:端口) 或者 http://IP(:端口)
......
...@@ -1171,6 +1171,7 @@ class Api_Live extends PhalApi_Api { ...@@ -1171,6 +1171,7 @@ class Api_Live extends PhalApi_Api {
'kick_time'=>$configpri['kick_time'].'秒', 'kick_time'=>$configpri['kick_time'].'秒',
'speak_limit'=>$configpri['speak_limit'], 'speak_limit'=>$configpri['speak_limit'],
'barrage_limit'=>$configpri['barrage_limit'], 'barrage_limit'=>$configpri['barrage_limit'],
'private_limit' => $configpri['private_limit'],
'coin'=>$userinfo['coin'], 'coin'=>$userinfo['coin'],
'vip'=>$userinfo['vip'], 'vip'=>$userinfo['vip'],
'liang'=>$userinfo['liang'], 'liang'=>$userinfo['liang'],
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment