方式1:使用route函數(shù)route('userlist',['name'=>'alan']) 方式2:絕對(duì)路徑/user/list 請(qǐng)問(wèn)還有其他方法綁定URL嗎?
基本都是寫接口的,視圖用的少