コード例 #1
0
 /**
  * 删除成功后的回调方法
  * @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();
 }
コード例 #2
0
 public function _after_delete($data, $options)
 {
     parent::_after_delete($data, $options);
     $this->behavior_cache();
 }