看代码 //判断文件是否存在,存在则删除,不存在则。。。 public function ff(){ $list=Db::name('costpay_file')->where('url','like','/costpay_file/20220622/%')->select(); foreach ($list as $key => $val) {
专注分享技术,共同学习,共同进步。侵权联系[81616952@qq.com]
Copyright (C)ICode9.com, All Rights Reserved.
ICode9版权所有