作者 郭文星

123

... ... @@ -335,7 +335,10 @@ class Api extends Controller
'touser' => $openid, //
'template_id' => 'zQaLnhEOQxdGOKJlDUAfEl8sL4a3qchtiXtP-n_rupI', //模板消息id 必须修改
'url' => $tourl, //点击链接
"miniprogram" => [],
"miniprogram" => [
'appid' => $ywt_appid,
'pagepath' => $pagepath
],
'topcolor' => "#173177",
'data' => $info
);
... ...
... ... @@ -252,7 +252,10 @@ class Index extends Api
'touser' => $openid, //
'template_id' => 'zQaLnhEOQxdGOKJlDUAfEl8sL4a3qchtiXtP-n_rupI', //模板消息id 必须修改
'url' => $tourl, //点击链接
"miniprogram" => [],
"miniprogram" => [
'appid' => $ywt_appid,
'pagepath' => $pagepath
],
'topcolor' => "#173177",
'data' => $info
);
... ...