更新步骤:
1.!!!备份全站文件以及数据库
2.删除public/statics/download以及public/statics/mp_view文件夹
3.将升级包在根目录下解压
4.浏览器中输入“域名/adminapi/upgrade”进入升级页面,注:最后不能有/
报错如下:
{"status":400,"msg":"controller not exists:app\\adminapi\\controller\\UpgradeController","data":{"file":"\/www\/wwwroot\/crmeb.ali-pay.online\/vendor\/topthink\/framework\/src\/think\/route\/dispatch\/Controller.php","line":76,"trace":[{"file":"\/www\/wwwroot\/crmeb.ali-pay.online\/vendor\/topthink\/framework\/src\/think\/route\/Dispatch.php","line":89,"function":"exec","class":"think\\route\\dispatch\\Controller","type":"->"},{"file":"\/www\/wwwroot\/crmeb.ali-pay.online\/vendor\/topthink\/framework\/src\/think\/Route.php","line":760,"function":"run","class":"think\\route\\Dispatch","type":"->"},{"file":"\/www\/wwwroot\/crmeb.ali-pay.online\/vendor\/topthink\/framework\/src\/think\/Pipeline.php","line":59,"function":"think\\{closure}","class":"think\\Route","type":"->"},{"file":"\/www\/wwwroot\/crmeb.ali-pay.online\/app\/http\/middleware\/AllowOriginMiddleware.php","line":50,"function":"think\\{closure}","class":"think\\Pipeline","type":"->"},{"function":"handle","class":"app\\http\\middleware\\AllowOriginMiddleware","type":"->"},{"file":"\/www\/wwwroot\/crmeb.ali-pay.online\/vendor\/topthink\/framework\/src\/think\/Middleware.php","line":142,"function":"call_user_func"},{"file":"\/www\/wwwroot\/crmeb.ali-pay.online\/vendor\/topthink\/framework\/src\/think\/Pipeline.php","line":84,"function":"think\\{closure}","class":"think\\Middleware","type":"->"},{"file":"\/www\/wwwroot\/crmeb.ali-pay.online\/vendor\/topthink\/framework\/src\/think\/Pipeline.php","line":65,"function":"think\\{closure}","class":"think\\Pipeline","type":"->"},{"file":"\/www\/wwwroot\/crmeb.ali-pay.online\/vendor\/topthink\/framework\/src\/think\/Route.php","line":761,"function":"then","class":"think\\Pipeline","type":"->"},{"file":"\/www\/wwwroot\/crmeb.ali-pay.online\/vendor\/topthink\/framework\/src\/think\/Http.php","line":210,"function":"dispatch","class":"think\\Route","type":"->"},{"file":"\/www\/wwwroot\/crmeb.ali-pay.online\/vendor\/topthink\/framework\/src\/think\/Http.php","line":200,"function":"dispatchToRoute","class":"think\\Http","type":"->"},{"file":"\/www\/wwwroot\/crmeb.ali-pay.online\/vendor\/topthink\/framework\/src\/think\/Pipeline.php","line":59,"function":"think\\{closure}","class":"think\\Http","type":"->"},{"file":"\/www\/wwwroot\/crmeb.ali-pay.online\/vendor\/topthink\/think-multi-app\/src\/MultiApp.php","line":71,"function":"think\\{closure}","class":"think\\Pipeline","type":"->"},{"file":"\/www\/wwwroot\/crmeb.ali-pay.online\/vendor\/topthink\/framework\/src\/think\/Pipeline.php","line":59,"function":"think\\app\\{closure}","class":"think\\app\\MultiApp","type":"->"},{"file":"\/www\/wwwroot\/crmeb.ali-pay.online\/vendor\/topthink\/framework\/src\/think\/Pipeline.php","line":65,"function":"think\\{closure}","class":"think\\Pipeline","type":"->"},{"file":"\/www\/wwwroot\/crmeb.ali-pay.online\/vendor\/topthink\/think-multi-app\/src\/MultiApp.php","line":72,"function":"then","class":"think\\Pipeline","type":"->"},{"function":"handle","class":"think\\app\\MultiApp","type":"->"},{"file":"\/www\/wwwroot\/crmeb.ali-pay.online\/vendor\/topthink\/framework\/src\/think\/Middleware.php","line":142,"function":"call_user_func"},{"file":"\/www\/wwwroot\/crmeb.ali-pay.online\/vendor\/topthink\/framework\/src\/think\/Pipeline.php","line":84,"function":"think\\{closure}","class":"think\\Middleware","type":"->"},{"file":"\/www\/wwwroot\/crmeb.ali-pay.online\/app\/http\/middleware\/BaseMiddleware.php","line":36,"function":"think\\{closure}","class":"think\\Pipeline","type":"->"},{"function":"handle","class":"app\\http\\middleware\\BaseMiddleware","type":"->"},{"file":"\/www\/wwwroot\/crmeb.ali-pay.online\/vendor\/topthink\/framework\/src\/think\/Middleware.php","line":142,"function":"call_user_func"},{"file":"\/www\/wwwroot\/crmeb.ali-pay.online\/vendor\/topthink\/framework\/src\/think\/Pipeline.php","line":84,"function":"think\\{closure}","class":"think\\Middleware","type":"->"},{"file":"\/www\/wwwroot\/crmeb.ali-pay.online\/vendor\/topthink\/framework\/src\/think\/middleware\/LoadLangPack.php","line":59,"function":"think\\{closure}","class":"think\\Pipeline","type":"->"},{"function":"handle","class":"think\\middleware\\LoadLangPack","type":"->"},{"file":"\/www\/wwwroot\/crmeb.ali-pay.online\/vendor\/topthink\/framework\/src\/think\/Middleware.php","line":142,"function":"call_user_func"},{"file":"\/www\/wwwroot\/crmeb.ali-pay.online\/vendor\/topthink\/framework\/src\/think\/Pipeline.php","line":84,"function":"think\\{closure}","class":"think\\Middleware","type":"->"},{"file":"\/www\/wwwroot\/crmeb.ali-pay.online\/vendor\/topthink\/framework\/src\/think\/middleware\/SessionInit.php","line":67,"function":"think\\{closure}","class":"think\\Pipeline","type":"->"},{"function":"handle","class":"think\\middleware\\SessionInit","type":"->"},{"file":"\/www\/wwwroot\/crmeb.ali-pay.online\/vendor\/topthink\/framework\/src\/think\/Middleware.php","line":142,"function":"call_user_func"},{"file":"\/www\/wwwroot\/crmeb.ali-pay.online\/vendor\/topthink\/framework\/src\/think\/Pipeline.php","line":84,"function":"think\\{closure}","class":"think\\Middleware","type":"->"},{"file":"\/www\/wwwroot\/crmeb.ali-pay.online\/vendor\/topthink\/framework\/src\/think\/Pipeline.php","line":65,"function":"think\\{closure}","class":"think\\Pipeline","type":"->"},{"file":"\/www\/wwwroot\/crmeb.ali-pay.online\/vendor\/topthink\/framework\/src\/think\/Http.php","line":201,"function":"then","class":"think\\Pipeline","type":"->"},{"file":"\/www\/wwwroot\/crmeb.ali-pay.online\/vendor\/topthink\/framework\/src\/think\/Http.php","line":162,"function":"runWithRequest","class":"think\\Http","type":"->"},{"file":"\/www\/wwwroot\/crmeb.ali-pay.online\/public\/index.php","line":32,"function":"run","class":"think\\Http","type":"->"}],"previous":null}}
{{item.user_info.nickname ? item.user_info.nickname : item.user_name}}
作者 管理员 企业
{{itemf.name}}
{{itemc.user_info.nickname}}
{{itemc.user_name}}
回复 {{itemc.comment_user_info.nickname}}
{{itemf.name}}