"role_ids": [
10,
2,
1
How to convert to this form
"roles": [ "roleId": 1, "roleName": "Administrator", "comments": null, "isDelete": null, "createTime": null, "createTime": null, "updateTime": null }, "roleId": 2, "roleName": "Normal user", "comments": null, "isDelete": null, "createTime": null, "updateTime": null ]
autoload2022-06-24 09:26:14
First thing you should note is that the following form is a json string, and the one used in php is json_encode