Merge branch 'dev' of 47.111.118.107:/srv/git/platform into dev

master
ELF 5 years ago
commit 901c2eb137

@ -837,8 +837,8 @@ class MemberController extends ThinkController
*/ */
public function lock_status($id="", $lock_status, $accounts = "") public function lock_status($id="", $lock_status, $accounts = "")
{ {
if ($accounts) $map['account'] = ['in', array_unique(explode(',', $accounts))]; if ($accounts) $map['account'] = ['in', array_unique(explode("\n", $accounts))];
if ($id) $map['id'] = ['in', array_unique(explode(',', $id))]; if ($id) $map['id'] = ['in', array_unique(explode("\n", $id))];
$users = M('user', 'tab_')->where($map)->field('id')->select(); $users = M('user', 'tab_')->where($map)->field('id')->select();
$res = M('user', 'tab_')->where($map)->setField(['lock_status' => $lock_status]); $res = M('user', 'tab_')->where($map)->setField(['lock_status' => $lock_status]);
if ($res) { if ($res) {

@ -69,7 +69,7 @@
<tr> <tr>
<td class="l">账户余额:</td> <td class="l">账户余额:</td>
<td class="r"> <td class="r">
<span class="balance">0.00</span>平台 <span class="balance">0.00</span>绑定
</td> </td>
</tr> </tr>
<tr> <tr>

@ -501,7 +501,7 @@ $(function(){
function shenhe(status){ function shenhe(status){
var text = $("input:checkbox[name='ids[]']:checked").map(function(index,elem) { var text = $("input:checkbox[name='ids[]']:checked").map(function(index,elem) {
return $(elem).val(); return $(elem).val();
}).get().join(','); }).get().join("\n");
var desc = ''; var desc = '';
if (status == 0) { if (status == 0) {
desc = '锁定'; desc = '锁定';
@ -511,8 +511,8 @@ $(function(){
layer.prompt({ layer.prompt({
formType: 2, formType: 2,
value: text, value: text,
placeholder : '玩家账号(英文逗号隔开', placeholder : '玩家账号(一个账号一行',
title: '请输入要'+desc+'的玩家账号(英文逗号隔开)', title: '请输入要'+desc+'的玩家账号(一个账号一行)',
area: ['800px', '350px'] //自定义文本域宽高 area: ['800px', '350px'] //自定义文本域宽高
}, function(value, index, elem){ }, function(value, index, elem){
if(value=='') { if(value=='') {

@ -76,7 +76,6 @@
<a class="side_tabbar" style="z-index: 1" href="http://wpa.qq.com/msgrd?v=3&amp;uin={:C('PC_SET_SERVER_QQ')}&amp;site=qq&amp;menu=yes" target="_blank"> <a class="side_tabbar" style="z-index: 1" href="http://wpa.qq.com/msgrd?v=3&amp;uin={:C('PC_SET_SERVER_QQ')}&amp;site=qq&amp;menu=yes" target="_blank">
<img src="__IMG__/index_about/qrcode.png" alt=""> <img src="__IMG__/index_about/qrcode.png" alt="">
</a> </a>
<script type="text/javascript" src="https://api.map.baidu.com/api?v=2.0&ak=IlhuMR32KKlrV3pR6BuvSLVLQKQeEjwP"></script> <script type="text/javascript" src="https://api.map.baidu.com/api?v=2.0&ak=IlhuMR32KKlrV3pR6BuvSLVLQKQeEjwP"></script>
<script src="__JS__/collaborate.js" type="text/javascript"></script> <script src="__JS__/collaborate.js" type="text/javascript"></script>
<!-- WPA start --> <!-- WPA start -->

Loading…
Cancel
Save