...
|
...
|
@@ -163,6 +163,8 @@ class CardController extends RestBaseController |
|
|
}
|
|
|
if (isset($card_id) && $card_id != $data['id']) {
|
|
|
$do1 = Db::name('browse_log')->insert(['topic_id' => $data['id'],'user_id' => $this->userId]);
|
|
|
}else{
|
|
|
$do1 = Db::name('browse_log')->insert(['topic_id' => $data['id'],'user_id' => $this->userId]);
|
|
|
}
|
|
|
}
|
|
|
//浏览数+1
|
...
|
...
|
|