{"code":0,"msg":"操作成功","data":[{"id":26770,"mid":1,"fid":5,"title":"之前购买的齐博cms授权，想换一个域名用，怎么办理？","ispic":0,"uid":2657,"view":120,"status":1,"lock":0,"create_time":"2026-03-20 14:56","update_time":"19小时前","list":1777184634,"picurl":"","mvurl":"","province_id":0,"city_id":0,"zone_id":0,"street_id":0,"agree":3,"replynum":2,"reward":0,"ext_sys":0,"ext_id":0,"replyuser":"sss","phone_type":"","qun_status":0,"buyuser":"","font_color":"","font_type":0,"map_x":0,"map_y":0,"map":"","kwtags":"","kwtagid":"","askmoney":"0.00","good_reply":0,"ext2_sys":0,"ext2_id":0,"image_type":0,"full_content":"<p><span style=\"color: rgb(255, 255, 255); font-family: 微软雅黑; font-size: 14px; text-wrap-mode: wrap; background-color: rgb(95, 184, 120);\">之前购买的齐博cms授权，想换一个域名用，怎么办理？<\/span><\/p>","content":"之前购买的齐博cms授权，想换一个域名用，怎么办理？","DIR":"bbs","url":"\/bbs\/show-26770.html","sort_name":"V系列产品","mid_name":"论坛模型","sort_url":"\/bbs\/list-5.html","full_time":1773989813,"time":"2026-03-20 14:56","username":"走在路上","user_icon":"https:\/\/thirdqq.qlogo.cn\/qqapp\/204300\/55A93A08D5B6F610E59F6A900BC42234\/100","user_url":"\/member.php\/home\/2657.html","full_title":"之前购买的齐博cms授权，想换一个域名用，怎么办理？","picurls":[],"user_name":"走在路上"},{"id":18565,"mid":1,"fid":4,"title":"最新省市三级地区表带经纬度 版本20200814（已集成到后台 ）","ispic":0,"uid":69,"view":2274,"status":1,"lock":0,"create_time":"2020-10-09 08:32","update_time":"28天前","list":1774772602,"picurl":"","mvurl":"","province_id":0,"city_id":0,"zone_id":0,"street_id":0,"agree":27,"replynum":81,"reward":0,"ext_sys":0,"ext_id":162,"replyuser":"十个太阳","phone_type":"","qun_status":0,"buyuser":"","font_color":"","font_type":0,"map_x":0,"map_y":0,"map":"","kwtags":"","kwtagid":"","askmoney":"0.00","good_reply":0,"ext2_sys":0,"ext2_id":0,"image_type":0,"full_content":"<p><span style=\"color: rgb(255, 0, 0);\"><strong>已经集成到后台 更新后 会员组全选权限后 打开省份管理导入系统地址库即可<\/strong><\/span><\/p><p>最新的省市县 三级地区表，带了经纬度，和微信位置一样的地区编码格式。<\/p><p>id 为行政区划代码<span style=\"color: rgb(5, 6, 10); font-family: 微软雅黑; font-size: 14px; word-spacing: 1px; background-color: rgb(255, 255, 255);\"><\/span>&nbsp; 父级id 也是行政区划代码 方便对接微信各项地区数据。<\/p><p>数据来源：<\/p><p>这是通过腾讯位置服务的行政区划【版本是：20200814】相关接口整理出来的<\/p><p>官方地址：https:\/\/lbs.qq.com\/service\/webService\/webServiceGuide\/webServiceDistrict<\/p><p>数据效验地址：<a href=\"http:\/\/www.mca.gov.cn\/article\/sj\/xzqh\/2020\/2020\/20200908007001.html\" _src=\"http:\/\/www.mca.gov.cn\/article\/sj\/xzqh\/2020\/2020\/20200908007001.html\">http:\/\/www.mca.gov.cn\/article\/sj\/xzqh\/2020\/2020\/20200908007001.html<\/a>&nbsp;<\/p><p>时间关系 都是采用程序效验 暂时没有发现bug 行政区域变化很多 并不能保证100%都修正了<\/p><p><span style=\"color: rgb(255, 0, 0);\"><strong>如果您的程序已经使用了其他三级 四级的地区代码表就不要更新了 因为更新后id会不符合原来的&nbsp;<\/strong><\/span><\/p><p>本表仅适用于新建的站点。在导入数据之前您需要在数据库工具或者phpmyadmin执行：<\/p><p><span style=\"color: rgb(255, 0, 0);\"><strong>DROP TABLE qb_area<\/strong><\/span><\/p><p>然后下载附件放到&nbsp;&nbsp;\\runtime\\mysql_bak 下面 后台恢复数据库选择&nbsp;2020-10-09_082351_.1bc 恢复 然后更新缓存即可。<\/p><p>[reply]&nbsp;<\/p><p style=\"line-height: 16px;\"><img style=\"vertical-align: middle; margin-right: 2px;\" src=\"https:\/\/x1.php168.com\/public\/static\/libs\/ueditor\/dialogs\/attachment\/fileTypeImages\/icon_rar.gif\"\/><a style=\"font-size:12px; color:#0066cc;\" href=\"\/public\/uploads\/files\/20201009\/69_20201009083213500c6.zip\" title=\"69_20201009083213500c6.zip\">69_20201009083213500c6.zip<\/a><\/p><p>&nbsp;[\/reply]<\/p><p><br\/><\/p><p>行政区划代码规则说明<\/p><p>代码共6位，前两位代表省（一级）、中间两位为市\/地区（二级），最后两位为区县（三级）<\/p><p>&nbsp;1）省级：前两位有值，后4位置0，如，河北省：130000<\/p><p>&nbsp;2）市\/地区：前4四位有值，包含省代码与市代码，最后两位置0，如河北省保定市：130600<\/p><p>&nbsp;3）区县：6位全有值，包含前4位省市代码及区县代码，河北省保定市涿州市：130681<\/p><p>&nbsp;4）直辖县：第3、4位为90的，为省直辖县<\/p><p><br\/><\/p>","content":"已经集成到后台 更新后 会员组全选权限后 打开省份管理导入系统地址库即可最新的省市县 三级地区表，带了经纬度，和微信位置一样的地区编码格式。id 为行政区划代码 父级id 也是行政区划代码 方便对接微信各项地区数据。数据来源：这是通过腾讯位置服务的行政区划【版本是：20200814】相关接口整理出来的官方地址：https:\/\/lbs.qq.com\/service\/webService\/webServiceGuide\/webServiceDistrict数据效验地址：http:\/\/www.mca.gov.cn\/article\/sj\/xzqh\/2020\/2020\/20200908007001.html时间关系 都是采用程序效验 暂时没有发现bug 行政区域变化很多 并不能保证100%都修正了如果您的程序已经使用了其他三级 四级的地区代码表就不要更新了 因为更新后id会不符合原来的本表仅适用于新建的站点。在导入数据之前您需要在数据库工具或者phpmyadmin执行：DROP TABLE qb_area然后下载附件放到\\runtime\\mysql_bak 下面 后台恢复数据库选择2020-10-09_082351_.1bc 恢复 然后更新缓存即可。行政区划代码规则说明代码共6位，前两位代表省（一级）、中间两位为市\/地区（二级），最后两位为区县（三级）1）省级：前两位有值，后4位置0，如，河北省：1300002）市\/地区：前4四位有值，包含省代码与市代码，最后两位置0，如河北省保定市：1306003）区县：6位全有值，包含前4位省市代码及区县代码，河北省保定市涿州市：1306814）直辖县：第3、4位为90的，为省直辖县","DIR":"bbs","url":"\/bbs\/show-18565.html","sort_name":"技术交流","mid_name":"论坛模型","sort_url":"\/bbs\/list-4.html","full_time":1602203536,"time":"2020-10-09 08:32","username":"Suifeng","user_icon":"https:\/\/x1.php168.com\/public\/uploads\/images\/20200417\/69_202004171718015580e.gif","user_url":"\/member.php\/home\/69.html","full_title":"最新省市三级地区表带经纬度 版本20200814（已集成到后台 ）","picurls":[],"user_name":"Suifeng"},{"id":26719,"mid":1,"fid":4,"title":"怎样关闭或删除“在线客服”模块？","ispic":0,"uid":349,"view":446,"status":1,"lock":0,"create_time":"2025-05-07 18:49","update_time":"28天前","list":1774772592,"picurl":"https:\/\/x1.php168.com\/public\/uploads\/images\/20250507\/349_20250507184758ad287.png","mvurl":"","province_id":0,"city_id":0,"zone_id":0,"street_id":0,"agree":4,"replynum":5,"reward":0,"ext_sys":0,"ext_id":0,"replyuser":"十个太阳","phone_type":"","qun_status":0,"buyuser":"","font_color":"","font_type":0,"map_x":0,"map_y":0,"map":"","kwtags":"","kwtagid":"","askmoney":"0.00","good_reply":0,"ext2_sys":0,"ext2_id":0,"image_type":0,"full_content":"<p>怎样关闭或删除“在线客服”模块？特别是手机版本的。不要问为什么，肯定有重要原因！<br\/><img src=\"\/public\/uploads\/images\/20250507\/349_20250507184758ad287.png\" title=\"image.png\" alt=\"\"\/><\/p>","content":"怎样关闭或删除“在线客服”模块？特别是手机版本的。不要问为什么，肯定有重要原因！","DIR":"bbs","url":"\/bbs\/show-26719.html","sort_name":"技术交流","mid_name":"论坛模型","sort_url":"\/bbs\/list-4.html","full_time":1746614974,"time":"2025-05-07 18:49","username":"笛声悠扬","user_icon":"https:\/\/x1.php168.com\/public\/uploads\/images\/20180511\/9f6d286f8401219cb84dd060259a3173.jpeg","user_url":"\/member.php\/home\/349.html","full_title":"怎样关闭或删除“在线客服”模块？","picurls":[{"picurl":"https:\/\/x1.php168.com\/public\/uploads\/images\/20250507\/349_20250507184758ad287.png"}],"user_name":"笛声悠扬"},{"id":26748,"mid":1,"fid":4,"title":"请问，为啥首页板块里，外边显示的内容都一样，怎么样显示实际分组的？","ispic":0,"uid":15257,"view":262,"status":1,"lock":0,"create_time":"2025-09-11 09:26","update_time":"28天前","list":1774772580,"picurl":"https:\/\/x1.php168.com\/public\/uploads\/images\/20250911\/15257_20250911092644ae2dd.jpg","mvurl":"","province_id":0,"city_id":0,"zone_id":0,"street_id":0,"agree":5,"replynum":3,"reward":0,"ext_sys":0,"ext_id":0,"replyuser":"十个太阳","phone_type":"","qun_status":0,"buyuser":"","font_color":"","font_type":0,"map_x":113.263661,"map_y":23.155131,"map":"113.263661,23.155131","kwtags":"","kwtagid":"","askmoney":"0.00","good_reply":0,"ext2_sys":0,"ext2_id":0,"image_type":0,"full_content":"<p><img src=\"\/public\/uploads\/images\/20250911\/15257_20250911092644ae2dd.jpg\" style=\"width: 350px;\"><br><\/p>","content":"","DIR":"bbs","url":"\/bbs\/show-26748.html","sort_name":"技术交流","mid_name":"论坛模型","sort_url":"\/bbs\/list-4.html","full_time":1757554016,"time":"2025-09-11 09:26","username":"caoxino","user_icon":"https:\/\/x1.php168.com\/public\/static\/images\/nobody.gif","user_url":"\/member.php\/home\/15257.html","full_title":"请问，为啥首页板块里，外边显示的内容都一样，怎么样显示实际分组的？","picurls":[{"picurl":"https:\/\/x1.php168.com\/public\/uploads\/images\/20250911\/15257_20250911092644ae2dd.jpg"}],"user_name":"caoxino"},{"id":26751,"mid":1,"fid":4,"title":"推荐一款VPN，不想花钱的话，每天签到免费1小时","ispic":0,"uid":1099,"view":248,"status":1,"lock":0,"create_time":"2025-09-29 22:02","update_time":"28天前","list":1774772571,"picurl":"","mvurl":"","province_id":0,"city_id":0,"zone_id":0,"street_id":0,"agree":2,"replynum":1,"reward":0,"ext_sys":0,"ext_id":0,"replyuser":"十个太阳","phone_type":"","qun_status":0,"buyuser":"","font_color":"","font_type":0,"map_x":0,"map_y":0,"map":"","kwtags":"","kwtagid":"","askmoney":"0.00","good_reply":0,"ext2_sys":0,"ext2_id":0,"image_type":0,"full_content":"<p><span style=\"color: rgb(102, 102, 102); font-family: &quot;Helvetica Neue&quot;, Helvetica, &quot;PingFang SC&quot;, Tahoma, Arial, sans-serif; font-size: 14px; text-wrap-mode: wrap; background-color: rgb(250, 250, 250);\">免费的已经不能用了，推荐一款收费的，速度不错官网：<\/span><a href=\"http:\/\/andyvpn.co\/emgc\" target=\"_blank\" style=\"text-decoration-line: none; color: rgb(51, 51, 51); font-family: &quot;Helvetica Neue&quot;, Helvetica, &quot;PingFang SC&quot;, Tahoma, Arial, sans-serif; font-size: 14px; text-wrap-mode: wrap; background-color: rgb(250, 250, 250);\">http:\/\/andyvpn.co\/emgc<\/a><br style=\"color: rgb(102, 102, 102); font-family: &quot;Helvetica Neue&quot;, Helvetica, &quot;PingFang SC&quot;, Tahoma, Arial, sans-serif; font-size: 14px; text-wrap-mode: wrap; background-color: rgb(250, 250, 250);\"\/><span style=\"color: rgb(102, 102, 102); font-family: &quot;Helvetica Neue&quot;, Helvetica, &quot;PingFang SC&quot;, Tahoma, Arial, sans-serif; font-size: 14px; text-wrap-mode: wrap; background-color: rgb(250, 250, 250);\">PC版直接下载<\/span><a href=\"http:\/\/andyvpn.co\/pc\/emgc\" target=\"_blank\" style=\"text-decoration-line: none; color: rgb(119, 119, 119); outline: 0px; font-family: &quot;Helvetica Neue&quot;, Helvetica, &quot;PingFang SC&quot;, Tahoma, Arial, sans-serif; font-size: 14px; text-wrap-mode: wrap; background-color: rgb(250, 250, 250);\">http:\/\/andyvpn.co\/pc\/emgc<\/a><br style=\"color: rgb(102, 102, 102); font-family: &quot;Helvetica Neue&quot;, Helvetica, &quot;PingFang SC&quot;, Tahoma, Arial, sans-serif; font-size: 14px; text-wrap-mode: wrap; background-color: rgb(250, 250, 250);\"\/><span style=\"color: rgb(102, 102, 102); font-family: &quot;Helvetica Neue&quot;, Helvetica, &quot;PingFang SC&quot;, Tahoma, Arial, sans-serif; font-size: 14px; text-wrap-mode: wrap; background-color: rgb(250, 250, 250);\">安卓版下载<\/span><a href=\"http:\/\/andyvpn.co\/az\/emgc\" target=\"_blank\" style=\"text-decoration-line: none; color: rgb(51, 51, 51); font-family: &quot;Helvetica Neue&quot;, Helvetica, &quot;PingFang SC&quot;, Tahoma, Arial, sans-serif; font-size: 14px; text-wrap-mode: wrap; background-color: rgb(250, 250, 250);\">http:\/\/andyvpn.co\/az\/emgc<\/a><br style=\"color: rgb(102, 102, 102); font-family: &quot;Helvetica Neue&quot;, Helvetica, &quot;PingFang SC&quot;, Tahoma, Arial, sans-serif; font-size: 14px; text-wrap-mode: wrap; background-color: rgb(250, 250, 250);\"\/><span style=\"color: rgb(102, 102, 102); font-family: &quot;Helvetica Neue&quot;, Helvetica, &quot;PingFang SC&quot;, Tahoma, Arial, sans-serif; font-size: 14px; text-wrap-mode: wrap; background-color: rgb(250, 250, 250);\">ISO下载<\/span><a href=\"http:\/\/andyvpn.co\/ios\/emgc\" target=\"_blank\" style=\"text-decoration-line: none; color: rgb(51, 51, 51); font-family: &quot;Helvetica Neue&quot;, Helvetica, &quot;PingFang SC&quot;, Tahoma, Arial, sans-serif; font-size: 14px; text-wrap-mode: wrap; background-color: rgb(250, 250, 250);\">http:\/\/andyvpn.co\/ios\/emgc<\/a><\/p>","content":"免费的已经不能用了，推荐一款收费的，速度不错官网：http:\/\/andyvpn.co\/emgcPC版直接下载http:\/\/andyvpn.co\/pc\/emgc安卓版下载http:\/\/andyvpn.co\/az\/emgcISO下载http:\/\/andyvpn.co\/ios\/emgc","DIR":"bbs","url":"\/bbs\/show-26751.html","sort_name":"技术交流","mid_name":"论坛模型","sort_url":"\/bbs\/list-4.html","full_time":1759154560,"time":"2025-09-29 22:02","username":"银杏114在线","user_icon":"https:\/\/thirdwx.qlogo.cn\/mmopen\/9PiclwnBz9KF2DiaRyia3ayP0RuZpVmakL76mUaicyFsjcEFUHdBkVb54nFDRJQ8ibq1GANKjcn4YGGldCKPXxDBoUhGFh8Q95eibs\/132","user_url":"\/member.php\/home\/1099.html","full_title":"推荐一款VPN，不想花钱的话，每天签到免费1小时","picurls":[],"user_name":"银杏114在线"},{"id":26754,"mid":1,"fid":4,"title":"现有功能能实现发送服务通知的功能吗","ispic":0,"uid":248,"view":295,"status":1,"lock":0,"create_time":"2025-10-15 12:04","update_time":"28天前","list":1774772553,"picurl":"https:\/\/x1.php168.com\/public\/uploads\/images\/20251015\/248_202510151203017319a.jpg","mvurl":"","province_id":0,"city_id":0,"zone_id":0,"street_id":0,"agree":3,"replynum":2,"reward":0,"ext_sys":0,"ext_id":0,"replyuser":"十个太阳","phone_type":"","qun_status":0,"buyuser":"","font_color":"","font_type":0,"map_x":0,"map_y":0,"map":"","kwtags":"","kwtagid":"","askmoney":"0.00","good_reply":0,"ext2_sys":0,"ext2_id":0,"image_type":0,"full_content":"<p><img src=\"\/public\/uploads\/images\/20251015\/248_202510151203017319a.jpg\" title=\"83677f874ab3d6c3f230d55e47807ebc.jpg\" alt=\"\" width=\"450\/\"\/><\/p><p>现在的功能，除了微信服务号模板消息，有发送服务通知的功能吗？<\/p><p>有没有人用过，是不是需要注册开发者平台？<\/p>","content":"现在的功能，除了微信服务号模板消息，有发送服务通知的功能吗？有没有人用过，是不是需要注册开发者平台？","DIR":"bbs","url":"\/bbs\/show-26754.html","sort_name":"技术交流","mid_name":"论坛模型","sort_url":"\/bbs\/list-4.html","full_time":1760501096,"time":"2025-10-15 12:04","username":"祯禛","user_icon":"https:\/\/thirdwx.qlogo.cn\/mmopen\/AhLk989Zrl2AqVKDoNmF9eLvCK39vJfF7gpR2ZbqnRtUHgibp5z7fIL5dZrp03kL4nlERMVRjoOXbPfj26SCfkA\/132","user_url":"\/member.php\/home\/248.html","full_title":"现有功能能实现发送服务通知的功能吗","picurls":[{"picurl":"https:\/\/x1.php168.com\/public\/uploads\/images\/20251015\/248_202510151203017319a.jpg"}],"user_name":"祯禛"},{"id":25073,"mid":1,"fid":4,"title":"分享大家一个访问谷歌的方法，借助香港服务器，用宝塔面板设置反向代理，轻松访问","ispic":0,"uid":8354,"view":10069,"status":1,"lock":0,"create_time":"2022-04-21 20:10","update_time":"28天前","list":1774772543,"picurl":"","mvurl":"","province_id":0,"city_id":0,"zone_id":0,"street_id":0,"agree":22,"replynum":115,"reward":0,"ext_sys":0,"ext_id":0,"replyuser":"十个太阳","phone_type":"","qun_status":0,"buyuser":"","font_color":"","font_type":0,"map_x":0,"map_y":0,"map":"","kwtags":"","kwtagid":"","askmoney":"0.00","good_reply":0,"ext2_sys":0,"ext2_id":0,"image_type":0,"full_content":"<p>前提是需要你有国外的服务器，阿里，腾讯搞活动的时候，其实很便宜一两百块就能拿下三年的香港服务器。<\/p><p>当然我们不是叫大家看带颜色的东西。只是告诉大家这样就可以用这个来搜索资料，谷歌是比百度更好用的。<\/p><p><br\/><\/p><p>你添加一个域名站点，然后按下图设置反向代理即可。<\/p><p><br\/><\/p><p>另外，如果你的谷歌浏览器要升级，或者是要装插件的话，就修改你本地的DNS文件<\/p><p>C:\\Windows\\System32\\drivers\\etc\\hosts<\/p><p><br\/><\/p><p>添加一条记录<\/p><p>129.226.00.00&nbsp; <a href=\"http:\/\/www.goole.com\" _src=\"http:\/\/www.goole.com\">www.google.com<\/a> <\/p><p><br\/><\/p><p>129.226.00.00 是你的国外服务器IP。这样就可以了。这样你也可以直接在浏览器输入&nbsp;&nbsp;<a href=\"http:\/\/www.goole.com\/\" _src=\"http:\/\/www.goole.com\" style=\"white-space: normal;\">www.goole.com<\/a>&nbsp;访问即可。而不需要单独设置域名。<\/p><p><br\/><\/p><p>仅仅自己访问的话，推荐修改host设置为谷歌域名。要给别人也能访问的话，就自己指定一个其它域名即可<\/p><p><br\/><\/p><p>下面hk.com我也是本机随便绑定的一个域名，做测试用的。因为只给自己用。当然，最好还是自己把google.com指向到你的服务器IP。<\/p><p><br\/><\/p><p>[reply]&nbsp;<\/p><p style=\"white-space: normal;\"><img src=\"https:\/\/x1.php168.com\/public\/uploads\/images\/20220421\/8354_202204212005241228e.png\" title=\"image.png\" alt=\"\"\/><\/p><p style=\"white-space: normal;\"><img src=\"https:\/\/x1.php168.com\/public\/uploads\/images\/20220421\/8354_20220421200803a64de.png\" title=\"image.png\" alt=\"\"\/><\/p><p>&nbsp;[\/reply]<\/p>","content":"前提是需要你有国外的服务器，阿里，腾讯搞活动的时候，其实很便宜一两百块就能拿下三年的香港服务器。当然我们不是叫大家看带颜色的东西。只是告诉大家这样就可以用这个来搜索资料，谷歌是比百度更好用的。你添加一个域名站点，然后按下图设置反向代理即可。另外，如果你的谷歌浏览器要升级，或者是要装插件的话，就修改你本地的DNS文件C:\\Windows\\System32\\drivers\\etc\\hosts添加一条记录129.226.00.00 www.google.com 129.226.00.00 是你的国外服务器IP。这样就可以了。这样你也可以直接在浏览器输入www.goole.com访问即可。而不需要单独设置域名。仅仅自己访问的话，推荐修改host设置为谷歌域名。要给别人也能访问的话，就自己指定一个其它域名即可下面hk.com我也是本机随便绑定的一个域名，做测试用的。因为只给自己用。当然，最好还是自己把google.com指向到你的服务器IP。","DIR":"bbs","url":"\/bbs\/show-25073.html","sort_name":"技术交流","mid_name":"论坛模型","sort_url":"\/bbs\/list-4.html","full_time":1650543029,"time":"2022-04-21 20:10","username":"wj168","user_icon":"https:\/\/x1.php168.com\/public\/static\/images\/nobody.gif","user_url":"\/member.php\/home\/8354.html","full_title":"分享大家一个访问谷歌的方法，借助香港服务器，用宝塔面板设置反向代理，轻松访问","picurls":[],"user_name":"wj168"},{"id":14252,"mid":1,"fid":4,"title":"linux 宝塔面板安装rtmp简陋教程 （已加视频版教程）","ispic":0,"uid":69,"view":6145,"status":2,"lock":0,"create_time":"2020-02-05 16:43","update_time":"28天前","list":1774772533,"picurl":"https:\/\/x1.php168.com\/public\/uploads\/images\/20200205\/69_20200205160352dacb5.png","mvurl":"","province_id":0,"city_id":0,"zone_id":0,"street_id":0,"agree":24,"replynum":75,"reward":0,"ext_sys":0,"ext_id":162,"replyuser":"十个太阳","phone_type":"","qun_status":0,"buyuser":"","font_color":"","font_type":0,"map_x":0,"map_y":0,"map":"","kwtags":"linux,宝塔,面板,安装","kwtagid":"1226,3033,165,1836,4252","askmoney":"0.00","good_reply":0,"ext2_sys":0,"ext2_id":0,"image_type":0,"full_content":"<p><a href=\"https:\/\/x1.php168.com\/cms\/show-302.html\">https:\/\/x1.php168.com\/cms\/show-302.html<\/a>&nbsp;<\/p><p><br\/><\/p><p><span style=\"color: rgb(255, 0, 0);\"><strong>视频版 有部分命令执行的时间比较长 可以快进过去 可以先看一次视频 然后对着这里的命令进行输入即可&nbsp;<\/strong><\/span><\/p><p><span style=\"color:#ff0000\"><strong>不支持录制回放 只有win版支持&nbsp;<a href=\"https:\/\/www.kancloud.cn\/php168\/x1_of_qibo\/1459144\">https:\/\/www.kancloud.cn\/php168\/x1_of_qibo\/1459144<\/a>&nbsp;<\/strong><\/span><\/p><p><span style=\"color: rgb(255, 0, 0);\"><strong><br\/><\/strong><\/span><\/p><p>说明比较长，需要一定的操作动手能力才行。<\/p><p>基础条件 第一个必须是linux服务器 第二个安装了宝塔面板 第三编译安装nginx1.7.6+php5.6<\/p><fieldset class=\"135editor\" style=\"font-family:sans-serif;border:0px none;\"><h2 style=\"margin:8px 0px 0px;padding:0px;font-size:16px;line-height:28px;max-width:100%;color:#0070c0;min-height:32px;border-bottom-width:2px;border-bottom-style:solid;border-bottom-color:#0070c0;text-align:justify;\"><span class=\"autonum\" placeholder=\"1\" style=\"border-radius:80% 100% 90% 20%;color:#ffffff;display:block;float:left;line-height:20px;margin:0px 8px 0px 0px;max-width:100%;padding:4px 10px;word-wrap:break-word !important;background-color:#0070c0;\">1<\/span><strong class=\"135brush\" data-brushtype=\"text\">第一步<\/strong><\/h2><\/fieldset><p>修改\/www\/server\/panel\/install\/nginx.sh文件 如下图位置的文件<\/p><p><img src=\"\/public\/uploads\/images\/20200205\/69_20200205160352dacb5.png\" title=\"image.png\" alt=\"\"\/><\/p><p><br\/><\/p><p>点编辑 找到&nbsp;.\/configure 部分 免费版7.1版大约在205行 我们添加一个&nbsp;--add-module=\/www\/server\/nginx_plus\/nginx-rtmp-module 添加完成后如下：请勿直接复制 版本不一样 其他的配置也不一样&nbsp;<\/p><pre class=\"brush:as3;toolbar:false\">.\/configure&nbsp;--add-module=\/www\/server\/nginx_plus\/nginx-rtmp-module&nbsp;--user=www&nbsp;--group=www&nbsp;--prefix=${Setup_Path}&nbsp;${ENABLE_LUA}&nbsp;--add-module=${Setup_Path}\/src\/ngx_cache_purge&nbsp;--add-module=${Setup_Path}\/src\/nginx-sticky-module&nbsp;--with-openssl=${Setup_Path}\/src\/openssl&nbsp;--with-pcre=pcre-${pcre_version}&nbsp;${ENABLE_HTTP2}&nbsp;--with-http_stub_status_module&nbsp;--with-http_ssl_module&nbsp;--with-http_image_filter_module&nbsp;--with-http_gzip_static_module&nbsp;--with-http_gunzip_module&nbsp;--with-ipv6&nbsp;--with-http_sub_module&nbsp;--with-http_flv_module&nbsp;--with-http_addition_module&nbsp;--with-http_realip_module&nbsp;--with-http_mp4_module&nbsp;--with-ld-opt=&quot;-Wl,-E&quot;&nbsp;--with-cc-opt=&quot;-Wno-error&quot;&nbsp;${jemallocLD}&nbsp;${ENABLE_NGX_PAGESPEED}&nbsp;${ADD_EXTENSION}<\/pre><p>可以看出就是在&nbsp;--user=www 前面加上了&nbsp;<span style=\"color: rgb(255, 0, 0);\">--add-module=\/www\/server\/nginx_plus\/nginx-rtmp-module<\/span> <span style=\"color: rgb(255, 0, 0);\">空格隔开<\/span><\/p><p>添加完了 记得保存<\/p><fieldset class=\"135editor\" style=\"font-family:sans-serif;border:0px none;\"><h2 style=\"margin:8px 0px 0px;padding:0px;font-size:16px;line-height:28px;max-width:100%;color:#0070c0;min-height:32px;border-bottom-width:2px;border-bottom-style:solid;border-bottom-color:#0070c0;text-align:justify;\"><span class=\"autonum\" placeholder=\"1\" style=\"border-radius:80% 100% 90% 20%;color:#ffffff;display:block;float:left;line-height:20px;margin:0px 8px 0px 0px;max-width:100%;padding:4px 10px;word-wrap:break-word !important;background-color:#0070c0;\">2<\/span><strong class=\"135brush\" data-brushtype=\"text\">第二步<\/strong><\/h2><\/fieldset><p>打开XSHELL 命令工具 或者宝塔后台的 宝塔终端 输入你服务器的root密码登录。<br\/><\/p><p>执行 <span style=\"color: rgb(255, 0, 0);\">git clone https:\/\/github.com\/arut\/nginx-rtmp-module \/www\/server\/nginx_plus\/nginx-rtmp-module\/<\/span>&nbsp; 语句，直到100%完成<\/p><p><img src=\"\/public\/uploads\/images\/20200205\/69_202002051612254c473.png\" title=\"image.png\" alt=\"\"\/><\/p><p>如下图 回车等待下载完成<\/p><fieldset class=\"135editor\" style=\"font-family:sans-serif;border:0px none;\"><h2 style=\"margin:8px 0px 0px;padding:0px;font-size:16px;line-height:28px;max-width:100%;color:#0070c0;min-height:32px;border-bottom-width:2px;border-bottom-style:solid;border-bottom-color:#0070c0;text-align:justify;\"><span class=\"autonum\" placeholder=\"1\" style=\"border-radius:80% 100% 90% 20%;color:#ffffff;display:block;float:left;line-height:20px;margin:0px 8px 0px 0px;max-width:100%;padding:4px 10px;word-wrap:break-word !important;background-color:#0070c0;\">3<\/span><strong class=\"135brush\" data-brushtype=\"text\">第三步<\/strong><\/h2><\/fieldset><p>第二步完成后 输入命令&nbsp;&nbsp;<span style=\"color: rgb(255, 0, 0);\">sh \/www\/server\/panel\/install\/nginx.sh install 1.17<\/span>&nbsp; &nbsp;回车进行nginx的编译<\/p><p>就不截图了和上面一样 等待编译完成 完成后大概是这样的编译时间很快几分钟的事<\/p><p><img src=\"\/public\/uploads\/images\/20200205\/69_202002051615420c83d.png\" title=\"image.png\" alt=\"\"\/><\/p><p><span style=\"color: rgb(255, 0, 0); font-family: arial, &quot;Microsoft Yahei&quot;, &quot;Hiragino Sans GB&quot;, sans-serif; background-color: rgb(255, 255, 255);\">注意，安装成功后就<\/span><span style=\"overflow-wrap: break-word; font-weight: 700; color: rgb(255, 0, 0); font-family: arial, &quot;Microsoft Yahei&quot;, &quot;Hiragino Sans GB&quot;, sans-serif; background-color: rgb(255, 255, 255);\">不要使用宝塔后台的NGINX切换版本<\/span><span style=\"color: rgb(255, 0, 0); font-family: arial, &quot;Microsoft Yahei&quot;, &quot;Hiragino Sans GB&quot;, sans-serif; background-color: rgb(255, 255, 255);\">功能了<\/span><\/p><p>以上部分参考&nbsp;<a href=\"https:\/\/www.bt.cn\/bbs\/forum.php?mod=viewthread&tid=33703\">https:\/\/www.bt.cn\/bbs\/forum.php?mod=viewthread&amp;tid=33703<\/a>&nbsp;并进行了修正。<\/p><fieldset class=\"135editor\" style=\"font-family:sans-serif;border:0px none;\"><h2 style=\"margin:8px 0px 0px;padding:0px;font-size:16px;line-height:28px;max-width:100%;color:#0070c0;min-height:32px;border-bottom-width:2px;border-bottom-style:solid;border-bottom-color:#0070c0;text-align:justify;\"><span class=\"autonum\" placeholder=\"1\" style=\"border-radius:80% 100% 90% 20%;color:#ffffff;display:block;float:left;line-height:20px;margin:0px 8px 0px 0px;max-width:100%;padding:4px 10px;word-wrap:break-word !important;background-color:#0070c0;\">4<\/span><strong class=\"135brush\" data-brushtype=\"text\">第四步<\/strong><\/h2><\/fieldset><p>www 文件夹下建立 tmp 文件夹 tmp文件夹下建立 live 文件夹<\/p><p><img src=\"\/public\/uploads\/images\/20200205\/69_20200205162046da427.png\" title=\"image.png\" alt=\"\"\/><\/p><p>继续打开&nbsp;\/www\/server\/nginx\/conf 目录下的&nbsp;nginx.conf 文件<\/p><p>在<\/p><pre class=\"brush:as3;toolbar:false\">events\r\n&nbsp;&nbsp;&nbsp;&nbsp;{\r\n&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;use&nbsp;epoll;\r\n&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;worker_connections&nbsp;51200;\r\n&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;multi_accept&nbsp;on;\r\n&nbsp;&nbsp;&nbsp;&nbsp;}<\/pre><p>下面加上<br\/><\/p><pre class=\"brush:as3;toolbar:false\">rtmp&nbsp;{&nbsp;&nbsp;\r\n&nbsp;&nbsp;\r\n&nbsp;&nbsp;&nbsp;&nbsp;server&nbsp;{&nbsp;&nbsp;\r\n&nbsp;&nbsp;\r\n&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;listen&nbsp;1935;&nbsp;&nbsp;#监听的端口\r\n&nbsp;&nbsp;\r\n&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;chunk_size&nbsp;4000;&nbsp;&nbsp;\r\n&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;\r\n&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;application&nbsp;hls&nbsp;{\r\n&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;live&nbsp;on;\r\n&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;hls&nbsp;on;\r\n&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;hls_path&nbsp;\/www\/tmp\/live;#视频流存放地址\r\n&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;hls_fragment&nbsp;1s;\r\n&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;hls_playlist_length&nbsp;2s;\r\n&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;hls_continuous&nbsp;on;&nbsp;#连续模式。\r\n&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;hls_cleanup&nbsp;on;&nbsp;&nbsp;&nbsp;&nbsp;#对多余的切片进行删除。\r\n&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;hls_nested&nbsp;on;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;#嵌套模式。\r\n&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;}\r\n&nbsp;&nbsp;&nbsp;&nbsp;}&nbsp;&nbsp;\r\n}<\/pre><p><img src=\"\/public\/uploads\/images\/20200205\/69_202002051624312f46a.png\" title=\"image.png\" alt=\"\"\/><\/p><p>在&nbsp;<\/p><pre class=\"brush:as3;toolbar:false\">&nbsp;&nbsp;&nbsp;access_log&nbsp;&nbsp;\/www\/wwwlogs\/access.log;\r\n&nbsp;&nbsp;&nbsp;&nbsp;}<\/pre><p>下面加上<\/p><pre class=\"brush:as3;toolbar:false\">server\r\n&nbsp;&nbsp;&nbsp;&nbsp;{\r\n&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;listen&nbsp;8080;\r\n&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;####要配置https格式访问的话就要把下面的启用,即把开头的#号删除,同时修改域名及证书\r\n\t\t#listen&nbsp;8082&nbsp;ssl;\t\t\t\t#https协议的端口号&nbsp;比如&nbsp;https:\/\/xx.com:8082\/&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;\r\n\t\t#server_name&nbsp;svn.php168.com;\t\t#填写绑定证书的域名\r\n\t\t#ssl_certificate&nbsp;&nbsp;&nbsp;&nbsp;C:\/nginx-rtmp-win32-dev\/conf\/svn.php168.com.crt;\t\t\t#换成自己的证书&nbsp;注意路径\r\n\t\t#ssl_certificate_key&nbsp;&nbsp;&nbsp;&nbsp;C:\/nginx-rtmp-win32-dev\/conf\/svn.php168.com.key;\t\t#换成自己的证书\r\n\t\t#ssl_protocols&nbsp;TLSv1&nbsp;TLSv1.1&nbsp;TLSv1.2;\r\n\t\t#ssl_ciphers&nbsp;ECDHE-RSA-AES128-GCM-SHA256:HIGH:!aNULL:!MD5:!RC4:!DHE;\r\n\t\t#ssl_prefer_server_ciphers&nbsp;on;\r\n\t\t#ssl_session_cache&nbsp;shared:SSL:10m;\r\n\t\t#ssl_session_timeout&nbsp;10m;\r\n\t\t#error_page&nbsp;497&nbsp;&nbsp;https:\/\/$host$request_uri;&nbsp;\r\n&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;location&nbsp;\/&nbsp;{\r\n&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;root&nbsp;html;\r\n&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;}\r\n\t\t\r\n&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;location&nbsp;\/stat&nbsp;{\r\n&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;rtmp_stat&nbsp;all;\r\n&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;rtmp_stat_stylesheet&nbsp;stat.xsl;\r\n&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;}\r\n\r\n&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;location&nbsp;\/stat.xsl&nbsp;{\r\n&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;root&nbsp;\/www\/server\/nginx_plus\/nginx-rtmp-module\/;\r\n&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;}\r\n&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;location&nbsp;\/hls&nbsp;{&nbsp;&nbsp;#添加视频流存放地址。\r\n&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;types&nbsp;{\r\n&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;application\/vnd.apple.mpegurl&nbsp;m3u8;\r\n&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;video\/mp2t&nbsp;ts;\r\n&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;}\r\n&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;#访问权限开启，否则访问这个地址会报403\r\n&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;autoindex&nbsp;on;\r\n&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;alias&nbsp;\/www\/tmp\/live;#视频流存放地址，与上面的hls_path相对应，这里root和alias的区别可自行百度\r\n&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;expires&nbsp;-1;\r\n&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;add_header&nbsp;Cache-Control&nbsp;no-cache;\r\n&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;#防止跨域问题\r\n&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;add_header&nbsp;&#39;Access-Control-Allow-Origin&#39;&nbsp;&#39;*&#39;;\r\n&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;add_header&nbsp;&#39;Access-Control-Allow-Credentials&#39;&nbsp;&#39;true&#39;;\r\n&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;add_header&nbsp;&#39;Access-Control-Allow-Methods&#39;&nbsp;&#39;GET,&nbsp;POST,&nbsp;OPTIONS&#39;;\r\n&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;add_header&nbsp;&#39;Access-Control-Allow-Headers&#39;&nbsp;&#39;DNT,X-CustomHeader,Keep-Alive,User-Agent,X-Requested-With,If-Modified-Since,Cache-Control,Content-Type&#39;;&nbsp;&nbsp;\r\n}\r\n}<\/pre><p><span style=\"color: rgb(255, 0, 0);\">rtmp 的配置比较多 可以自行百度进行参数的设置这里仅仅是示例<\/span><\/p><p><br\/><\/p><p>添加完成后的完整配置：(可以对照着修改）<\/p><pre class=\"brush:as3;toolbar:false\">user&nbsp;&nbsp;www&nbsp;www;\r\nworker_processes&nbsp;auto;\r\nerror_log&nbsp;&nbsp;\/www\/wwwlogs\/nginx_error.log&nbsp;&nbsp;crit;\r\npid&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;\/www\/server\/nginx\/logs\/nginx.pid;\r\nworker_rlimit_nofile&nbsp;51200;\r\n\r\nevents\r\n&nbsp;&nbsp;&nbsp;&nbsp;{\r\n&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;use&nbsp;epoll;\r\n&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;worker_connections&nbsp;51200;\r\n&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;multi_accept&nbsp;on;\r\n&nbsp;&nbsp;&nbsp;&nbsp;}\r\nrtmp&nbsp;{&nbsp;&nbsp;\r\n&nbsp;&nbsp;\r\n&nbsp;&nbsp;&nbsp;&nbsp;server&nbsp;{&nbsp;&nbsp;\r\n&nbsp;&nbsp;\r\n&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;listen&nbsp;1935;&nbsp;&nbsp;#监听的端口\r\n&nbsp;&nbsp;\r\n&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;chunk_size&nbsp;4000;&nbsp;&nbsp;\r\n&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;\r\n&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;application&nbsp;hls&nbsp;{\r\n&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;live&nbsp;on;\r\n&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;hls&nbsp;on;\r\n&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;hls_path&nbsp;\/www\/tmp\/live;#视频流存放地址\r\n&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;hls_fragment&nbsp;1s;\r\n&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;hls_playlist_length&nbsp;2s;\r\n&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;hls_continuous&nbsp;on;&nbsp;#连续模式。\r\n&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;hls_cleanup&nbsp;on;&nbsp;&nbsp;&nbsp;&nbsp;#对多余的切片进行删除。\r\n&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;hls_nested&nbsp;on;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;#嵌套模式。\r\n&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;}\r\n&nbsp;&nbsp;&nbsp;&nbsp;}&nbsp;&nbsp;\r\n}\r\nhttp\r\n&nbsp;&nbsp;&nbsp;&nbsp;{\r\n&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;include&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;mime.types;\r\n\t\t#include&nbsp;luawaf.conf;\r\n\r\n\t\tinclude&nbsp;proxy.conf;\r\n\r\n&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;default_type&nbsp;&nbsp;application\/octet-stream;\r\n\r\n&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;server_names_hash_bucket_size&nbsp;512;\r\n&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;client_header_buffer_size&nbsp;32k;\r\n&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;large_client_header_buffers&nbsp;4&nbsp;32k;\r\n&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;client_max_body_size&nbsp;50m;\r\n\r\n&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;sendfile&nbsp;&nbsp;&nbsp;on;\r\n&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;tcp_nopush&nbsp;on;\r\n\r\n&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;keepalive_timeout&nbsp;60;\r\n\r\n&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;tcp_nodelay&nbsp;on;\r\n\r\n&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;fastcgi_connect_timeout&nbsp;300;\r\n&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;fastcgi_send_timeout&nbsp;300;\r\n&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;fastcgi_read_timeout&nbsp;300;\r\n&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;fastcgi_buffer_size&nbsp;64k;\r\n&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;fastcgi_buffers&nbsp;4&nbsp;64k;\r\n&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;fastcgi_busy_buffers_size&nbsp;128k;\r\n&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;fastcgi_temp_file_write_size&nbsp;256k;\r\n\t\tfastcgi_intercept_errors&nbsp;on;\r\n\r\n&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;gzip&nbsp;on;\r\n&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;gzip_min_length&nbsp;&nbsp;1k;\r\n&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;gzip_buffers&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;4&nbsp;16k;\r\n&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;gzip_http_version&nbsp;1.1;\r\n&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;gzip_comp_level&nbsp;2;\r\n&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;gzip_types&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;text\/plain&nbsp;application\/javascript&nbsp;application\/x-javascript&nbsp;text\/javascript&nbsp;text\/css&nbsp;application\/xml;\r\n&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;gzip_vary&nbsp;on;\r\n&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;gzip_proxied&nbsp;&nbsp;&nbsp;expired&nbsp;no-cache&nbsp;no-store&nbsp;private&nbsp;auth;\r\n&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;gzip_disable&nbsp;&nbsp;&nbsp;&quot;MSIE&nbsp;[1-6]\\.&quot;;\r\n\r\n&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;limit_conn_zone&nbsp;$binary_remote_addr&nbsp;zone=perip:10m;\r\n\t\tlimit_conn_zone&nbsp;$server_name&nbsp;zone=perserver:10m;\r\n\r\n&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;server_tokens&nbsp;off;\r\n&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;access_log&nbsp;off;\r\n\r\nserver\r\n&nbsp;&nbsp;&nbsp;&nbsp;{\r\n&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;listen&nbsp;888;\r\n&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;server_name&nbsp;phpmyadmin;\r\n&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;index&nbsp;index.html&nbsp;index.htm&nbsp;index.php;\r\n&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;root&nbsp;&nbsp;\/www\/server\/phpmyadmin;\r\n\r\n&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;#error_page&nbsp;&nbsp;&nbsp;404&nbsp;&nbsp;&nbsp;\/404.html;\r\n&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;include&nbsp;enable-php.conf;\r\n\r\n&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;location&nbsp;~&nbsp;.*\\.(gif|jpg|jpeg|png|bmp|swf)$\r\n&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;{\r\n&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;expires&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;30d;\r\n&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;}\r\n\r\n&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;location&nbsp;~&nbsp;.*\\.(js|css)?$\r\n&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;{\r\n&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;expires&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;12h;\r\n&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;}\r\n\r\n&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;location&nbsp;~&nbsp;\/\\.\r\n&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;{\r\n&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;deny&nbsp;all;\r\n&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;}\r\n\t\r\n&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;access_log&nbsp;&nbsp;\/www\/wwwlogs\/access.log;\r\n&nbsp;&nbsp;&nbsp;&nbsp;}\r\n&nbsp;&nbsp;&nbsp;&nbsp;server\r\n&nbsp;&nbsp;&nbsp;&nbsp;{\r\n&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;listen&nbsp;8080;\r\n&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;####要配置https格式访问的话就要把下面的启用,即把开头的#号删除,同时修改域名及证书\r\n\t\t#listen&nbsp;8082&nbsp;ssl;\t\t\t\t#https协议的端口号&nbsp;比如&nbsp;https:\/\/xx.com:8082\/&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;\r\n\t\t#server_name&nbsp;svn.php168.com;\t\t#填写绑定证书的域名\r\n\t\t#ssl_certificate&nbsp;&nbsp;&nbsp;&nbsp;C:\/nginx-rtmp-win32-dev\/conf\/svn.php168.com.crt;\t\t\t#换成自己的证书&nbsp;注意路径\r\n\t\t#ssl_certificate_key&nbsp;&nbsp;&nbsp;&nbsp;C:\/nginx-rtmp-win32-dev\/conf\/svn.php168.com.key;\t\t#换成自己的证书\r\n\t\t#ssl_protocols&nbsp;TLSv1&nbsp;TLSv1.1&nbsp;TLSv1.2;\r\n\t\t#ssl_ciphers&nbsp;ECDHE-RSA-AES128-GCM-SHA256:HIGH:!aNULL:!MD5:!RC4:!DHE;\r\n\t\t#ssl_prefer_server_ciphers&nbsp;on;\r\n\t\t#ssl_session_cache&nbsp;shared:SSL:10m;\r\n\t\t#ssl_session_timeout&nbsp;10m;\r\n\t\t#error_page&nbsp;497&nbsp;&nbsp;https:\/\/$host$request_uri;&nbsp;\r\n&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;location&nbsp;\/&nbsp;{\r\n&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;root&nbsp;html;\r\n&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;}\r\n\t\t\r\n&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;location&nbsp;\/stat&nbsp;{\r\n&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;rtmp_stat&nbsp;all;\r\n&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;rtmp_stat_stylesheet&nbsp;stat.xsl;\r\n&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;}\r\n\r\n&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;location&nbsp;\/stat.xsl&nbsp;{\r\n&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;root&nbsp;\/www\/server\/nginx_plus\/nginx-rtmp-module\/;\r\n&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;}\r\n&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;location&nbsp;\/hls&nbsp;{&nbsp;&nbsp;#添加视频流存放地址。\r\n&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;types&nbsp;{\r\n&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;application\/vnd.apple.mpegurl&nbsp;m3u8;\r\n&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;video\/mp2t&nbsp;ts;\r\n&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;}\r\n&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;#访问权限开启，否则访问这个地址会报403\r\n&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;autoindex&nbsp;on;\r\n&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;alias&nbsp;\/www\/tmp\/live;#视频流存放地址，与上面的hls_path相对应，这里root和alias的区别可自行百度\r\n&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;expires&nbsp;-1;\r\n&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;add_header&nbsp;Cache-Control&nbsp;no-cache;\r\n&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;#防止跨域问题\r\n&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;add_header&nbsp;&#39;Access-Control-Allow-Origin&#39;&nbsp;&#39;*&#39;;\r\n&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;add_header&nbsp;&#39;Access-Control-Allow-Credentials&#39;&nbsp;&#39;true&#39;;\r\n&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;add_header&nbsp;&#39;Access-Control-Allow-Methods&#39;&nbsp;&#39;GET,&nbsp;POST,&nbsp;OPTIONS&#39;;\r\n&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;add_header&nbsp;&#39;Access-Control-Allow-Headers&#39;&nbsp;&#39;DNT,X-CustomHeader,Keep-Alive,User-Agent,X-Requested-With,If-Modified-Since,Cache-Control,Content-Type&#39;;&nbsp;&nbsp;\r\n}\r\n&nbsp;&nbsp;&nbsp;&nbsp;}\r\ninclude&nbsp;\/www\/server\/panel\/vhost\/nginx\/*.conf;\r\n}<\/pre><p>最后记得点保存。<br\/><\/p><p><img src=\"\/public\/uploads\/images\/20200205\/69_202002051626340d076.png\" title=\"image.png\" alt=\"\"\/><\/p><p>点他后面的设置按钮&nbsp; 先点重载配置 再点重启<\/p><p><img src=\"\/public\/uploads\/images\/20200205\/69_20200205162713045f3.png\" title=\"image.png\" alt=\"\"\/><\/p><p><br\/><\/p><fieldset class=\"135editor\" style=\"font-family:sans-serif;border:0px none;\"><h2 style=\"margin:8px 0px 0px;padding:0px;font-size:16px;line-height:28px;max-width:100%;color:#0070c0;min-height:32px;border-bottom-width:2px;border-bottom-style:solid;border-bottom-color:#0070c0;text-align:justify;\"><span class=\"autonum\" placeholder=\"1\" style=\"border-radius:80% 100% 90% 20%;color:#ffffff;display:block;float:left;line-height:20px;margin:0px 8px 0px 0px;max-width:100%;padding:4px 10px;word-wrap:break-word !important;background-color:#0070c0;\">5<\/span><strong class=\"135brush\" data-brushtype=\"text\">最后一步<\/strong><\/h2><\/fieldset><p><img src=\"\/public\/uploads\/images\/20200205\/69_20200205162809dfab6.png\" title=\"image.png\" alt=\"\"\/><\/p><p>在这里我们可以添加一个 ip或者你域名的网站&nbsp;&nbsp;<\/p><p><br\/><\/p><p>推流地址：rtmp:\/\/122.51.110.79\/hls\/selfserver162 &nbsp; &nbsp;ip可以是你这里绑定的域名或者ip&nbsp; selfserver162 是流名称<\/p><p>播放地址：<a href=\"http:\/\/122.51.110.79\/hls\/selfserver162\/index.m3u8\" _src=\"http:\/\/122.51.110.79\/hls\/selfserver162\/index.m3u8\">http:\/\/122.51.110.79\/hls\/selfserver162\/index.m3u8<\/a>&nbsp;&nbsp;selfserver162 是流名称<\/p><p>后台插件设置&nbsp;<\/p><p><img src=\"\/public\/uploads\/images\/20200205\/69_20200205163508d169c.png\" title=\"image.png\" alt=\"\"\/><\/p><p>[reply]&nbsp;<\/p><p style=\"line-height: 16px;\"><img style=\"vertical-align: middle; margin-right: 2px;\" src=\"https:\/\/x1.php168.com\/public\/static\/libs\/ueditor\/dialogs\/attachment\/fileTypeImages\/icon_rar.gif\"\/><a style=\"font-size:12px; color:#0066cc;\" href=\"\/public\/uploads\/files\/20200205\/69_202002051909190ee29.rar\" title=\"69_202002051909190ee29.rar\">69_202002051909190ee29.rar<\/a><\/p><p style=\"line-height: 16px;\">&nbsp;[\/reply]&nbsp;<\/p><p style=\"line-height: 16px;\">下载附件解压 放到你新创建的这个网站根目录。<\/p><p style=\"line-height: 16px;\">宝塔后台添加一个定时任务一分钟执行一次就好<\/p><p style=\"line-height: 16px;\">或者在xshell cd到你刚刚创建的网站根目录执行&nbsp; &nbsp;<span style=\"color: rgb(255, 0, 0);\">nohup php zhibo.php &amp;<\/span> &nbsp;任何按任意键返回控制台 再关闭xshell即可<\/p><p style=\"line-height: 16px;\">定时任务和命令模式只能选择一个<\/p><p><br\/><\/p><p>zhibo.php 请打开修改17&nbsp; 18&nbsp; 19行为自己的网址<\/p><p>$web_url 为你展示直播的网站<\/p><p>$play_server 和$stat_url 为你最后一步在直播服务器创建的网站域名或者ip<\/p><p><br\/><\/p><p>步骤比较多 中间也修正过多次 应该是没有遗漏了 出问题概不负责 也是瞎鼓捣的<\/p><p>提供一个测试直播服务器&nbsp;&nbsp;<a href=\"http:\/\/122.51.110.79\" _src=\"http:\/\/122.51.110.79\">http:\/\/122.51.110.79<\/a>&nbsp; 直播插件选择自建服务器 输入这个ip即可 有效期一个月 1核1G1M宽带的 1块钱买了一个月测试了下自建服务器 没有用了<\/p><p>补充SSL的配置教程：<\/p><p>zhibo.php&nbsp; 仅修改&nbsp;protected static $play_server=&#39;https:\/\/suifeng.cnsheep.cn:8082&#39;;&nbsp; 这里改为你的SSL网址+8082端口号<\/p><p>www 目录下新建 crt目录 里面新建2个文件 live.crt 和live.key 把我们申请到的证书写到文件中 或者直接上传到这里也可以随便都可以。<\/p><p><img src=\"\/public\/uploads\/images\/20200206\/69_20200206134647db9a4.png\" title=\"image.png\" alt=\"\"\/><\/p><p>\/www\/server\/nginx\/conf\/nginx.conf&nbsp; 的配置如下：对照着改一下 别直接复制过去<\/p><pre class=\"brush:as3;toolbar:false\">user&nbsp;&nbsp;www&nbsp;www;\r\nworker_processes&nbsp;auto;\r\nerror_log&nbsp;&nbsp;\/www\/wwwlogs\/nginx_error.log&nbsp;&nbsp;crit;\r\npid&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;\/www\/server\/nginx\/logs\/nginx.pid;\r\nworker_rlimit_nofile&nbsp;51200;\r\n\r\nevents\r\n&nbsp;&nbsp;&nbsp;&nbsp;{\r\n&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;use&nbsp;epoll;\r\n&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;worker_connections&nbsp;51200;\r\n&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;multi_accept&nbsp;on;\r\n&nbsp;&nbsp;&nbsp;&nbsp;}\r\n\r\nrtmp&nbsp;{&nbsp;&nbsp;\r\n&nbsp;&nbsp;\r\n&nbsp;&nbsp;&nbsp;&nbsp;server&nbsp;{&nbsp;&nbsp;\r\n&nbsp;&nbsp;\r\n&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;listen&nbsp;1935;&nbsp;&nbsp;#监听的端口\r\n&nbsp;&nbsp;\r\n&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;chunk_size&nbsp;4000;&nbsp;&nbsp;\r\n&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;\r\n&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;application&nbsp;hls&nbsp;{\r\n&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;live&nbsp;on;\r\n&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;hls&nbsp;on;\r\n&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;hls_path&nbsp;\/www\/tmp\/live;#视频流存放地址\r\n&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;hls_fragment&nbsp;2s;\r\n&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;hls_playlist_length&nbsp;5s;\r\n&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;hls_continuous&nbsp;on;&nbsp;#连续模式。\r\n&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;hls_cleanup&nbsp;on;&nbsp;&nbsp;&nbsp;&nbsp;#对多余的切片进行删除。\r\n&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;hls_nested&nbsp;on;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;#嵌套模式。\r\n&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;}\r\n&nbsp;&nbsp;&nbsp;&nbsp;}&nbsp;&nbsp;\r\n}\r\n\r\nhttp\r\n&nbsp;&nbsp;&nbsp;&nbsp;{\r\n&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;include&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;mime.types;\r\n\t\t#include&nbsp;luawaf.conf;\r\n\r\n\t\tinclude&nbsp;proxy.conf;\r\n\r\n&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;default_type&nbsp;&nbsp;application\/octet-stream;\r\n\r\n&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;server_names_hash_bucket_size&nbsp;512;\r\n&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;client_header_buffer_size&nbsp;32k;\r\n&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;large_client_header_buffers&nbsp;4&nbsp;32k;\r\n&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;client_max_body_size&nbsp;50m;\r\n\r\n&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;sendfile&nbsp;&nbsp;&nbsp;on;\r\n&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;tcp_nopush&nbsp;on;\r\n\r\n&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;keepalive_timeout&nbsp;60;\r\n\r\n&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;tcp_nodelay&nbsp;on;\r\n\r\n&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;fastcgi_connect_timeout&nbsp;300;\r\n&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;fastcgi_send_timeout&nbsp;300;\r\n&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;fastcgi_read_timeout&nbsp;300;\r\n&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;fastcgi_buffer_size&nbsp;64k;\r\n&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;fastcgi_buffers&nbsp;4&nbsp;64k;\r\n&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;fastcgi_busy_buffers_size&nbsp;128k;\r\n&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;fastcgi_temp_file_write_size&nbsp;256k;\r\n\t\tfastcgi_intercept_errors&nbsp;on;\r\n\r\n&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;gzip&nbsp;on;\r\n&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;gzip_min_length&nbsp;&nbsp;1k;\r\n&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;gzip_buffers&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;4&nbsp;16k;\r\n&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;gzip_http_version&nbsp;1.1;\r\n&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;gzip_comp_level&nbsp;2;\r\n&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;gzip_types&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;text\/plain&nbsp;application\/javascript&nbsp;application\/x-javascript&nbsp;text\/javascript&nbsp;text\/css&nbsp;application\/xml;\r\n&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;gzip_vary&nbsp;on;\r\n&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;gzip_proxied&nbsp;&nbsp;&nbsp;expired&nbsp;no-cache&nbsp;no-store&nbsp;private&nbsp;auth;\r\n&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;gzip_disable&nbsp;&nbsp;&nbsp;&quot;MSIE&nbsp;[1-6]\\.&quot;;\r\n\r\n&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;limit_conn_zone&nbsp;$binary_remote_addr&nbsp;zone=perip:10m;\r\n\t\tlimit_conn_zone&nbsp;$server_name&nbsp;zone=perserver:10m;\r\n\r\n&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;server_tokens&nbsp;off;\r\n&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;access_log&nbsp;off;\r\n\r\nserver\r\n&nbsp;&nbsp;&nbsp;&nbsp;{\r\n&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;listen&nbsp;888;\r\n&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;server_name&nbsp;phpmyadmin;\r\n&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;index&nbsp;index.html&nbsp;index.htm&nbsp;index.php;\r\n&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;root&nbsp;&nbsp;\/www\/server\/phpmyadmin;\r\n\r\n&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;#error_page&nbsp;&nbsp;&nbsp;404&nbsp;&nbsp;&nbsp;\/404.html;\r\n&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;include&nbsp;enable-php.conf;\r\n\r\n&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;location&nbsp;~&nbsp;.*\\.(gif|jpg|jpeg|png|bmp|swf)$\r\n&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;{\r\n&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;expires&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;30d;\r\n&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;}\r\n\r\n&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;location&nbsp;~&nbsp;.*\\.(js|css)?$\r\n&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;{\r\n&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;expires&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;12h;\r\n&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;}\r\n\r\n&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;location&nbsp;~&nbsp;\/\\.\r\n&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;{\r\n&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;deny&nbsp;all;\r\n&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;}\r\n\r\n&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;access_log&nbsp;&nbsp;\/www\/wwwlogs\/access.log;\r\n&nbsp;&nbsp;&nbsp;&nbsp;}\r\n&nbsp;&nbsp;&nbsp;&nbsp;server\r\n&nbsp;&nbsp;&nbsp;&nbsp;{\r\n&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;listen&nbsp;8080;\r\n&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;####要配置https格式访问的话就要把下面的启用,即把开头的#号删除,同时修改域名及证书\r\n\t\tlisten&nbsp;8082&nbsp;ssl;\t\t\t\t#https协议的端口号&nbsp;比如&nbsp;https:\/\/xx.com:8082\/&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;\r\n\t\tserver_name&nbsp;suifeng.cnsheep.cn;\t\t#填写绑定证书的域名\r\n\t\tssl_certificate&nbsp;&nbsp;&nbsp;&nbsp;\/www\/crt\/live.crt;\t\t\t#换成自己的证书&nbsp;注意路径\r\n\t\tssl_certificate_key&nbsp;&nbsp;&nbsp;&nbsp;\/www\/crt\/live.key;\t\t#换成自己的证书\r\n\t\tssl_protocols&nbsp;TLSv1&nbsp;TLSv1.1&nbsp;TLSv1.2;\r\n\t\tssl_ciphers&nbsp;ECDHE-RSA-AES128-GCM-SHA256:HIGH:!aNULL:!MD5:!RC4:!DHE;\r\n\t\tssl_prefer_server_ciphers&nbsp;on;\r\n\t\tssl_session_cache&nbsp;shared:SSL:10m;\r\n\t\tssl_session_timeout&nbsp;10m;\r\n\t\terror_page&nbsp;497&nbsp;&nbsp;https:\/\/$host$request_uri;&nbsp;\r\n&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;location&nbsp;\/&nbsp;{\r\n&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;root&nbsp;html;\r\n&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;}\r\n\t\t\r\n&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;location&nbsp;\/stat&nbsp;{\r\n&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;rtmp_stat&nbsp;all;\r\n&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;rtmp_stat_stylesheet&nbsp;stat.xsl;\r\n&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;}\r\n\r\n&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;location&nbsp;\/stat.xsl&nbsp;{\r\n&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;root&nbsp;\/www\/server\/nginx_plus\/nginx-rtmp-module\/;\r\n&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;}\r\n&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;location&nbsp;\/hls&nbsp;{&nbsp;&nbsp;#添加视频流存放地址。\r\n&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;types&nbsp;{\r\n&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;application\/vnd.apple.mpegurl&nbsp;m3u8;\r\n&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;video\/mp2t&nbsp;ts;\r\n&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;}\r\n&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;#访问权限开启，否则访问这个地址会报403\r\n&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;autoindex&nbsp;on;\r\n&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;alias&nbsp;\/www\/tmp\/live;#视频流存放地址，与上面的hls_path相对应，这里root和alias的区别可自行百度\r\n&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;expires&nbsp;-1;\r\n&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;add_header&nbsp;Cache-Control&nbsp;no-cache;\r\n\t\t\t#add_header&nbsp;Access-Control-Allow-Origin&nbsp;*;\r\n\t\t\tadd_header&nbsp;&#39;Access-Control-Allow-Origin&#39;&nbsp;&#39;*&#39;&nbsp;always;\r\n\t\t\tadd_header&nbsp;&#39;Access-Control-Allow-Credentials&#39;&nbsp;&#39;true&#39;;\r\n\t\t\tadd_header&nbsp;&#39;Access-Control-Allow-Methods&#39;&nbsp;&#39;GET,&nbsp;POST,&nbsp;OPTIONS&#39;;\r\n\t\t\tadd_header&nbsp;&#39;Access-Control-Allow-Headers&#39;&nbsp;&#39;DNT,X-CustomHeader,Keep-Alive,User-Agent,X-Requested-With,If-Modified-Since,Cache-Control,Content-Type&#39;;&nbsp;\r\n}\r\n}\r\ninclude&nbsp;\/www\/server\/panel\/vhost\/nginx\/*.conf;\r\n}<\/pre><p>改完后 重启服务器 记得安全组放行8082端口<br\/><\/p><p><span style=\"color: rgb(102, 102, 102); font-family: &quot;Microsoft Yahei&quot;, Simsun; background-color: rgb(255, 255, 255);\">在xshell cd到你刚刚创建的网站根目录执行&nbsp; &nbsp;<\/span><span style=\"font-family: &quot;Microsoft Yahei&quot;, Simsun; background-color: rgb(255, 255, 255); color: rgb(255, 0, 0);\">nohup php zhibo.php &amp;<\/span><span style=\"color: rgb(102, 102, 102); font-family: &quot;Microsoft Yahei&quot;, Simsun; background-color: rgb(255, 255, 255);\">&nbsp;&nbsp;任何按任意键返回控制台 再关闭xshell即可<\/span><\/p><p><img src=\"\/public\/uploads\/images\/20200206\/69_20200206134959cc322.png\" title=\"image.png\" alt=\"\"\/><\/p>","content":"https:\/\/x1.php168.com\/cms\/show-302.html视频版 有部分命令执行的时间比较长 可以快进过去 可以先看一次视频 然后对着这里的命令进行输入即可不支持录制回放 只有win版支持https:\/\/www.kancloud.cn\/php168\/x1_of_qibo\/1459144说明比较长，需要一定的操作动手能力才行。基础条件 第一个必须是linux服务器 第二个安装了宝塔面板 第三编译安装nginx1.7.6+php5.61第一步修改\/www\/server\/panel\/install\/nginx.sh文件 如下图位置的文件点编辑 找到.\/configure 部分 免费版7.1版大约在205行 我们添加一个--add-module=\/www\/server\/nginx_plus\/nginx-rtmp-module 添加完成后如下：请勿直接复制 版本不一样 其他的配置也不一样.\/configure--add-module=\/www\/server\/nginx_plus\/nginx-rtmp-module--user=www--group=www--prefix=${Setup_Path}${ENABLE_LUA}--add-module=${Setup_Path}\/src\/ngx_cache_purge--add-module=${Setup_Path}\/src\/nginx-sticky-module--with-openssl=${Setup_Path}\/src\/openssl--with-pcre=pcre-${pcre_version}${ENABLE_HTTP2}--with-http_stub_status_module--with-http_ssl_module--with-http_image_filter_module--with-http_gzip_static_module--with-http_gunzip_module--with-ipv6--with-http_sub_module--with-http_flv_module--with-http_addition_module--with-http_realip_module--with-http_mp4_module--with-ld-opt=&quot;-Wl,-E&quot;--with-cc-opt=&quot;-Wno-error&quot;${jemallocLD}${ENABLE_NGX_PAGESPEED}${ADD_EXTENSION}可以看出就是在--user=www 前面加上了--add-module=\/www\/server\/nginx_plus\/nginx-rtmp-module 空格隔开添加完了 记得保存2第二步打开XSHELL 命令工具 或者宝塔后台的 宝塔终端 输入你服务器的root密码登录。执行 git clone https:\/\/github.com\/arut\/nginx-rtmp-module \/www\/server\/nginx_plus\/nginx-rtmp-module\/ 语句，直到100%完成如下图 回车等待下载完成3第三步第二步完成后 输入命令sh \/www\/server\/panel\/install\/nginx.sh install 1.17 回车进行nginx的编译就不截图了和上面一样 等待编译完成 完成后大概是这样的编译时间很快几分钟的事注意，安装成功后就不要使用宝塔后台的NGINX切换版本功能了以上部分参考https:\/\/www.bt.cn\/bbs\/forum.php?mod=viewthread&amp;tid=33703并进行了修正。4第四步www 文件夹下建立 tmp 文件夹 tmp文件夹下建立 live 文件夹继续打开\/www\/server\/nginx\/conf 目录下的nginx.conf 文件在events{useepoll;worker_connections51200;multi_accepton;}下面加上rtmp{server{listen1935;#监听的端口chunk_size4000;applicationhls{liveon;hlson;hls_path\/www\/tmp\/live;#视频流存放地址hls_fragment1s;hls_playlist_length2s;hls_continuouson;#连续模式。hls_cleanupon;#对多余的切片进行删除。hls_nestedon;#嵌套模式。}}}在access_log\/www\/wwwlogs\/access.log;}下面加上server{listen8080;####要配置https格式访问的话就要把下面的启用,即把开头的#号删除,同时修改域名及证书\t\t#listen8082ssl;\t\t\t\t#https协议的端口号比如https:\/\/xx.com:8082\/\t\t#server_namesvn.php168.com;\t\t#填写绑定证书的域名\t\t#ssl_certificateC:\/nginx-rtmp-win32-dev\/conf\/svn.php168.com.crt;\t\t\t#换成自己的证书注意路径\t\t#ssl_certificate_keyC:\/nginx-rtmp-win32-dev\/conf\/svn.php168.com.key;\t\t#换成自己的证书\t\t#ssl_protocolsTLSv1TLSv1.1TLSv1.2;\t\t#ssl_ciphersECDHE-RSA-AES128-GCM-SHA256:HIGH:!aNULL:!MD5:!RC4:!DHE;\t\t#ssl_prefer_server_cipherson;\t\t#ssl_session_cacheshared:SSL:10m;\t\t#ssl_session_timeout10m;\t\t#error_page497https:\/\/$host$request_uri;location\/{roothtml;}\t\tlocation\/stat{rtmp_statall;rtmp_stat_stylesheetstat.xsl;}location\/stat.xsl{root\/www\/server\/nginx_plus\/nginx-rtmp-module\/;}location\/hls{#添加视频流存放地址。types{application\/vnd.apple.mpegurlm3u8;video\/mp2tts;}#访问权限开启，否则访问这个地址会报403autoindexon;alias\/www\/tmp\/live;#视频流存放地址，与上面的hls_path相对应，这里root和alias的区别可自行百度expires-1;add_headerCache-Controlno-cache;#防止跨域问题add_header&#39;Access-Control-Allow-Origin&#39;&#39;*&#39;;add_header&#39;Access-Control-Allow-Credentials&#39;&#39;true&#39;;add_header&#39;Access-Control-Allow-Methods&#39;&#39;GET,POST,OPTIONS&#39;;add_header&#39;Access-Control-Allow-Headers&#39;&#39;DNT,X-CustomHeader,Keep-Alive,User-Agent,X-Requested-With,If-Modified-Since,Cache-Control,Content-Type&#39;;}}rtmp 的配置比较多 可以自行百度进行参数的设置这里仅仅是示例添加完成后的完整配置：(可以对照着修改）userwwwwww;worker_processesauto;error_log\/www\/wwwlogs\/nginx_error.logcrit;pid\/www\/server\/nginx\/logs\/nginx.pid;worker_rlimit_nofile51200;events{useepoll;worker_connections51200;multi_accepton;}rtmp{server{listen1935;#监听的端口chunk_size4000;applicationhls{liveon;hlson;hls_path\/www\/tmp\/live;#视频流存放地址hls_fragment1s;hls_playlist_length2s;hls_continuouson;#连续模式。hls_cleanupon;#对多余的切片进行删除。hls_nestedon;#嵌套模式。}}}http{includemime.types;\t\t#includeluawaf.conf;\t\tincludeproxy.conf;default_typeapplication\/octet-stream;server_names_hash_bucket_size512;client_header_buffer_size32k;large_client_header_buffers432k;client_max_body_size50m;sendfileon;tcp_nopushon;keepalive_timeout60;tcp_nodelayon;fastcgi_connect_timeout300;fastcgi_send_timeout300;fastcgi_read_timeout300;fastcgi_buffer_size64k;fastcgi_buffers464k;fastcgi_busy_buffers_size128k;fastcgi_temp_file_write_size256k;\t\tfastcgi_intercept_errorson;gzipon;gzip_min_length1k;gzip_buffers416k;gzip_http_version1.1;gzip_comp_level2;gzip_typestext\/plainapplication\/javascriptapplication\/x-javascripttext\/javascripttext\/cssapplication\/xml;gzip_varyon;gzip_proxiedexpiredno-cacheno-storeprivateauth;gzip_disable&quot;MSIE[1-6]\\.&quot;;limit_conn_zone$binary_remote_addrzone=perip:10m;\t\tlimit_conn_zone$server_namezone=perserver:10m;server_tokensoff;access_logoff;server{listen888;server_namephpmyadmin;indexindex.htmlindex.htmindex.php;root\/www\/server\/phpmyadmin;#error_page404\/404.html;includeenable-php.conf;location~.*\\.(gif|jpg|jpeg|png|bmp|swf)${expires30d;}location~.*\\.(js|css)?${expires12h;}location~\/\\.{denyall;}\taccess_log\/www\/wwwlogs\/access.log;}server{listen8080;####要配置https格式访问的话就要把下面的启用,即把开头的#号删除,同时修改域名及证书\t\t#listen8082ssl;\t\t\t\t#https协议的端口号比如https:\/\/xx.com:8082\/\t\t#server_namesvn.php168.com;\t\t#填写绑定证书的域名\t\t#ssl_certificateC:\/nginx-rtmp-win32-dev\/conf\/svn.php168.com.crt;\t\t\t#换成自己的证书注意路径\t\t#ssl_certificate_keyC:\/nginx-rtmp-win32-dev\/conf\/svn.php168.com.key;\t\t#换成自己的证书\t\t#ssl_protocolsTLSv1TLSv1.1TLSv1.2;\t\t#ssl_ciphersECDHE-RSA-AES128-GCM-SHA256:HIGH:!aNULL:!MD5:!RC4:!DHE;\t\t#ssl_prefer_server_cipherson;\t\t#ssl_session_cacheshared:SSL:10m;\t\t#ssl_session_timeout10m;\t\t#error_page497https:\/\/$host$request_uri;location\/{roothtml;}\t\tlocation\/stat{rtmp_statall;rtmp_stat_stylesheetstat.xsl;}location\/stat.xsl{root\/www\/server\/nginx_plus\/nginx-rtmp-module\/;}location\/hls{#添加视频流存放地址。types{application\/vnd.apple.mpegurlm3u8;video\/mp2tts;}#访问权限开启，否则访问这个地址会报403autoindexon;alias\/www\/tmp\/live;#视频流存放地址，与上面的hls_path相对应，这里root和alias的区别可自行百度expires-1;add_headerCache-Controlno-cache;#防止跨域问题add_header&#39;Access-Control-Allow-Origin&#39;&#39;*&#39;;add_header&#39;Access-Control-Allow-Credentials&#39;&#39;true&#39;;add_header&#39;Access-Control-Allow-Methods&#39;&#39;GET,POST,OPTIONS&#39;;add_header&#39;Access-Control-Allow-Headers&#39;&#39;DNT,X-CustomHeader,Keep-Alive,User-Agent,X-Requested-With,If-Modified-Since,Cache-Control,Content-Type&#39;;}}include\/www\/server\/panel\/vhost\/nginx\/*.conf;}最后记得点保存。点他后面的设置按钮 先点重载配置 再点重启5最后一步在这里我们可以添加一个 ip或者你域名的网站推流地址：rtmp:\/\/122.51.110.79\/hls\/selfserver162  ip可以是你这里绑定的域名或者ip selfserver162 是流名称播放地址：http:\/\/122.51.110.79\/hls\/selfserver162\/index.m3u8selfserver162 是流名称后台插件设置下载附件解压 放到你新创建的这个网站根目录。宝塔后台添加一个定时任务一分钟执行一次就好或者在xshell cd到你刚刚创建的网站根目录执行 nohup php zhibo.php &amp; 任何按任意键返回控制台 再关闭xshell即可定时任务和命令模式只能选择一个zhibo.php 请打开修改17 18 19行为自己的网址$web_url 为你展示直播的网站$play_server 和$stat_url 为你最后一步在直播服务器创建的网站域名或者ip步骤比较多 中间也修正过多次 应该是没有遗漏了 出问题概不负责 也是瞎鼓捣的提供一个测试直播服务器http:\/\/122.51.110.79 直播插件选择自建服务器 输入这个ip即可 有效期一个月 1核1G1M宽带的 1块钱买了一个月测试了下自建服务器 没有用了补充SSL的配置教程：zhibo.php 仅修改protected static $play_server=&#39;https:\/\/suifeng.cnsheep.cn:8082&#39;; 这里改为你的SSL网址+8082端口号www 目录下新建 crt目录 里面新建2个文件 live.crt 和live.key 把我们申请到的证书写到文件中 或者直接上传到这里也可以随便都可以。\/www\/server\/nginx\/conf\/nginx.conf 的配置如下：对照着改一下 别直接复制过去userwwwwww;worker_processesauto;error_log\/www\/wwwlogs\/nginx_error.logcrit;pid\/www\/server\/nginx\/logs\/nginx.pid;worker_rlimit_nofile51200;events{useepoll;worker_connections51200;multi_accepton;}rtmp{server{listen1935;#监听的端口chunk_size4000;applicationhls{liveon;hlson;hls_path\/www\/tmp\/live;#视频流存放地址hls_fragment2s;hls_playlist_length5s;hls_continuouson;#连续模式。hls_cleanupon;#对多余的切片进行删除。hls_nestedon;#嵌套模式。}}}http{includemime.types;\t\t#includeluawaf.conf;\t\tincludeproxy.conf;default_typeapplication\/octet-stream;server_names_hash_bucket_size512;client_header_buffer_size32k;large_client_header_buffers432k;client_max_body_size50m;sendfileon;tcp_nopushon;keepalive_timeout60;tcp_nodelayon;fastcgi_connect_timeout300;fastcgi_send_timeout300;fastcgi_read_timeout300;fastcgi_buffer_size64k;fastcgi_buffers464k;fastcgi_busy_buffers_size128k;fastcgi_temp_file_write_size256k;\t\tfastcgi_intercept_errorson;gzipon;gzip_min_length1k;gzip_buffers416k;gzip_http_version1.1;gzip_comp_level2;gzip_typestext\/plainapplication\/javascriptapplication\/x-javascripttext\/javascripttext\/cssapplication\/xml;gzip_varyon;gzip_proxiedexpiredno-cacheno-storeprivateauth;gzip_disable&quot;MSIE[1-6]\\.&quot;;limit_conn_zone$binary_remote_addrzone=perip:10m;\t\tlimit_conn_zone$server_namezone=perserver:10m;server_tokensoff;access_logoff;server{listen888;server_namephpmyadmin;indexindex.htmlindex.htmindex.php;root\/www\/server\/phpmyadmin;#error_page404\/404.html;includeenable-php.conf;location~.*\\.(gif|jpg|jpeg|png|bmp|swf)${expires30d;}location~.*\\.(js|css)?${expires12h;}location~\/\\.{denyall;}access_log\/www\/wwwlogs\/access.log;}server{listen8080;####要配置https格式访问的话就要把下面的启用,即把开头的#号删除,同时修改域名及证书\t\tlisten8082ssl;\t\t\t\t#https协议的端口号比如https:\/\/xx.com:8082\/\t\tserver_namesuifeng.cnsheep.cn;\t\t#填写绑定证书的域名\t\tssl_certificate\/www\/crt\/live.crt;\t\t\t#换成自己的证书注意路径\t\tssl_certificate_key\/www\/crt\/live.key;\t\t#换成自己的证书\t\tssl_protocolsTLSv1TLSv1.1TLSv1.2;\t\tssl_ciphersECDHE-RSA-AES128-GCM-SHA256:HIGH:!aNULL:!MD5:!RC4:!DHE;\t\tssl_prefer_server_cipherson;\t\tssl_session_cacheshared:SSL:10m;\t\tssl_session_timeout10m;\t\terror_page497https:\/\/$host$request_uri;location\/{roothtml;}\t\tlocation\/stat{rtmp_statall;rtmp_stat_stylesheetstat.xsl;}location\/stat.xsl{root\/www\/server\/nginx_plus\/nginx-rtmp-module\/;}location\/hls{#添加视频流存放地址。types{application\/vnd.apple.mpegurlm3u8;video\/mp2tts;}#访问权限开启，否则访问这个地址会报403autoindexon;alias\/www\/tmp\/live;#视频流存放地址，与上面的hls_path相对应，这里root和alias的区别可自行百度expires-1;add_headerCache-Controlno-cache;\t\t\t#add_headerAccess-Control-Allow-Origin*;\t\t\tadd_header&#39;Access-Control-Allow-Origin&#39;&#39;*&#39;always;\t\t\tadd_header&#39;Access-Control-Allow-Credentials&#39;&#39;true&#39;;\t\t\tadd_header&#39;Access-Control-Allow-Methods&#39;&#39;GET,POST,OPTIONS&#39;;\t\t\tadd_header&#39;Access-Control-Allow-Headers&#39;&#39;DNT,X-CustomHeader,Keep-Alive,User-Agent,X-Requested-With,If-Modified-Since,Cache-Control,Content-Type&#39;;}}include\/www\/server\/panel\/vhost\/nginx\/*.conf;}改完后 重启服务器 记得安全组放行8082端口在xshell cd到你刚刚创建的网站根目录执行 nohup php zhibo.php &amp;任何按任意键返回控制台 再关闭xshell即可","DIR":"bbs","url":"\/bbs\/show-14252.html","sort_name":"技术交流","mid_name":"论坛模型","sort_url":"\/bbs\/list-4.html","full_time":1580892217,"time":"2020-02-05 16:43","username":"Suifeng","user_icon":"https:\/\/x1.php168.com\/public\/uploads\/images\/20200417\/69_202004171718015580e.gif","user_url":"\/member.php\/home\/69.html","full_title":"linux 宝塔面板安装rtmp简陋教程 （已加视频版教程）","picurls":[{"picurl":"https:\/\/x1.php168.com\/public\/uploads\/images\/20200205\/69_20200205160352dacb5.png"},{"picurl":"https:\/\/x1.php168.com\/public\/uploads\/images\/20200205\/69_202002051612254c473.png"},{"picurl":"https:\/\/x1.php168.com\/public\/uploads\/images\/20200205\/69_202002051615420c83d.png"},{"picurl":"https:\/\/x1.php168.com\/public\/uploads\/images\/20200205\/69_20200205162046da427.png"},{"picurl":"https:\/\/x1.php168.com\/public\/uploads\/images\/20200205\/69_202002051624312f46a.png"},{"picurl":"https:\/\/x1.php168.com\/public\/uploads\/images\/20200205\/69_202002051626340d076.png"},{"picurl":"https:\/\/x1.php168.com\/public\/uploads\/images\/20200205\/69_20200205162713045f3.png"},{"picurl":"https:\/\/x1.php168.com\/public\/uploads\/images\/20200205\/69_20200205162809dfab6.png"},{"picurl":"https:\/\/x1.php168.com\/public\/uploads\/images\/20200205\/69_20200205163508d169c.png"},{"picurl":"https:\/\/x1.php168.com\/public\/uploads\/images\/20200206\/69_20200206134647db9a4.png"},{"picurl":"https:\/\/x1.php168.com\/public\/uploads\/images\/20200206\/69_20200206134959cc322.png"}],"user_name":"Suifeng"},{"id":26761,"mid":1,"fid":4,"title":"最近WAP端特别慢，各位有同样问题吗？","ispic":0,"uid":7304,"view":197,"status":1,"lock":0,"create_time":"2026-01-21 00:38","update_time":"28天前","list":1774772504,"picurl":"","mvurl":"","province_id":0,"city_id":0,"zone_id":0,"street_id":0,"agree":3,"replynum":3,"reward":0,"ext_sys":0,"ext_id":0,"replyuser":"十个太阳","phone_type":"","qun_status":0,"buyuser":"","font_color":"","font_type":0,"map_x":0,"map_y":0,"map":"","kwtags":"","kwtagid":"","askmoney":"0.00","good_reply":0,"ext2_sys":0,"ext2_id":0,"image_type":0,"full_content":"<p>最近WAP端特别慢，各位有同样问题吗？<br\/>&nbsp;不知道从哪下手，哪位大神提供下思路该怎么排查故障？谢谢！！<\/p>","content":"最近WAP端特别慢，各位有同样问题吗？不知道从哪下手，哪位大神提供下思路该怎么排查故障？谢谢！！","DIR":"bbs","url":"\/bbs\/show-26761.html","sort_name":"技术交流","mid_name":"论坛模型","sort_url":"\/bbs\/list-4.html","full_time":1768927115,"time":"2026-01-21 00:38","username":"太仓新亚家电","user_icon":"https:\/\/thirdqq.qlogo.cn\/g?b=oidb&k=4CRJ4gmOG6t1S3XJ8pQrYA&s=100&t=1556364777","user_url":"\/member.php\/home\/7304.html","full_title":"最近WAP端特别慢，各位有同样问题吗？","picurls":[],"user_name":"太仓新亚家电"},{"id":25036,"mid":1,"fid":4,"title":"齐博x1第四季《模块插件的制作》系列30- 字段数据在前台的展示(5)","ispic":0,"uid":147,"view":1127,"status":1,"lock":0,"create_time":"2022-04-17 22:12","update_time":"28天前","list":1774772481,"picurl":"","mvurl":"","province_id":0,"city_id":0,"zone_id":0,"street_id":0,"agree":9,"replynum":16,"reward":0,"ext_sys":0,"ext_id":159,"replyuser":"十个太阳","phone_type":"","qun_status":0,"buyuser":"","font_color":"","font_type":0,"map_x":0,"map_y":0,"map":"","kwtags":"齐博,第四季,模块,插件,制作,系列","kwtagid":"816,8000,66,8070,205,6","askmoney":"0.00","good_reply":0,"ext2_sys":0,"ext2_id":0,"image_type":0,"full_content":"<p style=\"white-space: normal; box-sizing: border-box; margin-top: 0px; margin-bottom: 1rem; color: rgb(51, 51, 51); font-family: 微软雅黑, &quot;Microsoft YaHei&quot;, &quot;Microsoft YaHei UI&quot;, &quot;Hiragino Sans GB W3&quot;, &quot;Segoe UI&quot;, Arial, Verdana, sans-serif, sans-serif; background-color: rgb(255, 255, 255);\"><span style=\"box-sizing: border-box; font-size: 20px;\">本节继续说明字段的前台展示<\/span><\/p><p style=\"white-space: normal; box-sizing: border-box; margin-top: 0px; margin-bottom: 1rem; color: rgb(51, 51, 51); font-family: 微软雅黑, &quot;Microsoft YaHei&quot;, &quot;Microsoft YaHei UI&quot;, &quot;Hiragino Sans GB W3&quot;, &quot;Segoe UI&quot;, Arial, Verdana, sans-serif, sans-serif; background-color: rgb(255, 255, 255);\"><span style=\"box-sizing: border-box; font-size: 20px;\"><br style=\"box-sizing: border-box;\"\/><\/span><\/p><h1 style=\"white-space: normal; box-sizing: border-box; margin-top: 0px; margin-bottom: 0.5rem; line-height: 1.2; font-size: 1.5rem; color: rgb(51, 51, 51); font-family: 微软雅黑, &quot;Microsoft YaHei&quot;, &quot;Microsoft YaHei UI&quot;, &quot;Hiragino Sans GB W3&quot;, &quot;Segoe UI&quot;, Arial, Verdana, sans-serif, sans-serif; background-color: rgb(255, 255, 255);\"><span style=\"box-sizing: border-box; font-size: 20px;\">time\/date\/datetime:<br style=\"box-sizing: border-box;\"\/><\/span><\/h1><p style=\"white-space: normal; box-sizing: border-box; margin-top: 0px; margin-bottom: 1rem; color: rgb(51, 51, 51); font-family: 微软雅黑, &quot;Microsoft YaHei&quot;, &quot;Microsoft YaHei UI&quot;, &quot;Hiragino Sans GB W3&quot;, &quot;Segoe UI&quot;, Arial, Verdana, sans-serif, sans-serif; background-color: rgb(255, 255, 255);\"><span style=\"box-sizing: border-box; font-size: 20px;\">时间日期字段类型<\/span><\/p><p style=\"white-space: normal; box-sizing: border-box; margin-top: 0px; margin-bottom: 1rem; color: rgb(51, 51, 51); font-family: 微软雅黑, &quot;Microsoft YaHei&quot;, &quot;Microsoft YaHei UI&quot;, &quot;Hiragino Sans GB W3&quot;, &quot;Segoe UI&quot;, Arial, Verdana, sans-serif, sans-serif; background-color: rgb(255, 255, 255);\"><span style=\"box-sizing: border-box; font-size: 20px;\"><img src=\"https:\/\/www.shieldsoho.com\/public\/uploads\/images\/20220416\/1_2022041618270562abf.png\" title=\"image.png\" alt=\"\" class=\"img-fluid\" style=\"box-sizing: border-box; vertical-align: middle; border-style: none; max-width: 100%; height: auto; margin: 0px auto; display: block;\"\/><\/span><\/p><p style=\"white-space: normal; box-sizing: border-box; margin-top: 0px; margin-bottom: 1rem; color: rgb(51, 51, 51); font-family: 微软雅黑, &quot;Microsoft YaHei&quot;, &quot;Microsoft YaHei UI&quot;, &quot;Hiragino Sans GB W3&quot;, &quot;Segoe UI&quot;, Arial, Verdana, sans-serif, sans-serif; background-color: rgb(255, 255, 255);\"><span style=\"box-sizing: border-box; font-size: 20px;\">分别是time 时间输出，date 日期输出 datetime 日期+时间的输出<\/span><\/p><p style=\"white-space: normal; box-sizing: border-box; margin-top: 0px; margin-bottom: 1rem; color: rgb(51, 51, 51); font-family: 微软雅黑, &quot;Microsoft YaHei&quot;, &quot;Microsoft YaHei UI&quot;, &quot;Hiragino Sans GB W3&quot;, &quot;Segoe UI&quot;, Arial, Verdana, sans-serif, sans-serif; background-color: rgb(255, 255, 255);\"><span style=\"box-sizing: border-box; font-size: 20px;\">我们先看在模板中直接输出：<\/span><\/p><p style=\"white-space: normal; box-sizing: border-box; margin-top: 0px; margin-bottom: 1rem; color: rgb(51, 51, 51); font-family: 微软雅黑, &quot;Microsoft YaHei&quot;, &quot;Microsoft YaHei UI&quot;, &quot;Hiragino Sans GB W3&quot;, &quot;Segoe UI&quot;, Arial, Verdana, sans-serif, sans-serif; background-color: rgb(255, 255, 255);\"><span style=\"box-sizing: border-box; font-size: 20px;\"><img src=\"https:\/\/www.shieldsoho.com\/public\/uploads\/images\/20220416\/1_20220416183947b7605.png\" title=\"image.png\" alt=\"\" class=\"img-fluid\" style=\"box-sizing: border-box; vertical-align: middle; border-style: none; max-width: 100%; height: auto; margin: 0px auto; display: block;\"\/><\/span><\/p><p style=\"white-space: normal; box-sizing: border-box; margin-top: 0px; margin-bottom: 1rem; color: rgb(51, 51, 51); font-family: 微软雅黑, &quot;Microsoft YaHei&quot;, &quot;Microsoft YaHei UI&quot;, &quot;Hiragino Sans GB W3&quot;, &quot;Segoe UI&quot;, Arial, Verdana, sans-serif, sans-serif; background-color: rgb(255, 255, 255);\"><span style=\"box-sizing: border-box; font-size: 20px;\">齐博系统保存数据库里都是以整型保存日期时间的，这里的整型就是时间戳，要在模板里显示时间的话，需要格式化一下<\/span><\/p><p style=\"white-space: normal; box-sizing: border-box; margin-top: 0px; margin-bottom: 1rem; color: rgb(51, 51, 51); font-family: 微软雅黑, &quot;Microsoft YaHei&quot;, &quot;Microsoft YaHei UI&quot;, &quot;Hiragino Sans GB W3&quot;, &quot;Segoe UI&quot;, Arial, Verdana, sans-serif, sans-serif; background-color: rgb(255, 255, 255);\"><span style=\"box-sizing: border-box; font-size: 20px;\">系统提供了一个format_time,或者用php自带的date函数都可以<\/span><\/p><p style=\"white-space: normal; box-sizing: border-box; margin-top: 0px; margin-bottom: 1rem; color: rgb(51, 51, 51); font-family: 微软雅黑, &quot;Microsoft YaHei&quot;, &quot;Microsoft YaHei UI&quot;, &quot;Hiragino Sans GB W3&quot;, &quot;Segoe UI&quot;, Arial, Verdana, sans-serif, sans-serif; background-color: rgb(255, 255, 255);\"><span style=\"box-sizing: border-box; font-size: 20px;\">下面分别用以上两个函数格式了下，看下代码：<\/span><\/p><p style=\"white-space: normal; box-sizing: border-box; margin-top: 0px; margin-bottom: 1rem; color: rgb(51, 51, 51); font-family: 微软雅黑, &quot;Microsoft YaHei&quot;, &quot;Microsoft YaHei UI&quot;, &quot;Hiragino Sans GB W3&quot;, &quot;Segoe UI&quot;, Arial, Verdana, sans-serif, sans-serif; background-color: rgb(255, 255, 255);\"><br style=\"box-sizing: border-box;\"\/><\/p><p style=\"white-space: normal; box-sizing: border-box; margin-top: 0px; margin-bottom: 1rem; color: rgb(51, 51, 51); font-family: 微软雅黑, &quot;Microsoft YaHei&quot;, &quot;Microsoft YaHei UI&quot;, &quot;Hiragino Sans GB W3&quot;, &quot;Segoe UI&quot;, Arial, Verdana, sans-serif, sans-serif; background-color: rgb(255, 255, 255);\"><img src=\"https:\/\/www.shieldsoho.com\/public\/uploads\/images\/20220416\/1_20220416203021b81f7.png\" title=\"image.png\" alt=\"\" class=\"img-fluid\" style=\"box-sizing: border-box; vertical-align: middle; border-style: none; max-width: 100%; height: auto; margin: 0px auto; display: block;\"\/><\/p><p style=\"white-space: normal; box-sizing: border-box; margin-top: 0px; margin-bottom: 1rem; color: rgb(51, 51, 51); font-family: 微软雅黑, &quot;Microsoft YaHei&quot;, &quot;Microsoft YaHei UI&quot;, &quot;Hiragino Sans GB W3&quot;, &quot;Segoe UI&quot;, Arial, Verdana, sans-serif, sans-serif; background-color: rgb(255, 255, 255);\"><span style=\"box-sizing: border-box; font-size: 20px;\"><br style=\"box-sizing: border-box;\"\/><\/span><\/p><p style=\"white-space: normal; box-sizing: border-box; margin-top: 0px; margin-bottom: 1rem; color: rgb(51, 51, 51); font-family: 微软雅黑, &quot;Microsoft YaHei&quot;, &quot;Microsoft YaHei UI&quot;, &quot;Hiragino Sans GB W3&quot;, &quot;Segoe UI&quot;, Arial, Verdana, sans-serif, sans-serif; background-color: rgb(255, 255, 255);\"><span style=\"box-sizing: border-box; font-size: 20px;\"><img src=\"https:\/\/www.shieldsoho.com\/public\/uploads\/images\/20220416\/1_20220416203033f09d0.png\" title=\"image.png\" alt=\"\" class=\"img-fluid\" style=\"box-sizing: border-box; vertical-align: middle; border-style: none; max-width: 100%; height: auto; margin: 0px auto; display: block;\"\/><\/span><\/p><p style=\"white-space: normal; box-sizing: border-box; margin-top: 0px; margin-bottom: 1rem; color: rgb(51, 51, 51); font-family: 微软雅黑, &quot;Microsoft YaHei&quot;, &quot;Microsoft YaHei UI&quot;, &quot;Hiragino Sans GB W3&quot;, &quot;Segoe UI&quot;, Arial, Verdana, sans-serif, sans-serif; background-color: rgb(255, 255, 255);\"><span style=\"box-sizing: border-box; font-size: 20px;\">基本日期时间输出都是这样处理。<\/span><br style=\"box-sizing: border-box;\"\/><\/p><p style=\"white-space: normal; box-sizing: border-box; margin-top: 0px; margin-bottom: 1rem; color: rgb(51, 51, 51); font-family: 微软雅黑, &quot;Microsoft YaHei&quot;, &quot;Microsoft YaHei UI&quot;, &quot;Hiragino Sans GB W3&quot;, &quot;Segoe UI&quot;, Arial, Verdana, sans-serif, sans-serif; background-color: rgb(255, 255, 255);\"><span style=\"box-sizing: border-box; font-size: 20px;\"><br style=\"box-sizing: border-box;\"\/><\/span><\/p><h1 style=\"white-space: normal; box-sizing: border-box; margin-top: 0px; margin-bottom: 0.5rem; line-height: 1.2; font-size: 1.5rem; color: rgb(51, 51, 51); font-family: 微软雅黑, &quot;Microsoft YaHei&quot;, &quot;Microsoft YaHei UI&quot;, &quot;Hiragino Sans GB W3&quot;, &quot;Segoe UI&quot;, Arial, Verdana, sans-serif, sans-serif; background-color: rgb(255, 255, 255);\"><span style=\"box-sizing: border-box; font-size: 20px;\">array：<\/span><\/h1><p style=\"white-space: normal; box-sizing: border-box; margin-top: 0px; margin-bottom: 1rem; color: rgb(51, 51, 51); font-family: 微软雅黑, &quot;Microsoft YaHei&quot;, &quot;Microsoft YaHei UI&quot;, &quot;Hiragino Sans GB W3&quot;, &quot;Segoe UI&quot;, Arial, Verdana, sans-serif, sans-serif; background-color: rgb(255, 255, 255);\"><span style=\"box-sizing: border-box; font-size: 20px;\">数组类型<br style=\"box-sizing: border-box;\"\/><\/span><\/p><p style=\"white-space: normal; box-sizing: border-box; margin-top: 0px; margin-bottom: 1rem; color: rgb(51, 51, 51); font-family: 微软雅黑, &quot;Microsoft YaHei&quot;, &quot;Microsoft YaHei UI&quot;, &quot;Hiragino Sans GB W3&quot;, &quot;Segoe UI&quot;, Arial, Verdana, sans-serif, sans-serif; background-color: rgb(255, 255, 255);\"><span style=\"box-sizing: border-box; font-size: 20px;\">常规的数组字段<\/span><\/p><p style=\"white-space: normal; box-sizing: border-box; margin-top: 0px; margin-bottom: 1rem; color: rgb(51, 51, 51); font-family: 微软雅黑, &quot;Microsoft YaHei&quot;, &quot;Microsoft YaHei UI&quot;, &quot;Hiragino Sans GB W3&quot;, &quot;Segoe UI&quot;, Arial, Verdana, sans-serif, sans-serif; background-color: rgb(255, 255, 255);\"><span style=\"box-sizing: border-box; font-size: 20px;\"><img src=\"https:\/\/www.shieldsoho.com\/public\/uploads\/images\/20220417\/1_202204172130423ebee.png\" title=\"image.png\" alt=\"\" class=\"img-fluid\" style=\"box-sizing: border-box; vertical-align: middle; border-style: none; max-width: 100%; height: auto; margin: 0px auto; display: block;\"\/><\/span><\/p><p style=\"white-space: normal; box-sizing: border-box; margin-top: 0px; margin-bottom: 1rem; color: rgb(51, 51, 51); font-family: 微软雅黑, &quot;Microsoft YaHei&quot;, &quot;Microsoft YaHei UI&quot;, &quot;Hiragino Sans GB W3&quot;, &quot;Segoe UI&quot;, Arial, Verdana, sans-serif, sans-serif; background-color: rgb(255, 255, 255);\"><span style=\"box-sizing: border-box; font-size: 20px;\">可以直接添加数据<\/span><\/p><p style=\"white-space: normal; box-sizing: border-box; margin-top: 0px; margin-bottom: 1rem; color: rgb(51, 51, 51); font-family: 微软雅黑, &quot;Microsoft YaHei&quot;, &quot;Microsoft YaHei UI&quot;, &quot;Hiragino Sans GB W3&quot;, &quot;Segoe UI&quot;, Arial, Verdana, sans-serif, sans-serif; background-color: rgb(255, 255, 255);\"><span style=\"box-sizing: border-box; font-size: 20px;\">前台输出：<\/span><\/p><p style=\"white-space: normal; box-sizing: border-box; margin-top: 0px; margin-bottom: 1rem; color: rgb(51, 51, 51); font-family: 微软雅黑, &quot;Microsoft YaHei&quot;, &quot;Microsoft YaHei UI&quot;, &quot;Hiragino Sans GB W3&quot;, &quot;Segoe UI&quot;, Arial, Verdana, sans-serif, sans-serif; background-color: rgb(255, 255, 255);\"><span style=\"box-sizing: border-box; font-size: 20px;\"><img src=\"https:\/\/www.shieldsoho.com\/public\/uploads\/images\/20220417\/1_202204172136518417a.png\" title=\"image.png\" alt=\"\" class=\"img-fluid\" style=\"box-sizing: border-box; vertical-align: middle; border-style: none; max-width: 100%; height: auto; margin: 0px auto; display: block;\"\/><\/span><\/p><p style=\"white-space: normal; box-sizing: border-box; margin-top: 0px; margin-bottom: 1rem; color: rgb(51, 51, 51); font-family: 微软雅黑, &quot;Microsoft YaHei&quot;, &quot;Microsoft YaHei UI&quot;, &quot;Hiragino Sans GB W3&quot;, &quot;Segoe UI&quot;, Arial, Verdana, sans-serif, sans-serif; background-color: rgb(255, 255, 255);\"><span style=\"box-sizing: border-box; font-size: 20px;\">我们看到他虽然是数组格式，但是前台还是以字符串输出的，这种形式我们一般是不需要的，所以继续使用上一节所说的<\/span><\/p><p style=\"white-space: normal; box-sizing: border-box; margin-top: 0px; margin-bottom: 1rem; color: rgb(51, 51, 51); font-family: 微软雅黑, &quot;Microsoft YaHei&quot;, &quot;Microsoft YaHei UI&quot;, &quot;Hiragino Sans GB W3&quot;, &quot;Segoe UI&quot;, Arial, Verdana, sans-serif, sans-serif; background-color: rgb(255, 255, 255);\"><span style=\"box-sizing: border-box; font-size: 20px; color: rgb(255, 0, 0);\">json_decode&nbsp;<\/span><span style=\"box-sizing: border-box; font-size: 20px;\">函数来转换成数组格式，看如下代码：<\/span><\/p><p style=\"white-space: normal; box-sizing: border-box; margin-top: 0px; margin-bottom: 1rem; color: rgb(51, 51, 51); font-family: 微软雅黑, &quot;Microsoft YaHei&quot;, &quot;Microsoft YaHei UI&quot;, &quot;Hiragino Sans GB W3&quot;, &quot;Segoe UI&quot;, Arial, Verdana, sans-serif, sans-serif; background-color: rgb(255, 255, 255);\"><span style=\"box-sizing: border-box; font-size: 20px;\"><img src=\"https:\/\/www.shieldsoho.com\/public\/uploads\/images\/20220417\/1_2022041721402255609.png\" title=\"image.png\" alt=\"\" class=\"img-fluid\" style=\"box-sizing: border-box; vertical-align: middle; border-style: none; max-width: 100%; height: auto; margin: 0px auto; display: block;\"\/><\/span><\/p><p style=\"white-space: normal; box-sizing: border-box; margin-top: 0px; margin-bottom: 1rem; color: rgb(51, 51, 51); font-family: 微软雅黑, &quot;Microsoft YaHei&quot;, &quot;Microsoft YaHei UI&quot;, &quot;Hiragino Sans GB W3&quot;, &quot;Segoe UI&quot;, Arial, Verdana, sans-serif, sans-serif; background-color: rgb(255, 255, 255);\"><span style=\"box-sizing: border-box; font-size: 20px;\"><img src=\"https:\/\/www.shieldsoho.com\/public\/uploads\/images\/20220417\/1_202204172140398ea2f.png\" title=\"image.png\" alt=\"\" class=\"img-fluid\" style=\"box-sizing: border-box; vertical-align: middle; border-style: none; max-width: 100%; height: auto; margin: 0px auto; display: block;\"\/><\/span><\/p><p style=\"white-space: normal; box-sizing: border-box; margin-top: 0px; margin-bottom: 1rem; color: rgb(51, 51, 51); font-family: 微软雅黑, &quot;Microsoft YaHei&quot;, &quot;Microsoft YaHei UI&quot;, &quot;Hiragino Sans GB W3&quot;, &quot;Segoe UI&quot;, Arial, Verdana, sans-serif, sans-serif; background-color: rgb(255, 255, 255);\"><span style=\"box-sizing: border-box; font-size: 20px;\">这样我们就以数组形式分别输出了。<\/span><\/p><p style=\"white-space: normal; box-sizing: border-box; margin-top: 0px; margin-bottom: 1rem; color: rgb(51, 51, 51); font-family: 微软雅黑, &quot;Microsoft YaHei&quot;, &quot;Microsoft YaHei UI&quot;, &quot;Hiragino Sans GB W3&quot;, &quot;Segoe UI&quot;, Arial, Verdana, sans-serif, sans-serif; background-color: rgb(255, 255, 255);\"><span style=\"box-sizing: border-box; font-size: 20px;\"><br style=\"box-sizing: border-box;\"\/><\/span><\/p><h1 style=\"white-space: normal; box-sizing: border-box; margin-top: 0px; margin-bottom: 0.5rem; line-height: 1.2; font-size: 1.5rem; color: rgb(51, 51, 51); font-family: 微软雅黑, &quot;Microsoft YaHei&quot;, &quot;Microsoft YaHei UI&quot;, &quot;Hiragino Sans GB W3&quot;, &quot;Segoe UI&quot;, Arial, Verdana, sans-serif, sans-serif; background-color: rgb(255, 255, 255);\"><span style=\"box-sizing: border-box; font-size: 20px;\">array2：<\/span><\/h1><p style=\"white-space: normal; box-sizing: border-box; margin-top: 0px; margin-bottom: 1rem; color: rgb(51, 51, 51); font-family: 微软雅黑, &quot;Microsoft YaHei&quot;, &quot;Microsoft YaHei UI&quot;, &quot;Hiragino Sans GB W3&quot;, &quot;Segoe UI&quot;, Arial, Verdana, sans-serif, sans-serif; background-color: rgb(255, 255, 255);\"><span style=\"box-sizing: border-box; font-size: 20px;\">关联数组类型<br style=\"box-sizing: border-box;\"\/><\/span><\/p><p style=\"white-space: normal; box-sizing: border-box; margin-top: 0px; margin-bottom: 1rem; color: rgb(51, 51, 51); font-family: 微软雅黑, &quot;Microsoft YaHei&quot;, &quot;Microsoft YaHei UI&quot;, &quot;Hiragino Sans GB W3&quot;, &quot;Segoe UI&quot;, Arial, Verdana, sans-serif, sans-serif; background-color: rgb(255, 255, 255);\"><span style=\"box-sizing: border-box; font-size: 20px;\">后台样式<\/span><\/p><p style=\"white-space: normal; box-sizing: border-box; margin-top: 0px; margin-bottom: 1rem; color: rgb(51, 51, 51); font-family: 微软雅黑, &quot;Microsoft YaHei&quot;, &quot;Microsoft YaHei UI&quot;, &quot;Hiragino Sans GB W3&quot;, &quot;Segoe UI&quot;, Arial, Verdana, sans-serif, sans-serif; background-color: rgb(255, 255, 255);\"><span style=\"box-sizing: border-box; font-size: 20px;\"><img src=\"https:\/\/www.shieldsoho.com\/public\/uploads\/images\/20220417\/1_20220417214211379f6.png\" title=\"image.png\" alt=\"\" class=\"img-fluid\" style=\"box-sizing: border-box; vertical-align: middle; border-style: none; max-width: 100%; height: auto; margin: 0px auto; display: block;\"\/><\/span><\/p><p style=\"white-space: normal; box-sizing: border-box; margin-top: 0px; margin-bottom: 1rem; color: rgb(51, 51, 51); font-family: 微软雅黑, &quot;Microsoft YaHei&quot;, &quot;Microsoft YaHei UI&quot;, &quot;Hiragino Sans GB W3&quot;, &quot;Segoe UI&quot;, Arial, Verdana, sans-serif, sans-serif; background-color: rgb(255, 255, 255);\"><span style=\"box-sizing: border-box; font-size: 20px;\"><br\/><\/span><\/p><p>[reply]<\/p><p style=\"white-space: normal; box-sizing: border-box; margin-top: 0px; margin-bottom: 1rem; color: rgb(51, 51, 51); font-family: 微软雅黑, &quot;Microsoft YaHei&quot;, &quot;Microsoft YaHei UI&quot;, &quot;Hiragino Sans GB W3&quot;, &quot;Segoe UI&quot;, Arial, Verdana, sans-serif, sans-serif; background-color: rgb(255, 255, 255);\"><span style=\"box-sizing: border-box; font-size: 20px;\">我们有时候因业务需要，使用关联数组字段时，后台添加好数据，前台输出是这样的<br style=\"box-sizing: border-box;\"\/><\/span><\/p><p style=\"white-space: normal; box-sizing: border-box; margin-top: 0px; margin-bottom: 1rem; color: rgb(51, 51, 51); font-family: 微软雅黑, &quot;Microsoft YaHei&quot;, &quot;Microsoft YaHei UI&quot;, &quot;Hiragino Sans GB W3&quot;, &quot;Segoe UI&quot;, Arial, Verdana, sans-serif, sans-serif; background-color: rgb(255, 255, 255);\"><span style=\"box-sizing: border-box; font-size: 20px;\"><img src=\"https:\/\/www.shieldsoho.com\/public\/uploads\/images\/20220417\/1_20220417214515d5d3f.png\" title=\"image.png\" alt=\"\" class=\"img-fluid\" style=\"box-sizing: border-box; vertical-align: middle; border-style: none; max-width: 100%; height: auto; margin: 0px auto; display: block;\"\/><\/span><\/p><p style=\"white-space: normal; box-sizing: border-box; margin-top: 0px; margin-bottom: 1rem; color: rgb(51, 51, 51); font-family: 微软雅黑, &quot;Microsoft YaHei&quot;, &quot;Microsoft YaHei UI&quot;, &quot;Hiragino Sans GB W3&quot;, &quot;Segoe UI&quot;, Arial, Verdana, sans-serif, sans-serif; background-color: rgb(255, 255, 255);\"><span style=\"box-sizing: border-box; font-size: 20px;\">还是熟悉的味道，依然<span style=\"box-sizing: border-box; color: rgb(255, 0, 0);\">json_decode<\/span><span style=\"box-sizing: border-box;\">函数来转换数组，这个函数会经常用到，所以务必牢记<\/span><\/span><\/p><p style=\"white-space: normal; box-sizing: border-box; margin-top: 0px; margin-bottom: 1rem; color: rgb(51, 51, 51); font-family: 微软雅黑, &quot;Microsoft YaHei&quot;, &quot;Microsoft YaHei UI&quot;, &quot;Hiragino Sans GB W3&quot;, &quot;Segoe UI&quot;, Arial, Verdana, sans-serif, sans-serif; background-color: rgb(255, 255, 255);\"><span style=\"box-sizing: border-box; font-size: 20px;\"><span style=\"box-sizing: border-box;\"><img src=\"https:\/\/www.shieldsoho.com\/public\/uploads\/images\/20220417\/1_202204172148250e1d2.png\" title=\"image.png\" alt=\"\" class=\"img-fluid\" style=\"box-sizing: border-box; vertical-align: middle; border-style: none; max-width: 100%; height: auto; margin: 0px auto; display: block;\"\/><\/span><\/span><\/p><p style=\"white-space: normal; box-sizing: border-box; margin-top: 0px; margin-bottom: 1rem; color: rgb(51, 51, 51); font-family: 微软雅黑, &quot;Microsoft YaHei&quot;, &quot;Microsoft YaHei UI&quot;, &quot;Hiragino Sans GB W3&quot;, &quot;Segoe UI&quot;, Arial, Verdana, sans-serif, sans-serif; background-color: rgb(255, 255, 255);\"><span style=\"box-sizing: border-box; font-size: 20px;\"><img src=\"https:\/\/www.shieldsoho.com\/public\/uploads\/images\/20220417\/1_20220417214835fdfbe.png\" title=\"image.png\" alt=\"\" class=\"img-fluid\" style=\"box-sizing: border-box; vertical-align: middle; border-style: none; max-width: 100%; height: auto; margin: 0px auto; display: block;\"\/><\/span><\/p><p style=\"white-space: normal; box-sizing: border-box; margin-top: 0px; margin-bottom: 1rem; color: rgb(51, 51, 51); font-family: 微软雅黑, &quot;Microsoft YaHei&quot;, &quot;Microsoft YaHei UI&quot;, &quot;Hiragino Sans GB W3&quot;, &quot;Segoe UI&quot;, Arial, Verdana, sans-serif, sans-serif; background-color: rgb(255, 255, 255);\"><span style=\"box-sizing: border-box; font-size: 20px;\">这样title1和title2分别对应后台键值的输出。<\/span><\/p><p style=\"white-space: normal; box-sizing: border-box; margin-top: 0px; margin-bottom: 1rem; color: rgb(51, 51, 51); font-family: 微软雅黑, &quot;Microsoft YaHei&quot;, &quot;Microsoft YaHei UI&quot;, &quot;Hiragino Sans GB W3&quot;, &quot;Segoe UI&quot;, Arial, Verdana, sans-serif, sans-serif; background-color: rgb(255, 255, 255);\"><span style=\"box-sizing: border-box; font-size: 20px;\"><br style=\"box-sizing: border-box;\"\/><\/span><\/p><p style=\"white-space: normal; box-sizing: border-box; margin-top: 0px; margin-bottom: 1rem; color: rgb(51, 51, 51); font-family: 微软雅黑, &quot;Microsoft YaHei&quot;, &quot;Microsoft YaHei UI&quot;, &quot;Hiragino Sans GB W3&quot;, &quot;Segoe UI&quot;, Arial, Verdana, sans-serif, sans-serif; background-color: rgb(255, 255, 255);\"><span style=\"box-sizing: border-box; font-size: 20px;\">还有其他一些类型字段基本都是字符串和数组的变体，掌握以上的输出方式，基本都是大同小异，这里不在多述。<\/span><\/p><p style=\"white-space: normal; box-sizing: border-box; margin-top: 0px; margin-bottom: 1rem; color: rgb(51, 51, 51); font-family: 微软雅黑, &quot;Microsoft YaHei&quot;, &quot;Microsoft YaHei UI&quot;, &quot;Hiragino Sans GB W3&quot;, &quot;Segoe UI&quot;, Arial, Verdana, sans-serif, sans-serif; background-color: rgb(255, 255, 255);\"><span style=\"box-sizing: border-box; font-size: 20px;\"><br style=\"box-sizing: border-box;\"\/><\/span><\/p><p style=\"white-space: normal; box-sizing: border-box; margin-top: 0px; margin-bottom: 1rem; color: rgb(51, 51, 51); font-family: 微软雅黑, &quot;Microsoft YaHei&quot;, &quot;Microsoft YaHei UI&quot;, &quot;Hiragino Sans GB W3&quot;, &quot;Segoe UI&quot;, Arial, Verdana, sans-serif, sans-serif; background-color: rgb(255, 255, 255);\"><span style=\"box-sizing: border-box; font-size: 20px; color: rgb(255, 0, 0);\">注：这里所说的一系列字段类型输出可能有些用户感觉和系统的模板里有些不一样，<\/span><\/p><p style=\"white-space: normal; box-sizing: border-box; margin-top: 0px; margin-bottom: 1rem; color: rgb(51, 51, 51); font-family: 微软雅黑, &quot;Microsoft YaHei&quot;, &quot;Microsoft YaHei UI&quot;, &quot;Hiragino Sans GB W3&quot;, &quot;Segoe UI&quot;, Arial, Verdana, sans-serif, sans-serif; background-color: rgb(255, 255, 255);\"><span style=\"box-sizing: border-box; font-size: 20px; color: rgb(255, 0, 0);\">那是因为我们大多开发都是继官方的cms来开发的，继承了官方对应的C类里的一系列方法，<\/span><\/p><p style=\"white-space: normal; box-sizing: border-box; margin-top: 0px; margin-bottom: 1rem; color: rgb(51, 51, 51); font-family: 微软雅黑, &quot;Microsoft YaHei&quot;, &quot;Microsoft YaHei UI&quot;, &quot;Hiragino Sans GB W3&quot;, &quot;Segoe UI&quot;, Arial, Verdana, sans-serif, sans-serif; background-color: rgb(255, 255, 255);\"><span style=\"box-sizing: border-box; font-size: 20px; color: rgb(255, 0, 0);\">而官方的固定模型开发这些<\/span><span style=\"box-sizing: border-box; color: rgb(255, 0, 0); font-size: 20px;\">类型字段都已经被格式转义好，直接调用即可，所以感觉上非常简单。<\/span><\/p><p style=\"white-space: normal; box-sizing: border-box; margin-top: 0px; margin-bottom: 1rem; color: rgb(51, 51, 51); font-family: 微软雅黑, &quot;Microsoft YaHei&quot;, &quot;Microsoft YaHei UI&quot;, &quot;Hiragino Sans GB W3&quot;, &quot;Segoe UI&quot;, Arial, Verdana, sans-serif, sans-serif; background-color: rgb(255, 255, 255);\"><span style=\"box-sizing: border-box; color: rgb(255, 0, 0); font-size: 20px;\">但是要深入开发，自由度<span style=\"box-sizing: border-box;\">更大的<\/span>开发，<\/span><span style=\"box-sizing: border-box; font-size: 20px; color: rgb(255, 0, 0);\">不使用官方定义好的一系列方法，<\/span><span style=\"box-sizing: border-box; color: rgb(255, 0, 0); font-size: 20px;\">就要掌握一些上述的使用格式输出，<\/span><span style=\"box-sizing: border-box; color: rgb(255, 0, 0); font-size: 20px;\"><\/span><span style=\"box-sizing: border-box; color: rgb(255, 0, 0); font-size: 20px;\">否则输出的就像以上未定义格式的情况，都是字符串输出。<\/span><\/p><p><span style=\"box-sizing: border-box; color: rgb(255, 0, 0); font-size: 20px;\"><br\/><\/span>[\/reply]<\/p><p><br\/><\/p><p><a href=\"https:\/\/x1.php168.com\/bbs\/show-25052.html\" target=\"_self\"><strong><span style=\"color: rgb(0, 176, 80);\">下一节：齐博x1第四季《模块插件的制作》系列31-内容编辑和内容删除<\/span><\/strong><\/a><\/p>","content":"本节继续说明字段的前台展示time\/date\/datetime:时间日期字段类型分别是time 时间输出，date 日期输出 datetime 日期+时间的输出我们先看在模板中直接输出：齐博系统保存数据库里都是以整型保存日期时间的，这里的整型就是时间戳，要在模板里显示时间的话，需要格式化一下系统提供了一个format_time,或者用php自带的date函数都可以下面分别用以上两个函数格式了下，看下代码：基本日期时间输出都是这样处理。array：数组类型常规的数组字段可以直接添加数据前台输出：我们看到他虽然是数组格式，但是前台还是以字符串输出的，这种形式我们一般是不需要的，所以继续使用上一节所说的json_decode函数来转换成数组格式，看如下代码：这样我们就以数组形式分别输出了。array2：关联数组类型后台样式下一节：齐博x1第四季《模块插件的制作》系列31-内容编辑和内容删除","DIR":"bbs","url":"\/bbs\/show-25036.html","sort_name":"技术交流","mid_name":"论坛模型","sort_url":"\/bbs\/list-4.html","full_time":1650204766,"time":"2022-04-17 22:12","username":"阿赖耶识","user_icon":"https:\/\/x1.php168.com\/public\/uploads\/images\/20210210\/147_2021021019001791dbb.png","user_url":"\/member.php\/home\/147.html","full_title":"齐博x1第四季《模块插件的制作》系列30- 字段数据在前台的展示(5)","picurls":[],"user_name":"阿赖耶识"}],"ext":[],"paginate":{"page":1,"pages":2211,"perPage":10,"total":22104,"prev":1,"next":2,"hasNext":true,"hasPrev":false}}