Skip to content
This repository has been archived by the owner on Nov 15, 2018. It is now read-only.

Commit

Permalink
feat: 条件api文件
Browse files Browse the repository at this point in the history
  • Loading branch information
boxshadow committed Apr 28, 2018
1 parent bd74a1f commit b7e37b2
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions src/api/feeds.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
import { get } from "./api.js";

/**
* 获取当前用户收藏的动态
* @type {Number}
*/
export function getCollectedFeed({ limit = 15, offset = 0 }) {
return get("/feeds/collections", {
limit,
offset
});
}

0 comments on commit b7e37b2

Please sign in to comment.