瀏覽代碼

sunguidong

zhangguidong 2 年之前
父節點
當前提交
413f0d6043
共有 1 個文件被更改,包括 2 次插入2 次删除
  1. 2 2
      application/api/controller/User.php

+ 2 - 2
application/api/controller/User.php

@@ -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);