Skip to content

Commit

Permalink
fix order_by parameters code example issue.
Browse files Browse the repository at this point in the history
  • Loading branch information
heshiyou committed Jan 21, 2019
1 parent f0ebecb commit 7444a63
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions open-api/data/record.md
Original file line number Diff line number Diff line change
Expand Up @@ -86,10 +86,10 @@ https://cloud.minapp.com/oserve/v1/table/1/record/

```
# 顺序
https://cloud.minapp.com/oserve/v1/table/:table_id/record/?order_by=id
https://cloud.minapp.com/oserve/v1/table/:table_id/record/?order_by=created_at
# 倒序
https://cloud.minapp.com/oserve/v1/table/:table_id/record/?order_by=-id
https://cloud.minapp.com/oserve/v1/table/:table_id/record/?order_by=-created_at
```

**代码示例**
Expand Down
4 changes: 2 additions & 2 deletions user-dash/data/record.md
Original file line number Diff line number Diff line change
Expand Up @@ -87,10 +87,10 @@ axios.get('https://cloud.minapp.com/userve/v1/table/1/record/', {params: {where:

```
# 顺序
https://cloud.minapp.com/userve/v1/table/:table_id/record/?order_by=id
https://cloud.minapp.com/userve/v1/table/:table_id/record/?order_by=created_at
# 倒序
https://cloud.minapp.com/userve/v1/table/:table_id/record/?order_by=-id
https://cloud.minapp.com/userve/v1/table/:table_id/record/?order_by=-created_at
```

## 获取数据项
Expand Down

0 comments on commit 7444a63

Please sign in to comment.