xiaopenggithub

Results 9 comments of xiaopenggithub

laravel的resource路由名是可以做到直接区分,能否参考一下

> 改下这里就好了 https://github.com/eggjs/egg-router/blob/f0b29ec34df32ba9d872f6318f4febd2b4ef9359/lib/egg_router.js#L151 > > @xiaopenggithub ~laravel 是怎么样的?~ > > ![image](https://user-images.githubusercontent.com/227713/72781928-7291bc00-3c5d-11ea-93c4-7e57c818db4c.png) 是这样的,laravel的资源路由是带上方法名,能够独立区分(以前是做php,新入手egg,感觉也很强大)

不太会修改模板,目前使用比较笨的方式:手动添加分页及其它业务方法。

获取用户昵称,示例了使用grpc

[hbuilder](https://www.dcloud.io/hbuilderx.html)