Browse Source

修改页面调整体验版

tags/v1.0.0^2
chengwang 1 year ago
parent
commit
bfd6417b79
2 changed files with 6 additions and 0 deletions
  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 View 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 View 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…
Cancel
Save