/** * 删除成功后的回调方法 * @param type $data * @param type $options */ public function _after_delete($data, $options) { parent::_after_delete($data, $options); M("Role_user")->where(array("user_id" => $data['id']))->delete(); }
public function _after_delete($data, $options) { parent::_after_delete($data, $options); $this->behavior_cache(); }