Replies: 2 comments
-
已经解决,谢谢观注~ |
Beta Was this translation helpful? Give feedback.
0 replies
-
请问, 如何解决的呢? |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
个人帐号类型的小程序,确认没有使用第三方服务,已经开通并配置了消息推送服务,具体配置如下:
EasyWeChat版本:5
消息加密方式:兼容
数据格式:XML
代码大致如下:
`private function mpInit()
{
$config = [
'app_id' => 'xx',
'secret' => 'xx',
'token' => 'xx',
'response_type' => 'array',
// 'aes_key' => 'ryBKn8i1O9HZk1dXXfl0Ry1EXKFgD0Poz1lCp1AY36m',
'log' => [
'level' => 'debug',
'file' => DIR . '/wechat.log',
],
];
self::$app = Factory::miniProgram($config);
}
如果配置了aes_key,则没有报错,但一直无法回复消息,没有配置的话就直接提示“该小程序提供的服务出现故障,请稍后再试”
Beta Was this translation helpful? Give feedback.
All reactions