| #232 | public function xadd($post = array(), $user = array(), $table = 'article'){ |
| #233 | |
| #234 | |
| #235 | //火车头数据过滤 |
| #236 | if(isset($post['alias']) && $post['alias'] == '[db:别名]') $post['alias'] = ''; |
| #237 | if(isset($post['tags']) && $post['tags'] == '[db:标签]' ) $post['tags'] = ''; |
| #238 | if(isset($post['pic']) && $post['pic'] == '[db:缩略图]' ) $post['pic'] = ''; |
| #239 | if(isset($post['flag']) && $post['flag'] == '[db:属性]' ) $post['flag'] = array(); |
| #240 | if(isset($post['intro']) && $post['intro'] == '[db:摘要]' ) $post['intro'] = ''; |
| #241 | if(isset($post['author']) && $post['author'] == '[db:作者]' ) $post['author'] = ''; |