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