切换导航条
此项目
正在载入...
登录
潘浩文
/
scoreshop
·
提交
转到一个项目
GitLab
转到仪表盘
项目
活动
文件
提交
管道
0
构建
0
图表
里程碑
问题
0
合并请求
0
成员
标记
维基
派生
网络
创建新的问题
下载为
邮件补丁
差异文件
浏览文件
作者
潘浩文
6 years ago
提交
2c9e7bb9cf91eb2e5e7fe0c7ab1ed2ed58858e9a
1 个父辈
0b61f913
1 个管道 的构建
通过
耗费 0 秒
测试反馈修改
变更
2
构建
1
隐藏空白字符变更
内嵌
并排对比
正在显示
2 个修改的文件
包含
9 行增加
和
1 行删除
app/portal/controller/AdminScoreController.php
public/themes/admin_simpleboot3/portal/admin_score/index.html
app/portal/controller/AdminScoreController.php
查看文件 @
2c9e7bb
...
...
@@ -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'
);
...
...
public/themes/admin_simpleboot3/portal/admin_score/index.html
查看文件 @
2c9e7bb
...
...
@@ -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')}
...
...
请
注册
或
登录
后发表评论