if (response.json.code == 0) {
  // 写入token变量
  apt.environment.set("token", response.json.result.token);
}