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