提交
This commit is contained in:
1 parent
246ad2228e
commit
8e2dd8b9f0
186 files changed
+38821
-2571
No files matched your search
@@ -25,12 +25,12 @@
|
||||
|
||||
### Requirement: 列表默认排序
|
||||
|
||||
在无单独产品排序要求的前提下,列表类接口返回的数据集合 SHALL 按 `order_num` 升序、`create_time` 降序排列(与需求 §3 一致)。
|
||||
在无单独产品排序要求的前提下,列表类接口返回的数据集合 SHALL 按 `create_time` 降序排列(与需求 §3 一致)。
|
||||
|
||||
#### Scenario: 默认分页列表
|
||||
|
||||
- **WHEN** 接口未声明自定义排序参数且业务无例外说明
|
||||
- **THEN** 默认排序 SHALL 为 `order_num ASC, create_time DESC`
|
||||
- **THEN** 默认排序 SHALL 为 `create_time DESC`
|
||||
|
||||
### Requirement: API 前缀与工程约定
|
||||
|
||||
|
||||
Reference in new issue
Block a user