作者 sgj

bug tiaoshi

... ... @@ -261,8 +261,8 @@ class Cms extends Api
public function detail()
{
$user_id=$this->auth->id;
$article_id=input('id');
if (!empty($user_id)){
$article_id=input('id');
$Log=new ReadLog();
$get_score=$Log->checkDailyRead($user_id,$article_id);
$data['user_id']=$user_id;
... ...