微信公众号发消息提示“该公众号提供的服务出现故障,请稍后再试"
用浏览器打开/api/wechat/serve这个接口,提示如下:
{"status":400,"msg":"很抱歉!系统开小差了","data":{"message":"Invalid request signature.","file":"\/www\/wwwroot\/xj.xxxx.com\/vendor\/overtrue\/wechat\/src\/Server\/Guard.php","code":400,"line":183,"trace":[{"file":"\/www\/wwwroot\/xj.xxxx.com\/vendor\/overtrue\/wechat\/src\/Server\/Guard.php","line":150,"function":"validate","class":"EasyWeChat\\Server\\Guard","type":"->","args":["xieXie"]},{"file":"\/www\/wwwroot\/xj.xxxx.com\/crmeb\/services\/WechatService.php","line":80,"function":"serve","class":"EasyWeChat\\Server\\Guard","type":"->","args":[]},{"file":"\/www\/wwwroot\/xj.xxxx.com\/app\/services\/wechat\/WechatServices.php","line":48,"function":"serve","class":"crmeb\\services\\WechatService","type":"::","args":[]},{"file":"\/www\/wwwroot\/xj.xxxx.com\/app\/api\/controller\/v1\/wechat\/WechatController.php","line":42,"function":"serve","class":"app\\services\\wechat\\WechatServices","type":"->","args":[]},{"function":"serve","class":"app\\api\\controller\\v1\\wechat\\WechatController","type":"->","args":[]},{"file":"\/www\/wwwroot\/xj.xxxx.com\/vendor\/topthink\/framework\/src\/think\/Container.php","line":342,"function":"invokeArgs","class":"ReflectionMethod","type":"->","args":[{},[]]},{"file":"\/www\/wwwroot\/xj.xxxx.com\/vendor\/topthink\/framework\/src\/think\/route\/dispatch\/Controller.php","line":110,"function":"invokeReflectMethod","class":"think\\Container","type":"->","args":[{},{"name":"serve","class":"app\\api\\controller\\v1\\wechat\\WechatController"},[]]},{"file":"\/www\/wwwroot\/xj.xxxx.com\/vendor\/topthink\/framework\/src\/think\/Pipeline.php","line":59,"function":"think\\route\\dispatch\\{closure}","class":"think\\route\\dispatch\\Controller","type":"->","args":[{}]},{"file":"\/www\/wwwroot\/xj.xxxx.com\/vendor\/topthink\/framework\/src\/think\/Pipeline.php","line":65,"function":"think\\{closure}","class":"think\\Pipeline","type":"->","args":[{}]},{"file":"\/www\/wwwroot\/xj.xxxx.com\/vendor\/topthink\/framework\/src\/think\/route\/dispatch\/Controller.php","line":113,"function":"then","class":"think\\Pipeline","type":"->","args":[{}]},{"file":"\/www\/wwwroot\/xj.xxxx.com\/vendor\/topthink\/framework\/src\/think\/route\/Dispatch.php","line":89,"function":"exec","class":"think\\route\\dispatch\\Controller","type":"->","args":[]},{"file":"\/www\/wwwroot\/xj.xxxx.com\/vendor\/topthink\/framework\/src\/think\/Route.php","line":760,"function":"run","class":"think\\route\\Dispatch","type":"->","args":[]},{"file":"\/www\/wwwroot\/xj.xxxx.com\/vendor\/topthink\/framework\/src\/think\/Pipeline.php","line":59,"function":"think\\{closure}","class":"think\\Route","type":"->","args":[{}]},{"file":"\/www\/wwwroot\/xj.xxxx.com\/vendor\/topthink\/framework\/src\/think\/Pipeline.php","line":65,"function":"think\\{closure}","class":"think\\Pipeline","type":"->","args":[{}]},{"file":"\/www\/wwwroot\/xj.xxxx.com\/vendor\/topthink\/framework\/src\/think\/Route.php","line":761,"function":"then","class":"think\\Pipeline","type":"->","args":[{}]},{"file":"\/www\/wwwroot\/xj.xxxx.com\/vendor\/topthink\/framework\/src\/think\/Http.php","line":210,"function":"dispatch","class":"think\\Route","type":"->","args":[{},{}]},{"file":"\/www\/wwwroot\/xj.xxxx.com\/vendor\/topthink\/framework\/src\/think\/Http.php","line":200,"function":"dispatchToRoute","class":"think\\Http","type":"->","args":[{}]},{"file":"\/www\/wwwroot\/xj.xxxx.com\/vendor\/topthink\/framework\/src\/think\/Pipeline.php","line":59,"function":"think\\{closure}","class":"think\\Http","type":"->","args":[{}]},{"file":"\/www\/wwwroot\/xj.xxxx.com\/vendor\/topthink\/think-multi-app\/src\/MultiApp.php","line":71,"function":"think\\{closure}","class":"think\\Pipeline","type":"->","args":[{}]},{"file":"\/www\/wwwroot\/xj.xxxx.com\/vendor\/topthink\/framework\/src\/think\/Pipeline.php","line":59,"function":"think\\app\\{closure}","class":"think\\app\\MultiApp","type":"->","args":[{}]},{"file":"\/www\/wwwroot\/xj.xxxx.com\/vendor\/topthink\/framework\/src\/think\/Pipeline.php","line":65,"function":"think\\{closure}","class":"think\\Pipeline","type":"->","args":[{}]},{"file":"\/www\/wwwroot\/xj.xxxx.com\/vendor\/topthink\/think-multi-app\/src\/MultiApp.php","line":72,"function":"then","class":"think\\Pipeline","type":"->","args":[{}]},{"function":"handle","class":"think\\app\\MultiApp","type":"->","args":[{},{}]},{"file":"\/www\/wwwroot\/xj.xxxx.com\/vendor\/topthink\/framework\/src\/think\/Middleware.php","line":142,"function":"call_user_func","args":[[{},"handle"],{},{}]},{"file":"\/www\/wwwroot\/xj.xxxx.com\/vendor\/topthink\/framework\/src\/think\/Pipeline.php","line":84,"function":"think\\{closure}","class":"think\\Middleware","type":"->","args":[{},{}]},{"file":"\/www\/wwwroot\/xj.xxxx.com\/vendor\/topthink\/framework\/src\/think\/middleware\/LoadLangPack.php","line":59,"function":"think\\{closure}","class":"think\\Pipeline","type":"->","args":[{}]},{"function":"handle","class":"think\\middleware\\LoadLangPack","type":"->","args":[{},{}]},{"file":"\/www\/wwwroot\/xj.xxxx.com\/vendor\/topthink\/framework\/src\/think\/Middleware.php","line":142,"function":"call_user_func","args":[[{},"handle"],{},{}]},{"file":"\/www\/wwwroot\/xj.xxxx.com\/vendor\/topthink\/framework\/src\/think\/Pipeline.php","line":84,"function":"think\\{closure}","class":"think\\Middleware","type":"->","args":[{},{}]},{"file":"\/www\/wwwroot\/xj.xxxx.com\/vendor\/topthink\/framework\/src\/think\/middleware\/SessionInit.php","line":67,"function":"think\\{closure}","class":"think\\Pipeline","type":"->","args":[{}]},{"function":"handle","class":"think\\middleware\\SessionInit","type":"->","args":[{},{}]},{"file":"\/www\/wwwroot\/xj.xxxx.com\/vendor\/topthink\/framework\/src\/think\/Middleware.php","line":142,"function":"call_user_func","args":[[{},"handle"],{},{}]},{"file":"\/www\/wwwroot\/xj.xxxx.com\/vendor\/topthink\/framework\/src\/think\/Pipeline.php","line":84,"function":"think\\{closure}","class":"think\\Middleware","type":"->","args":[{},{}]},{"file":"\/www\/wwwroot\/xj.xxxx.com\/vendor\/topthink\/framework\/src\/think\/Pipeline.php","line":65,"function":"think\\{closure}","class":"think\\Pipeline","type":"->","args":[{}]},{"file":"\/www\/wwwroot\/xj.xxxx.com\/vendor\/topthink\/framework\/src\/think\/Http.php","line":201,"function":"then","class":"think\\Pipeline","type":"->","args":[{}]},{"file":"\/www\/wwwroot\/xj.xxxx.com\/vendor\/topthink\/framework\/src\/think\/Http.php","line":162,"function":"runWithRequest","class":"think\\Http","type":"->","args":[{}]},{"file":"\/www\/wwwroot\/xj.xxxx.com\/public\/index.php","line":32,"function":"run","class":"think\\Http","type":"->","args":[]}],"previous":null}}