Sfoglia il codice sorgente

Merge branch 'feature_v1.0' into develop

tags/v1.0.0^2
chengwang 1 anno fa
parent
commit
bbc23f40c0
2 ha cambiato i file con 6 aggiunte e 0 eliminazioni
  1. +5
    -0
      tuoheng-service/tuoheng-miniprogram/src/main/java/com/tuoheng/miniprogram/param/WxSendMessageParam.java
  2. +1
    -0
      tuoheng-service/tuoheng-miniprogram/src/main/java/com/tuoheng/miniprogram/service/impl/WxServiceImpl.java

+ 5
- 0
tuoheng-service/tuoheng-miniprogram/src/main/java/com/tuoheng/miniprogram/param/WxSendMessageParam.java Vedi File

@@ -27,6 +27,11 @@ public class WxSendMessageParam {
*/
private String page;

/**
* 版本控制
*/
private String miniprogram_state;

/**
* 填充信息
*/

+ 1
- 0
tuoheng-service/tuoheng-miniprogram/src/main/java/com/tuoheng/miniprogram/service/impl/WxServiceImpl.java Vedi File

@@ -179,6 +179,7 @@ public class WxServiceImpl implements IWxService {
String url = "https://api.weixin.qq.com/cgi-bin/message/subscribe/send?access_token=" + getAccessToken();
WxSendMessageParam param = new WxSendMessageParam();
param.setPage("/package_question/pages/taskList/taskList");
param.setMiniprogram_state("trial");
param.setTouser(openId);
param.setTemplate_id(CommonConfig.templateId);
Map<String, TemplateMinDto> data = new HashMap<>(3);

Loading…
Annulla
Salva