0 ) { unset($ins_data['addtime']); M('lionfish_comshop_article')->where( array('id' => $id) )->save( $ins_data ); $id = $data['id']; }else{ $id = M('lionfish_comshop_article')->where( array('id' => $id) )->add( $ins_data ); } } } ?>