我需要使用这些用户的 id 编写一个 foreach:
API 返回的数组:
{"users":[{"id":"14"},{"id":"19"}]}
我想根据每个用户 id 发送一封邮件,这就是为什么我需要一个 foreach 语句。我怎么做?
相关分类