V2EX = way to explore
V2EX 是一个关于分享和探索的地方
现在注册
已注册用户请  登录
pysex
V2EX  ›  程序员

Laravel 5.5 分页, Custom pagination URL

  •  
  •   pysex · 2017-12-11 21:31:24 +08:00 · 1064 次点击
    这是一个创建于 2339 天前的主题,其中的信息可能已经有所发展或是发生改变。
    With the default laravel pagination my url looks like

    http://127.0.0.1:88/sex/2?page=2

    Is there a way to obtain something like

    http://127.0.0.1:88/sex/2/page/2 or http://127.0.0.1:88/sex/2/2

    Thanks :)
    目前尚无回复
    关于   ·   帮助文档   ·   博客   ·   API   ·   FAQ   ·   我们的愿景   ·   实用小工具   ·   2791 人在线   最高记录 6543   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 27ms · UTC 15:49 · PVG 23:49 · LAX 08:49 · JFK 11:49
    Developed with CodeLauncher
    ♥ Do have faith in what you're doing.