CREATE DIRECTORY DMPDIR AS 'E:\ETDATA\expdp'; CREATE DIRECTORY DMPDIR AS '/home/oracle/wxjexpdp'; CREATE DIRECTORY WXJ AS '/home/oracle/wxj'; CREATE DIRECTORY MYDIR AS '/home/oracle/wxj'; CREATE DIRECTORY impdpdir AS 'C:\impdpdir'; C:\impdpdir CREAT
本文实例讲述了laravel 框架实现无限级分类的方法。分享给大家供大家参考,具体如下:
模型中的代码
namespace App\models\wxj;
use Illuminate\Support\Facades\DB;
use Session;
class Wxjlx
{
public function r(){
//输出数据库的所有内容
$sql=DB::table('wxjlx')->get();
//调用fl方法
$result=self::fl($sql,$p