Merge branch 'featurer/ylw_4.0' into dev

master
jbrazz
commit 380c930686

@ -151,8 +151,9 @@ class AjaxController extends ThinkController{
} }
} }
public function getPromotersByLevel($level=1) public function getPromotersByLevel()
{ {
$level = I('level', 1);
$this->ajaxReturn(['code'=>1, 'msg'=>'获取成功', 'data'=>(new PromoteModel)->getPromotersByLevel($level)]); $this->ajaxReturn(['code'=>1, 'msg'=>'获取成功', 'data'=>(new PromoteModel)->getPromotersByLevel($level)]);
} }

@ -100,7 +100,7 @@
<td>{:get_admin_nickname($data['operator_id'])}</td> <td>{:get_admin_nickname($data['operator_id'])}</td>
<td>{$data.create_time|date='Y-m-d H:i:s',###}</td> <td>{$data.create_time|date='Y-m-d H:i:s',###}</td>
<td> <td>
<a class="confirm ajax-post" href="{:U('Member/save_device_bans',array('id'=>$data['id']))}">解除</a> <a class="ajax-get" href="{:U('Member/save_device_bans',array('id'=>$data['id']))}">解除 </a>
</td> </td>
</tr> </tr>
</volist> </volist>

Loading…
Cancel
Save