Commit d06ea2be by Hayreal

修复小程序卡片消息-生成测试链接

1 parent f1c1481f
......@@ -468,7 +468,7 @@ public class ExecuteTaskService {
JSONObject jsonObject = JSONObject.parseObject(attContent);
MiniProShortUrlConfigRequest urlLinkRequest = new MiniProShortUrlConfigRequest();
urlLinkRequest.setAppId(jsonObject.getString("appId"));
urlLinkRequest.setEnvVersion("trial");
urlLinkRequest.setEnvVersion(environment.getProperty("wechat.miniprogram.version"));
String pathAndParam = jsonObject.getString("page");
urlLinkRequest.setPath(pathAndParam.split("\\?")[0]);
urlLinkRequest.setParam(pathAndParam.split("\\?")[1]);
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!