Invocation 中添加 Method method
The standard definition is as follows:
index - GET - A view of all (or a selection of) the records
show - GET - A view of a single record
add - GET - A form to post to create
save - POST - Create a new record
edit - GET - A form to edit a single record
update - PUT - Update a record
delete - DELETE - Delete a record
GET /user ---> index
GET /user/id ---> show
GET /user/add ---> add
POST /user ---> save
GET /user/edit/id ---> edit
PUT /user/id ---> update
DELETE /user/id ---> delete