get('sid'); $db = m('hrshebao'); $arow= $db->getone($sid); if(!$arow)return; unset($arow['id']); $arow['optdt'] = $this->rock->now; $mid = $db->insert($arow); } }