egg RESTful
首页 > >    作者:lininn   2019年10月21日 14:23 星期一   热度:1682°   百度已收录  
时间:2019-10-21 14:23   热度:1682° 
Method Path Route Name Controller.Action
GET /posts posts app.controllers.posts.index
GET /posts/new new_post app.controllers.posts.new
GET /posts/:id post app.controllers.posts.show
GET /posts/:id/edit edit_post app.controllers.posts.edit
POST /posts posts app.controllers.posts.create
PUT /posts/:id post app.controllers.posts.update
DELETE /posts/:id post app.controllers.posts.destroy
// app/controller/posts.js exports.index = async () => {};  exports.new = async () => {};  exports.create = async () => {};  exports.show = async () => {};  exports.edit = async () => {};  exports.update = async () => {};  exports.destroy = async () => {};
二维码加载中...
本文作者:lininn      文章标题: egg RESTful
本文地址:?post=403
版权声明:若无注明,本文皆为“覆手为雨”原创,转载请保留文章出处。
分享本文至:

返回顶部    首页    手机版本    后花园   会员注册   
版权所有:覆手为雨    站长: lininn