mirror of
https://gitee.com/lab1024/smart-admin.git
synced 2025-09-23 05:46:40 +08:00
update 代码规范/api接口规范.md.
This commit is contained in:
parent
fe6ab3798a
commit
2d61c21398
@ -1,6 +1,7 @@
|
||||
#### Restful接口规范
|
||||
1、不推荐使用 rest 命名 url, 只能使用 get/post 方法。url 命名上规范如下:虽然 Rest 大法好,但是有时并不能一眼根据 url看出来是什么操作。
|
||||
url 格式为:
|
||||
|
||||
/业务模块/子模块/动作
|
||||
|
||||
举例:
|
||||
|
Loading…
Reference in New Issue
Block a user