關(guān)于多個參數(shù)時的情況
當(dāng)函數(shù)只有一個參數(shù)時,route.php中設(shè)置
return [
??? 'page/:id'??? => 'index/Index/user',
?? ?
];
請問假如我要調(diào)用的函數(shù)info($a,$b)有兩個參數(shù),在route.php中應(yīng)該如何設(shè)置?
當(dāng)函數(shù)只有一個參數(shù)時,route.php中設(shè)置
return [
??? 'page/:id'??? => 'index/Index/user',
?? ?
];
請問假如我要調(diào)用的函數(shù)info($a,$b)有兩個參數(shù),在route.php中應(yīng)該如何設(shè)置?
2017-06-03
舉報
2017-06-03
試試