2023年6月30日

laravel8配置全局公共函数步骤详解

摘要: 1.首先添加文件,app/Helpers.php ,我这里是这个名字因为习惯了,你也可以自己定义 <?php if( !function_exists("getFileName") ){ /** * 从路径中获取文件名 * @param $fileName * @return string */ f 阅读全文

posted @ 2023-06-30 18:15 andydaopeng 阅读(355) 评论(0) 推荐(0) 编辑

导航