| xqd
@@ -564,7 +564,7 @@ if (!function_exists('send_wechatSubscription_message')) {
|
|
|
function send_wechatSubscription_message($type, $arr)
|
|
|
{
|
|
|
try {
|
|
|
- $app = Factory::miniProgram(config('config.docter_wechat_officialAccount'));
|
|
|
+ $app = Factory::miniProgram(config('config.docter_wechat_small_program'));
|
|
|
$data = config('config.wechatSubscription_template')[$type];
|
|
|
$json = json_encode($data, JSON_UNESCAPED_UNICODE);
|
|
|
$json = vsprintf($json, $arr);
|
| xqd
@@ -575,4 +575,4 @@ if (!function_exists('send_wechatSubscription_message')) {
|
|
|
}
|
|
|
return $result ?? false;
|
|
|
}
|
|
|
-}
|
|
|
+}
|