作者 lishaoshuai
1 个管道 的构建 通过 耗费 1 秒

更新 CardController.php 调整意向用户

... ... @@ -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
... ...