String url = "https://api.weixin.qq.com/cgi-bin/message/device/subscribe/send?access_token=" + accessToken;
Map<String, Object> data = new LinkedHashMap<>();
data.put("character_string2", MapUtil.of("value", clientId));
data.put("time1", MapUtil.of("value", DateUtil.now()));
data.put("enum_string3", MapUtil.of("value", message));
Map<String, Object> params = new HashMap<>(4);
params.put("template_id", templateId);
params.put("sn", clientId);
params.put("page", "pages/alarm/index");
params.put("to_openid_list", new String[]{"onj-w6-ouqYKF8BMh8DjvKclR4tE"});
params.put("miniprogram_state", "trial");
params.put("modelId", modelId);
params.put("data", data);
params.put("lang", "zh_CN");
String json = JSON.toJSONString(params);
log.info(json);
String res = HttpUtil.post(url, json);
errcode 47003, errmsg argument invalid! data.enum_string3.value invali rid: 65408bd2-10597874-5c008ac2