getArrivalNoticeList(array('member_id' => $this->member_info['member_id']), '', '', '', $this->pagesize); ds_json_encode(10000, '', array_merge(array('arrivalnotice_list' => $arrivalnotice_list), mobile_page($arrivalnotice_model->page_info))); } public function del() { $arrivalnotice_id = input('param.arrivalnotice_id'); $arrivalnotice_id_array = ds_delete_param($arrivalnotice_id); if ($arrivalnotice_id_array == FALSE) { ds_json_encode('10001', lang('param_error')); } $condition = array(array('member_id', '=', $this->member_info['member_id'])); $condition[] = array('arrivalnotice_id', 'in', $arrivalnotice_id_array); $arrivalnotice_model = model('arrivalnotice'); //批量删除 $result = $arrivalnotice_model->delArrivalNotice($condition); if ($result) { ds_json_encode(10000, lang('ds_common_op_succ')); } else { ds_json_encode(10001, lang('ds_common_op_fail')); } } }