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

被关注数量

... ... @@ -317,7 +317,7 @@ class Article extends BaseApi
$data['user_id'] = $this->auth->id;
$data['zan_num'] = 0;
$res = model('article_comment')->create($data);
$res = model('article_comment')->with(['user'])->where('id',$res['id'])->find();
$res = model('article_comment')->with(['user1'])->where('id',$res['id'])->find();
$res['is_zan'] = 0;
//2.1 增加消息
if ($pid == 0){
... ...