{"id":322974,"date":"2021-02-05T23:48:45","date_gmt":"2021-02-05T15:48:45","guid":{"rendered":"http:\/\/4563.org\/?p=322974"},"modified":"2021-02-05T23:48:45","modified_gmt":"2021-02-05T15:48:45","slug":"thinkphp-v6-0-7-%e5%8f%91%e5%b8%83-%e4%bf%ae%e6%ad%a3%e7%89%88%e6%9c%ac","status":"publish","type":"post","link":"http:\/\/4563.org\/?p=322974","title":{"rendered":"ThinkPHP V6.0.7 \u53d1\u5e03\u2014\u2014\u4fee\u6b63\u7248\u672c"},"content":{"rendered":"<div>\n<div>\n<div>\n<h1>                  ThinkPHP V6.0.7 \u53d1\u5e03\u2014\u2014\u4fee\u6b63\u7248\u672c               <\/h1>\n<p> <\/p>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : topthink <\/span>  <span><i><\/i> 9<\/span> <\/div>\n<div> <\/div>\n<\/p><\/div>\n<\/p><\/div>\n<\/p><\/div>\n<div isfirst=\"1\"> <\/p>\n<p><code>V6.0.7<\/code>\u7248\u672c\u53d1\u5e03\uff0c\u672c\u7248\u672c\u4e3b\u8981\u9488\u5bf9\u4e0a\u4e2a\u7248\u672c\u505a\u4e86\u4e00\u4e9b\u8def\u7531\u4fee\u6b63\uff0c\u8fd8\u610f\u5916\u6536\u83b7\u4e86\u4e00\u4e9b\u6027\u80fd\u63d0\u5347\uff0c\u662f\u4e00\u4e2a\u5efa\u8bae\u66f4\u65b0\u7684\u7248\u672c\u3002<\/p>\n<h2>\u4e3b\u8981\u66f4\u65b0<\/h2>\n<ul>\n<li>\u4fee\u6b63<code>Validate<\/code>\u7c7b\u7684 PHP8 \u517c\u5bb9\u6027 <\/li>\n<li>\u6539\u8fdb<code>redis<\/code>\u9a71\u52a8\u7684<code>append<\/code>\u65b9\u6cd5 <\/li>\n<li>\u4fee\u6b63\u8def\u7531\u5339\u914d\u68c0\u6d4b\u95ee\u9898 <\/li>\n<li>\u4f18\u5316\u8def\u7531\u53d8\u91cf\u6b63\u5219\u89c4\u5219\u751f\u6210 <\/li>\n<li>\u6539\u8fdb<code>responseView<\/code>\u7684\u5185\u5bb9\u6e32\u67d3<\/li>\n<\/ul>\n<h2>\u5b89\u88c5\u548c\u66f4\u65b0<\/h2>\n<p><code>V6<\/code>\u7248\u672c\u5f00\u59cb\u4ec5\u652f\u6301<code>Composer<\/code>\u5b89\u88c5\u53ca\u66f4\u65b0\uff0c\u652f\u6301\u4e0a\u4e2a\u7248\u672c\u7684\u65e0\u7f1d\u66f4\u65b0\uff0c\u76f4\u63a5\u4f7f\u7528<\/p>\n<pre><code>composer\u00a0update <\/code><\/pre>\n<p>\u66f4\u65b0\u5230\u6700\u65b0\u7248\u672c\u5373\u53ef\u3002 <\/p>\n<p>\u5982\u679c\u9700\u8981\u5168\u65b0\u5b89\u88c5\uff0c\u4f7f\u7528\uff1a<\/p>\n<pre><code>composer\u00a0create-project\u00a0topthink\/think\u00a0tp <\/code><\/pre>\n<h2>\u5b98\u65b9\u6587\u6863<\/h2>\n<ul>\n<li>\u5b98\u65b9<code>6.0<\/code>\u5b8c\u5168\u5f00\u53d1\u624b\u518c <\/li>\n<li><code>6.0<\/code>\u5165\u95e8\u5fc5\u8bfb\u6559\u7a0b<\/li>\n<\/ul>\n<h2>\u5b98\u65b9\u670d\u52a1<\/h2>\n<ul>\n<li>\u5e94\u7528\u670d\u52a1\u5e02\u573a | <code>ThinkAPI<\/code>\u2014\u2014\u7edf\u4e00 API \u670d\u52a1<\/li>\n<\/ul><\/div>\n<div> <b>\u5927\u4f6c\u6709\u8a71\u8aaa<\/b> (<span>7<\/span>)        <\/div>\n<div> <\/div>\n<\/p><\/div>\n<\/p><\/div>\n<ul>\n<li data-pid=\"5098499\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : GM <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             \u8bdd\u8bf4\uff0c\u90fd\u5df2\u7ecf\u505a\u5230 6.0 \u4e86\uff0c\u4f60\u4eec\u80fd\u4e0d\u80fd\u6539\u4e00\u4e0b\u90a3\u53e5\u82f1\u6587\u53e3\u53f7\uff1f\u6bcf\u6b21\u770b\u5230\u90fd\u89c9\u5f97\u5c2c\u5f97\u4e0d\u884c\u3002                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"5098500\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u4e3b<\/span> <span>\u8cc7\u6df1\u5927\u4f6c : topthink <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             @GM \u8fd9\u4e9b\u4e0d\u8981\u592a\u5728\u610f\u4e86                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"5098501\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : RickyC <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             \u6709\u53ef\u80fd\u5728\u4f60\u53d1\u5e03\u8fd9\u4e2a post \u4e4b\u524d, \u6211\u5c31 composer update \u4e86                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"5098502\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u4e3b<\/span> <span>\u8cc7\u6df1\u5927\u4f6c : topthink <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             @RickyC \u8fd9\u4e2a\u5f88\u6b63\u5e38\u7684 composer \u6628\u5929\u5c31\u53d1\u5e03\u4e86\u7684 \u6b63\u5f0f\u53d1\u516c\u544a\u90fd\u662f\u4f1a\u6ede\u540e\u4e00\u70b9\u7684 \u56e0\u4e3a\u8003\u8651\u5230\u56fd\u5185\u7684\u955c\u50cf\u540c\u6b65\u4e0d\u4e00\u5b9a\u53ca\u65f6                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"5098503\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : superman2 <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             @GM \u4ec0\u4e48\u53e3\u53f7\uff1f                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"5098504\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : simonzhd <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             \u4e0d\u4e60\u60ef\u7528 composer\uff0c\u4f9d\u65e7\u4f7f\u7528 tp5 \u7684\u8def\u8fc7                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"5098505\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : GM <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             @superman2 <\/p>\n<p>[ WE CAN DO IT JUST THINK ]                                                            <\/p><\/div>\n<\/p><\/div>\n<\/li>\n<li>\n","protected":false},"excerpt":{"rendered":"<p>ThinkPHP V6.0.7 \u53d1&hellip;<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[],"tags":[],"_links":{"self":[{"href":"http:\/\/4563.org\/index.php?rest_route=\/wp\/v2\/posts\/322974"}],"collection":[{"href":"http:\/\/4563.org\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/4563.org\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/4563.org\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/4563.org\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=322974"}],"version-history":[{"count":0,"href":"http:\/\/4563.org\/index.php?rest_route=\/wp\/v2\/posts\/322974\/revisions"}],"wp:attachment":[{"href":"http:\/\/4563.org\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=322974"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/4563.org\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=322974"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/4563.org\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=322974"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}