Skip to content

Commit

Permalink
补充文档
Browse files Browse the repository at this point in the history
  • Loading branch information
Hanson committed Sep 9, 2017
1 parent 1dad44c commit 6c40c44
Showing 1 changed file with 9 additions and 6 deletions.
15 changes: 9 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -36,22 +36,25 @@ $result = $face->score->get('https://ws2.sinaimg.cn/large/685b97a1gy1fehkmbi6hvj
$face = new \Hanson\Face\Foundation\Face();

// 获取颜值实例
$score = $face->score;
$instance = $face->score;

// 获取受欢迎实例
$popular = $face->popular;
$instance = $face->popular;

// 获取关系实例
$relation = $face->relation;
$instance = $face->relation;

// 获取请客实例
$bill = $face->bill;
$instance = $face->bill;

// 获取时尚穿衣实例
$clothing = $face->clothing;
$instance = $face->clothing;

// 获取赋诗实例
$instance = $face->poem;

// 所有实例均有一个方法 get
$result = $bill->get($url);
$result = $instance->get($url);

```

Expand Down

0 comments on commit 6c40c44

Please sign in to comment.