...
|
...
|
@@ -186,7 +186,7 @@ class UserController extends RestBaseController |
|
|
->where(['p.user_id' => $this->userId])
|
|
|
->column('l.id');
|
|
|
//将未读消息更新为已读
|
|
|
$condition['product_id'] = ['in',$ids];
|
|
|
$condition['id'] = ['in',$ids];
|
|
|
$condition['is_read'] = ['=',0];
|
|
|
Db::name('loans_apply')->where($condition)->update(['is_read' => 1]);
|
|
|
$this->success('获取成功',$result);
|
...
|
...
|
|