Merge "更新API文档"
diff --git "a/\345\274\200\345\217\221\346\226\207\346\241\243/API\346\226\207\346\241\243.md" "b/\345\274\200\345\217\221\346\226\207\346\241\243/API\346\226\207\346\241\243.md"
index afa2a35..c304174 100644
--- "a/\345\274\200\345\217\221\346\226\207\346\241\243/API\346\226\207\346\241\243.md"
+++ "b/\345\274\200\345\217\221\346\226\207\346\241\243/API\346\226\207\346\241\243.md"
@@ -28,6 +28,9 @@
 | 论坛信息搜索(包括深度搜索)【WHT】                          |              | Y                  |                  |            | Y          |                |

 | 论坛信息推荐【WHT】                                          |              |                    | Y                |            |            |                |

 |                                                              |              |                    |                  |            |            |                |

+| 用户收藏夹                                                   |              | Y                  |                  |            |            |                |

+| 魔力值兑换                                                   |              | Y                  |                  |            |            |                |

+| 用户迁移                                                     |              | Y                  |                  |            |            |                |

 

 ## 功能点与系统交互接口定义

 

@@ -51,9 +54,9 @@
 | ------------------- | ------------------------------------- |

 | 种子信息推荐【WHT】 | `List[Seed] GetRecommend(User useri)` |

 

-|                 | Tracker-System                     |

-| --------------- | ---------------------------------- |

-| 种子下载【RHJ】 | `File GetTorrent(SeedID id)`<br /> |

+|                 | Tracker-System                               |

+| --------------- | -------------------------------------------- |

+| 种子下载【RHJ】 | `File GetTorrent(SeedID id,UserID id)`<br /> |

 

 |                 | VIP-System                         |

 | --------------- | ---------------------------------- |

@@ -65,9 +68,49 @@
 

 |                       | VIP-System                                                   |

 | --------------------- | ------------------------------------------------------------ |

-| 种子成长期保护【RHJ】 | `bool AddSeedNumber(int number)`<br />`bool ReduceSeedNumber(int number)`<br />`bool AddSeed(TTorent seed,SeedID id)`<br />`bool RemoveSeed(SeedID)`<br />`void CheckSeed()`//检查当前保种列表是否需要更新 |

+| 种子成长期保护【RHJ】 | `bool AddFarmerNumber(int number)`<br />`bool ReduceFarmerNumber(int number)`<br />`bool AddSeed(TTorent seed,SeedID id)`<br />`bool RemoveSeed(SeedID)`<br />`void CheckSeed()`//检查当前保种列表是否需要更新 |

 

 |                     | VIP-System                         |

 | ------------------- | ---------------------------------- |

 | 主动播种机制【RHJ】 | `List[SeedID] GetSeedList()`<br /> |

 

+|                   | Cheat-System                          |

+| ----------------- | ------------------------------------- |

+| 做假种检测【WKJ】 | `List[(UserID,SeedID)] GetFeakSeed()` |

+

+|                             | Cheat-System                                                 |

+| --------------------------- | ------------------------------------------------------------ |

+| 伪造上传,下载量检测【WKJ】 | `void DetectionSeed(SeedID id)`<br />`void DetectionAll(SeedID id)`<br />`void PunishUser()`<br />`bool GetUserPunish(UserID id)`:每次登录触发该操作<br />`List[UserID] GetAllPunishUser()` |

+

+|                     | Cheat-System                                                 |

+| ------------------- | ------------------------------------------------------------ |

+| 作弊惩罚申诉【WKJ】 | `bool AddAppeal(Appeal appeali)`<br />`List[Appeal] GetAppeal(UserID id)`<br />`void RevokePunish(UserID id)`<br /> |

+

+|                       | DataManager-System                                           |

+| --------------------- | ------------------------------------------------------------ |

+| 公告发布与保存【WKJ】 | `bool AddNotice(Notice nti)`<br />`bool UpdateNotice(Notice nti)`<br />`bool DropNotice(Notice nti)` |

+

+|                 | DataManager-System                                           |

+| --------------- | ------------------------------------------------------------ |

+| 邀请机制【WKJ】 | `int GetUserAvailableTimes(UserID)`<br />`bool InviteUser(UserID Inviter,UserID BeInviter)` |

+

+|                           | DataManager-System                                           |

+| ------------------------- | ------------------------------------------------------------ |

+| 求种机制与求种审核【WKJ】 | `bool AddBegSeed(BegInfo info)`<br />`bool RevokeBeg(BegID id)`<br />`bool VoteSeed(SeedID id,int vote)`<br />`bool SubmitSeed(SeedID sid,BegID bid)` |

+

+|                     | DataManager-System                                           |

+| ------------------- | ------------------------------------------------------------ |

+| 论坛信息维护【WHT】 | `bool AddPost(Post pi)`<br />`bool DropPost(PostID id)`<br />`bool AddCommend(PostID id,Comment cmt)`<br />``bool DropCommend(PostID id,CommentID cid)` |

+

+|            | DataManager-System                                           |

+| ---------- | ------------------------------------------------------------ |

+| 用户收藏夹 | `bool AddCollect(UserID,SeedID)`<br />`bool DropCollect(UserID,SeedID)` |

+

+|            | DataManager-System                             |

+| ---------- | ---------------------------------------------- |

+| 魔力值兑换 | `bool exchange(UserID id,int costmagic)`<br /> |

+

+|          | DataManager-System                                           |

+| -------- | ------------------------------------------------------------ |

+| 用户迁移 | `bool UploadProfile(Profile pr)`<br />`ProfileID GetProfile(ProfileID)`<br />`bool examineProfile(bool passornot)`<br />`List[Profile] GetToExamines()`<br /> |

+