Open cnlyzy opened 5 years ago
https://github.com/dodgepudding/wechat-php-sdk/blob/cba751772f462e1a1385a99ea44929a6a3d82098/wechat.class.php#L60
上面代码使用 EVENT_MENU_VIEW 常量会报以下错误
errcode=65318, errmsg=must use utf-8 charset hint: [xxx]
经测试把 VIEW 改为 view 即可
https://github.com/dodgepudding/wechat-php-sdk/blob/cba751772f462e1a1385a99ea44929a6a3d82098/wechat.class.php#L60
上面代码使用 EVENT_MENU_VIEW 常量会报以下错误
errcode=65318, errmsg=must use utf-8 charset hint: [xxx]
经测试把 VIEW 改为 view 即可