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

master
ELF 5 years ago
commit e4291c48b0

@ -379,6 +379,9 @@ class PromoteModel extends Model{
{ {
$result = []; $result = [];
$result = $this->field("*")->where("level={$level}")->select(); $result = $this->field("*")->where("level={$level}")->select();
foreach ($result as &$item) {
$item['nickname'] = $item['account'] . ($item['nickname'] ? "({$item['nickname']})" : "");
}
return $result; return $result;
} }
} }

@ -186,10 +186,10 @@ $(function(){
window.updateAlert = function (text,status,c) { window.updateAlert = function (text,status,c) {
switch(status){ switch(status){
case 1: case 1:
layer.msg(text, {icon: 2}); layer.msg(text, {icon: 1});
break; break;
default: default:
layer.msg(text, {icon: 1}); layer.msg(text, {icon: 2});
break; break;
} }
} }

Loading…
Cancel
Save