💎一站式轻松地调用各大LLM模型接口,支持GPT4、智谱、星火、月之暗面及文生图 广告
* 解析批量传入参 ~~~ $logic = json_decode($logic,1); ~~~ * 轮询重组事务语句 ~~~ $step = []; foreach ($logic as $value) { extract($value); $where = []; $where[] = 'id="'.$id.'"'; $step[] = $D_P->del(sbh_table,$where,['echo'=>1]); } ~~~ * 固定用法,执行事务语句 ~~~ empty($step) ? $U_P->back($json, '暂无批处理动作['.__LINE__.']') : NULL; $back = $D_P->shiwu($step); empty($back['succeed']) ? $U_P->back($json, '数据处理失败['.__LINE__.']') : NULL; ~~~