🔥码云GVP开源项目 12k star Uniapp+ElementUI 功能强大 支持多语言、二开方便! 广告
* 批量删除 ~~~ empty($I_U->power([sbh_per.'_all'])) ? $U_P->back($json,'尚未授权['.__LINE__.']') : NULL; isset($batch_id) ? NULL : $U_P->back($json,'参数缺失['.__LINE__.']'); $batch_id = json_decode($batch_id,1); $step = []; foreach ($batch_id as $value) { $where = []; $where[] = '`'.sbh_id.'`="'.$value[sbh_id].'"'; $step[] = $D_P->del(sbh_table,$where,['echo'=>1]); } $back = $D_P->shiwu($step); empty($back['succeed']) ? $U_P->back($json, '数据处理异常['.__LINE__.']') : NULL; $json['back'] = 1; //>回调显示结果 $json['succeed'] = 1; $U_P->back($json, '成功处理'. count($batch_id).'条数据['.__LINE__.']'); ~~~