Commit 962610a4 by 冷斌

踢人

parent 32a0e95b
......@@ -25,6 +25,8 @@
</div>
</div>
<input type="hidden" name="uid" value="{$userinfo['uid']}">
<div class="control-group">
<label class="control-label">审核状态</label>
<div class="controls">
......
......@@ -270,4 +270,17 @@ class LiveingController extends AdminbaseController {
$this->display();
}
function edit_image_post(){
if(IS_POST){
$auth = M("users_live_image");
$result = $res = $auth->where("uid='{$_POST['uid']}'")->save([
'status' => $_POST['status'],
]);
if ($result) {
$this->success('修改成功', U('Liveing/image'));
}
}
$this->error('修改失败');
}
}
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