|
@@ -53,8 +53,8 @@ class User extends Api
|
|
|
unset($userinfo['province_id']);
|
|
|
unset($userinfo['city_id']);
|
|
|
unset($userinfo['area_id']);
|
|
|
- print_r(is_interested($mid,$mid));die;
|
|
|
- $userinfo['is_interested'] = is_interested($mid,$mid);
|
|
|
+
|
|
|
+ $userinfo['is_interested'] = is_interested($mid,$id);
|
|
|
$userinfo['follow'] = Db::name('store_member_follow')->where('mid', $id)->count();
|
|
|
$userinfo['fans'] = Db::name('store_member_follow')->where('fid', $id)->count();
|
|
|
$this->success('成功', $userinfo);
|