更新修复异常
This commit is contained in:
parent
b3828d2f47
commit
d04fc8c39e
|
@ -121,8 +121,8 @@ class MessageIndex extends ApiController
|
|||
$this->uid = JWT_UID;
|
||||
$param = get_params();
|
||||
$type = 4;
|
||||
$ids = empty($param['ids']) ? 0 : $param['ids'];
|
||||
$idArray = explode(',', $ids);
|
||||
$ids = empty($param['ids']) ? '0' : $param['ids'];
|
||||
$idArray = explode(',', (string)$ids);
|
||||
$list = [];
|
||||
foreach ($idArray as $key => $val) {
|
||||
$list[] = [
|
||||
|
|
Loading…
Reference in New Issue