那个红色的显示,变成打开文章详情就变回原来颜色
This commit is contained in:
@@ -349,6 +349,11 @@ class Workbench extends Base
|
||||
public function updateArticleState(){
|
||||
//获取参数
|
||||
$aParam = empty($aParam) ? $this->request->post() : $aParam;
|
||||
|
||||
|
||||
Db::name('article')->where('article_id' ,$aParam['article_id'])->limit(1)->update(['is_user_act' => 2]);
|
||||
|
||||
|
||||
//主键ID
|
||||
$iActId = empty($aParam['act_id']) ? 0 : $aParam['act_id'];
|
||||
//主键父ID
|
||||
|
||||
Reference in New Issue
Block a user