update 代码规范/api接口规范.md.

This commit is contained in:
zhuoda 2021-05-19 10:47:44 +08:00 committed by Gitee
parent fe6ab3798a
commit 2d61c21398

View File

@ -1,6 +1,7 @@
#### Restful接口规范
1、不推荐使用 rest 命名 url 只能使用 get/post 方法。url 命名上规范如下:虽然 Rest 大法好,但是有时并不能一眼根据 url看出来是什么操作。
url 格式为:
/业务模块/子模块/动作
举例: