摘要: 自定义函数 方法1 新建文件func,在文件夹下创建函数文件。 将自定义函数文件添加到composer.json里面的autoload:files中,实现自动加载自定义函数: "autoload": { "files": [ "func/helpers.php" ] } 刷新composer缓存 c 阅读全文
posted @ 2023-05-11 09:52 fsl 阅读(122) 评论(0) 推荐(0) 编辑