| #826 | $tagdata = $this->cms_content_tag->get($tagid); |
| #827 | $tagdata['count']--; |
| #828 | $this->cms_content_tag->update($tagdata); |
| #829 | $this->cms_content_tag_data->delete($tagid, $id); |
| #830 | } |
| #831 | |
| #832 | //改变分类了 |
| #833 | if($cid != $olddata['cid']){ |
| #834 | // 旧的分类内容数减1 |
| #835 | $categorys_old = $this->category->get($olddata['cid']); |