3.2版本的ThinkPhp中怎么调用自定义的函数库

2025-04-27 18:40:04
推荐回答(1个)
回答1:

//\Application\Common\Common\function.php
function test(){
    return 'OK';
}

//Controller调用
echo test();
//输出OK