构建一个陪玩交友系统是一个复杂但充满挑战的项目,它涉及多个技术领域的协同工作。以下是从系统需求设计到后期维护与更新的完整搭建流程,旨在指导开发团队高效地完成系统开发。
陪玩源码获取:www.51duoke.cn/games/?id=8
安装后台: 系统安装环境及步骤(仔细看要求): 1.安装环境,Nginx或者Apache 请选择PHP7.3 数据库mysql5.6
2.上传后端源码到宝塔并解压,建立网站时同步创建数据库,开启thinkphp伪静态,申请SSL域名证书,绑定网站目录为/pulic
3.在根目录里有个.evn文件,在输入数据库连接和授权码(最后一行auth_code那里填写,开源不需要)
4.导入源码包内的数据库文件,访问后台(域名/admin 默认密码123456/开源版为6192652)
务必进入后台基本设置,完善基础资料, 否则会影响到前端使用!!!
3.打包前端: App打包教程: 1.登录Uni账号生成应用、生成云端证书、添加各平台信息,完善Uni push1.0推送、购买腾讯官方音视频插件(免费0元,没有则不用)、申请认证广告(不要则不用) 2.导入前端源码到HB(Uni开发工具) 3.修改配置文件siteinfo(自己域名) manifest(平台参数) 4.发行原生在线云打包
<view class="tn-info__container tn-flex tn-flex-wrap tn-flex-col-center tn-flex-row-between ">
<view @click="navigateToFn({ url: '/minePages/gift/chongzhi', checkLogin: true })" class="tn-info__item tn-flex tn-flex-direction-row tn-flex-col-center tn-flex-row-between job-shadow tn-bg-white">
<view class="tn-info__item__left tn-flex tn-flex-direction-row tn-flex-col-center tn-flex-row-left">
<view class="tn-info__item__left__content">
<view class="tn-info__item__left__content--title tn-text-bold">我的{{configInfo.site_moneyname}}</view>
<view class="tn-info__item__left__content--data tn-padding-top-xs">{{body.money}}</view>
</view>
</view>
<view class="tn-info__item__right">
<view class="tn-info__item__right--icon">
<view class="tn-icon-right"></view>
</view>
</view>
</view>
<view @click="navigateToFn({ url: '/gamePages/my_order', checkLogin: true })" class="tn-info__item tn-flex tn-flex-direction-row tn-flex-col-center tn-flex-row-between job-shadow tn-bg-white">
<view class="tn-info__item__left tn-flex tn-flex-direction-row tn-flex-col-center tn-flex-row-left">
<view class="tn-info__item__left__content">
<view class="tn-info__item__left__content--title tn-text-bold">我的订单</view>
<view class="tn-info__item__left__content--data tn-padding-top-xs">{{body.order_num}}</view>
</view>
</view>
<view class="tn-info__item__right">
<view class="tn-info__item__right--icon">
<view class="tn-icon-right"></view>
</view>
</view>
</view>