|
|
|
|
|
|
|
|
String url = "https://api.weixin.qq.com/cgi-bin/message/subscribe/send?access_token=" + getAccessToken(); |
|
|
String url = "https://api.weixin.qq.com/cgi-bin/message/subscribe/send?access_token=" + getAccessToken(); |
|
|
WxSendMessageParam param = new WxSendMessageParam(); |
|
|
WxSendMessageParam param = new WxSendMessageParam(); |
|
|
param.setPage("/package_question/pages/taskList/taskList"); |
|
|
param.setPage("/package_question/pages/taskList/taskList"); |
|
|
param.setMiniprogram_state("trial"); |
|
|
|
|
|
|
|
|
//param.setMiniprogram_state("formal"); |
|
|
param.setTouser(openId); |
|
|
param.setTouser(openId); |
|
|
param.setTemplate_id(CommonConfig.templateId); |
|
|
param.setTemplate_id(CommonConfig.templateId); |
|
|
Map<String, TemplateMinDto> data = new HashMap<>(3); |
|
|
Map<String, TemplateMinDto> data = new HashMap<>(3); |