大家尽量往高版本升级,低版本存在BUG等问题,现在DiscuzX也支持了Mysql8.0了,PHP也可以升级到7.0
PHP版本>=7.0 并支持curl扩展
Mysql=5.7
宽带建议 2M以上
服务器硬件建议:2G内存4核以上
小程序代码示例2
{
"pages": [
"pages/index/index",
"pages/community/index/index",
"pages/user/signin/index/index",
"pages/user/signin/account/login/index",
"pages/user/signin/account/register/index",
"pages/user/signin/bind/index",
"pages/user/index/index",
"pages/community/group/posts/index/index",
"pages/community/group/profile/profile",
"pages/community/group/members/members",
"pages/community/group/posts/search/search",
"pages/community/post/details/details",
"pages/user/space/space",
"pages/community/post/publish/publish",
"pages/community/group/create/create",
"pages/community/group/manage/index/index",
"pages/user/finance/wallet/index/index",
"pages/user/finance/wallet/bankCard/list/list",
"pages/user/finance/wallet/bankCard/details/details",
"pages/user/finance/wallet/bankCard/add/add",
"pages/user/finance/wallet/collectMoneyQRCode/collectMoneyQRCode",
"pages/user/finance/wallet/withdraw/records/records",
"pages/user/finance/wallet/withdraw/apply/apply",
"pages/user/finance/wallet/withdraw/details/details",
"pages/user/finance/transaction/details/details",
"pages/user/finance/transaction/list/list",
"pages/community/group/my/my",
"pages/user/setting/index/index",
"pages/user/setting/associated/associated",
"pages/user/message/list/list",
"pages/user/message/details/details",
"pages/community/group/list/list",
"pages/community/post/tagged/tagged"
],
"window": {
"backgroundTextStyle": "light",
"navigationBarBackgroundColor": "#fff",
"navigationBarTitleText": "Weixin",
"navigationBarTextStyle": "black",
"navigationStyle": "custom",
"backgroundColor": "#f2f5f7"
},
"style": "v2",
"sitemapLocation": "sitemap.json",
"useExtendedLib": {
"weui": true
},
"lazyCodeLoading": "requiredComponents",
"usingComponents": {
"t-header-bar": "./Ruyi/MiniProgram/components/THeaderBar/THeaderBar",
"t-navbar": "./Ruyi/MiniProgram/components/TNavbar/TNavbar",
"t-common-container": "./Ruyi/MiniProgram/components/TCommonContainer/TCommonContainer",
"t-full-screen-container": "./Ruyi/MiniProgram/components/TFullScreenContainer/TFullScreenContainer",
"t-button": "./Ruyi/MiniProgram/components/TButton/TButton",
"t-stats-number": "./Ruyi/MiniProgram/components/TStatsNumber/TStatsNumber",
"t-textarea": "./Ruyi/MiniProgram/components/TTextarea/TTextarea",
"t-modal": "./Ruyi/MiniProgram/components/TModal/TModal",
"t-upload-media-list": "./Ruyi/MiniProgram/components/TUploadMediaList/TUploadMediaList",
"t-form": "./Ruyi/MiniProgram/components/Form/TForm",
"t-form-item": "./Ruyi/MiniProgram/components/Form/TFormItem/TFormItem",
"t-cells": "./Ruyi/MiniProgram/components/TCells/TCells/TCells",
"t-cell": "./Ruyi/MiniProgram/components/TCells/TCell/TCell",
"t-cell-list": "./Ruyi/MiniProgram/components/TCells/TCellList/TCellList",
"t-alert": "./Ruyi/MiniProgram/components/TAlert/TAlert",
"r-empty": "./Ruyi/MiniProgram/components/REmpty/REmpty",
"r-drawer": "./Ruyi/MiniProgram/components/RDrawer/RDrawer",
"r-status": "./Ruyi/MiniProgram/components/RStatus/RStatus",
"r-loading": "./Ruyi/MiniProgram/components/RLoading/RLoading",
"panel": "./components/base/panel/panel",
"panel-list": "./components/base/panelList/panelList",
"amount": "./components/base/finance/amount/amount",
"user-avatar": "./components/base/userAvatar/userAvatar",
"image-view": "./components/base/ImageView/ImageView",
"cells": "./components/base/Cells/Cells/Cells",
"cell": "./components/base/Cells/Cell/Cell"
},
"tabBar": {
"custom": true,
"list": [
{
"pagePath": "pages/index/index",
"text": "首页"
},
{
"pagePath": "pages/community/index/index",
"text": "圈子"
},
{
"pagePath": "pages/user/index/index",
"text": "我的"
}
]
},
"miniApp": {
"useAuthorizePage": true
}
}