From 6c40c4469cc1de1c54ccc38cf8cd9fa423acb1d4 Mon Sep 17 00:00:00 2001 From: HanSon Date: Sat, 9 Sep 2017 21:59:37 +0800 Subject: [PATCH] =?UTF-8?q?=E8=A1=A5=E5=85=85=E6=96=87=E6=A1=A3?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- README.md | 15 +++++++++------ 1 file changed, 9 insertions(+), 6 deletions(-) diff --git a/README.md b/README.md index 5d7cc2b..ca87db6 100644 --- a/README.md +++ b/README.md @@ -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); ```