MobPushConfig.java 791 字节

package com.skua.config;

import java.util.ArrayList;
import java.util.HashMap;
import java.util.List;
import java.util.Map;

import com.skua.core.util.push.IMobPushConfig;
import org.springframework.stereotype.Component;


/**
 * <pre>
 * mobpush消息推送页面跳转配置
 * </pre>
 * @author Li Yuanyuan
 * @version V0.1, 2021年9月7日 下午6:40:26
 */
@Component("mobpushConfig")
public class MobPushConfig implements IMobPushConfig {

	@Override
	public List<Map<String, Object>> config(String forwardTag) {
		List<Map<String,Object>> schemeDataList = new ArrayList<Map<String,Object>>();
		Map<String,Object> alarmMap = new HashMap<String,Object>();
		alarmMap.put("key", "type");
		alarmMap.put("value", "alarm");
		schemeDataList.add(alarmMap);
		return schemeDataList;
	}
}