发布v2.6.3版本

This commit is contained in:
雨中磐石
2024-05-04 17:53:06 +08:00
parent b0d1a233bd
commit 3048af398c
26 changed files with 176 additions and 56 deletions

View File

@@ -120,7 +120,7 @@ class wordClassAction extends Action
public function delwordAjax()
{
$fid = $this->post('id','0');
$fid = (int)$this->post('id','0');
m('word')->delete("`fileid`='$fid'");
m('file')->delfile($fid);
backmsg();
@@ -129,8 +129,8 @@ class wordClassAction extends Action
//移动
public function movefileAjax()
{
$fid = $this->post('fid','0');
$tid = $this->post('tid','0');
$fid = c('check')->onlynumber($this->post('fid','0'));
$tid = (int)$this->post('tid','0');
m('word')->update("`typeid`='$tid'","`fileid` in ($fid)");
}
}