作者 潘浩文
1 个管道 的构建 通过 耗费 0 秒

测试反馈修改

... ... @@ -65,6 +65,14 @@ class AdminScoreController extends AdminBaseController
$this->success('审核成功','AdminScore/index');
}
public function refuseCheck()
{
$id = $this->request->param('id');
// print_r($param);
Db::name('users_score')->where('id', $id)->update(['status'=>2]);
$this->success('已拒绝','AdminScore/index');
}
public function delete()
{
$id = $this->request->param('id');
... ...
... ... @@ -50,7 +50,7 @@
<td>
<eq name="vo.status" value="0">
<a href="{:url('AdminScore/check',array('id'=>$vo['id']))}">审核</a>
<a href="{:url('AdminScore/refuseCheck',array('id'=>$vo['id']))}">拒绝审核</a>
<a class="js-ajax-dialog-btn" href="{:url('AdminScore/refuseCheck',array('id'=>$vo['id']))}">拒绝审核</a>
<else />
<a class="js-ajax-delete" href="{:url('AdminScore/delete',array('id'=>$vo['id']))}">
{:lang('DELETE')}
... ...