#522 | |
#523 | |
#524 | $tagid = $this->cms_content_tag->create($tag_post); |
#525 | if (!$tagid) { |
#526 | DEBUG && log::tool_log($tag_post, 'cms_content_xadd_error'); |
#527 | return ['err' => 1, 'msg' => lang('write_tag_table_failed')]; |
#528 | } |
#529 | $tagdata = $this->cms_content_tag->get($tagid); |
#530 | } |
#531 | $tagdata['count']++; |