wupengfei 3 年之前
父節點
當前提交
e056c12a3e
共有 1 個文件被更改,包括 2 次插入1 次删除
  1. 2 1
      application/common.php

+ 2 - 1
application/common.php

@@ -149,11 +149,12 @@ function send_message($access_token,$openid,$jump_url){
     $data=[
         'touser'=>$openid,
         'mp_template_msg'=>[
-            "appid"=>"wx8e881917d7c4c283",// 公众号
+            "appid"=>"wx4ccfaf737dd24004",// 公众号
             "template_id"=>"2n42cwWat6UsokuOd9uqYAKIOF4Jbezw7hwVht11pz4",
             "url"=>$jump_url,
             'miniprogram'=>[
                 "appid"=>"wx4ccfaf737dd24004",// 小程序
+                "pagepath"=>"index?foo=bar"
             ],
             'data'=>[
                 'first'=>[