|
@@ -277,7 +277,7 @@ class Pub extends BaseController
|
|
|
$data["is_type_audit"] = (empty($typeData) || $typeData["status"]!=1)?0:1;
|
|
$data["is_type_audit"] = (empty($typeData) || $typeData["status"]!=1)?0:1;
|
|
|
//名片浏览次数
|
|
//名片浏览次数
|
|
|
(new UserModel)->where('uid', $uid)->inc('card_look_count', 1)->update();
|
|
(new UserModel)->where('uid', $uid)->inc('card_look_count', 1)->update();
|
|
|
- $data["card_look_count"] = $userData["card_look_count"];
|
|
|
|
|
|
|
+ $data["card_look_count"] = $userData["card_look_count"]+1;
|
|
|
return app('json')->success($data);
|
|
return app('json')->success($data);
|
|
|
}
|
|
}
|
|
|
|
|
|