正在显示
2 个修改的文件
包含
8 行增加
和
2 行删除
@@ -335,7 +335,10 @@ class Api extends Controller | @@ -335,7 +335,10 @@ class Api extends Controller | ||
335 | 'touser' => $openid, // | 335 | 'touser' => $openid, // |
336 | 'template_id' => 'zQaLnhEOQxdGOKJlDUAfEl8sL4a3qchtiXtP-n_rupI', //模板消息id 必须修改 | 336 | 'template_id' => 'zQaLnhEOQxdGOKJlDUAfEl8sL4a3qchtiXtP-n_rupI', //模板消息id 必须修改 |
337 | 'url' => $tourl, //点击链接 | 337 | 'url' => $tourl, //点击链接 |
338 | - "miniprogram" => [], | 338 | + "miniprogram" => [ |
339 | + 'appid' => $ywt_appid, | ||
340 | + 'pagepath' => $pagepath | ||
341 | + ], | ||
339 | 'topcolor' => "#173177", | 342 | 'topcolor' => "#173177", |
340 | 'data' => $info | 343 | 'data' => $info |
341 | ); | 344 | ); |
@@ -252,7 +252,10 @@ class Index extends Api | @@ -252,7 +252,10 @@ class Index extends Api | ||
252 | 'touser' => $openid, // | 252 | 'touser' => $openid, // |
253 | 'template_id' => 'zQaLnhEOQxdGOKJlDUAfEl8sL4a3qchtiXtP-n_rupI', //模板消息id 必须修改 | 253 | 'template_id' => 'zQaLnhEOQxdGOKJlDUAfEl8sL4a3qchtiXtP-n_rupI', //模板消息id 必须修改 |
254 | 'url' => $tourl, //点击链接 | 254 | 'url' => $tourl, //点击链接 |
255 | - "miniprogram" => [], | 255 | + "miniprogram" => [ |
256 | + 'appid' => $ywt_appid, | ||
257 | + 'pagepath' => $pagepath | ||
258 | + ], | ||
256 | 'topcolor' => "#173177", | 259 | 'topcolor' => "#173177", |
257 | 'data' => $info | 260 | 'data' => $info |
258 | ); | 261 | ); |
-
请 注册 或 登录 后发表评论