你的浏览器禁用了JavaScript, 请开启后刷新浏览器获得更好的体验!
输入关键字进行搜索
搜索:
没有找到相关结果
menglinjie
赞同来自:
aggregate { task_id => "%{id}" code => " map['id'] = event.get('id') map['register_name'] = event.get('register_name') map['mobile'] = event.get('mobile') map['avatar'] = event.get('avatar') map['pet_list'] ||= map['pets'] ||= if (event.get('pet_id') != nil) if !(map['pet_list'].include? event.get('pet_id')) map['pet_list'] << event.get('pet_id') map['pets'] << { 'pet_id' => event.get('pet_id'), 'name' => event.get('name'), 'images' => event.get('images'), 'breed_id' => event.get('breed_id'), 'breed_name' => event.get('breed_name'), 'birthday' => event.get('birthday') } end end event.cancel() " push_previous_map_as_event => true timeout => 5 }
要回复问题请先登录或注册
1 个回复
menglinjie
赞同来自:
使用aggregate插件进行聚合。