do modify guang call api to v3
Showing
1 changed file
with
1 additions
and
1 deletions
@@ -138,7 +138,7 @@ class PlusstarData | @@ -138,7 +138,7 @@ class PlusstarData | ||
138 | if (!empty($cached)) { | 138 | if (!empty($cached)) { |
139 | // 判断用户是否已收藏 | 139 | // 判断用户是否已收藏 |
140 | if ($isUidOk) { | 140 | if ($isUidOk) { |
141 | - $getUidBrandFav = Yohobuy::yarClient(Yohobuy::SERVICE_URL . self::URI_BRANDINFO_FAVORITE, 'getUidBrandFav', array($uid, $cached['getBrandInfo']['brand_id']), false, 1000); | 141 | + $getUidBrandFav = Yohobuy::yarClient(Yohobuy::SERVICE_URL . self::URI_BRANDINFO_FAVORITE, 'getUidBrandFav', array($uid, $cached['getBrandInfo']['data']['brand_id']), false, 1000); |
142 | if (isset($getUidBrandFav['code']) && $getUidBrandFav['code'] == 200) { | 142 | if (isset($getUidBrandFav['code']) && $getUidBrandFav['code'] == 200) { |
143 | $cached['getUidBrandFav'] = true; | 143 | $cached['getUidBrandFav'] = true; |
144 | } | 144 | } |
-
Please register or login to post a comment