3-day current streak·28-day longest streak
🔥 欢迎体验“泡泡”微社区 www.paopao.info ------ 提示:本项目为ROCBOSS 2.x系列,本代码库已废弃。 新版ROCBOSS 3.x系列请前往: ROCBOSS 3.0 Frontend Project ROCBOSS 3.0 API Service v2.2.1 主要新特性 新增全文索引支持(xunsearch) 新增积分提现功能 新增会员间积分转账功能 新增文章模块 新增明/暗两套主题,可自主切换 新增微信扫码登录模块 前端Webpack打包 优化系统结构 变更加密流程,提高安全性 解决2.2.0中存留的一些小BUG 安装须知 环境要求…
🔥 欢迎体验“泡泡”微社区 www.paopao.info
------
提示:本项目为ROCBOSS 2.x系列,本代码库已废弃。
新版ROCBOSS 3.x系列请前往:
v2.2.1 主要新特性
- 新增全文索引支持(xunsearch)
- 新增积分提现功能
- 新增会员间积分转账功能
- 新增文章模块
- 新增明/暗两套主题,可自主切换
- 新增微信扫码登录模块
- 前端Webpack打包
- 优化系统结构
- 变更加密流程,提高安全性
- 解决2.2.0中存留的一些小BUG
安装须知
环境要求
1. PHP >= 5.4,MySQL >= 5.5
2. 部署Redis服务器以及对应的PHP Redis扩展
3. 部署[Xunsearch服务器][0](如果不启用可忽略该步骤)
4. 开启pdo_mysql扩展
5. 支持伪静态(建议使用Linux操作系统,不支持虚拟主机!)
安装步骤
1. 配置网站指向到 web/ 目录下
2. 导入 install.sql 数据库文件
3. 修改配置文件,app/config/ 下的文件需要分别重命名为 _base.php,_othere.php,_database.php,然后根据注释修改配置。
4. 新建并设置 app/cache 目录777权限
5. 配置文件完全填写结束后,访问首页,管理员登陆后,可进入管理地址 : 你的网址/admin, 默认管理员 admin 密码 123123123
location / {
try_files $uri $uri/ /index.php;
}
7. 由于使用[七牛云存储][1],所以需要配置图片处理样式,分割符为“ - ”,必须配置,否则图片无法使用
- - -
名称: 800
处理接口: 自行控制水印等,宽度800
- - -
名称: 100x100
处理接口:imageView2/1/w/100/h/100/q/100
- - -
名称:800.png
处理接口:自行控制水印等,宽度800
- - -
名称:90x68.png
处理接口: imageView2/1/w/90/h/68/q/100/format/png
- - -
名称:avatar.png
处理接口:imageView2/1/w/100/h/100/q/100/format/png
./console index/push-all 命令即可全量推送数据到索引服务器,建议每天定时跑一次该脚本。
关于2.2.0到2.2.1的升级
配置修改完相应配置后,连接MySQL,在console中执行如下语句
ALTER TABLE `rocboss`.`roc_collection` ADD COLUMN `article_id` int(11) UNSIGNED NOT NULL DEFAULT 0 COMMENT '文章ID' AFTER `tid`, DROP INDEX `uid`, ADD INDEX `uid` USING BTREE (`valid`, `uid`, `tid`, `article_id`) comment '';
ALTER TABLE `rocboss`.`roc_user` ADD COLUMN `salt` char(8) NOT NULL DEFAULT '' COMMENT '盐值' AFTER `password`;
CREATE TABLE `roc_withdraw` (
`id` int(11) unsigned NOT NULL AUTO_INCREMENT COMMENT '提现申请单ID',
`uid` int(11) unsigned NOT NULL DEFAULT '0' COMMENT '用户ID',
`pay_account` varchar(32) NOT NULL DEFAULT '' COMMENT '支付宝账户',
`score` int(11) unsigned NOT NULL DEFAULT '0' COMMENT '提现的积分',
`should_pay` decimal(8,2) unsigned NOT NULL DEFAULT '0.00' COMMENT '应支付金额',
`status` tinyint(4) unsigned NOT NULL DEFAULT '0' COMMENT '状态,0申请中,1审核通过,2审核拒绝',
`remark` varchar(128) NOT NULL DEFAULT '' COMMENT '备注',
`add_time` int(11) unsigned NOT NULL DEFAULT '0' COMMENT '申请时间',
`handle_uid` int(11) unsigned NOT NULL DEFAULT '0' COMMENT '处理者ID',
`handle_time` int(11) unsigned NOT NULL DEFAULT '0' COMMENT '处理时间',
`valid` tinyint(4) unsigned NOT NULL DEFAULT '1' COMMENT '是否有效,1有效,0删除',
PRIMARY KEY (`id`),
KEY `INDEX_USER` (`uid`,`valid`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='提现申请表';
v2.2.0 主要新特性
- 系统架构调整,优化Model层逻辑
- 热点数据缓存,提升负载能力
- 大量采用AJAX和PJAX,提升用户体验和系统运行速度
- 新增发帖、回帖本地自动草稿功能
- 新增图片CDN加速
- 新增支付宝积分充值功能
- 新增会员等级制度(可扩展)
- 新增主题打赏功能
- 新增私信手机短信通知功能
- 新增登录、注册人机行为验证
附言
由于 v2.2 系列环境要求比较严格,所以还请耐心安装,相关知识不了解的请先自行搜索查询相关资料。[0]:http://www.xunsearch.com/
[1]: https://portal.qiniu.com/signup?code=3lho3ffob4oya
-
paopao-ce ★ PINNED
A scalable social community platform powered by Gin backend and modern TypeScript/Vue frontend architecture
Go ★ 4.5k 1mo agoExplain → -
batio ★ PINNED
A fast and extensible micro-framework for PHP to build RESTful API.
PHP ★ 91 7y agoExplain → -
go-huobi-monitor ★ PINNED
Go Huobi Market Price Data Monitor
Go ★ 8 4y agoExplain → -
WeRock ★ PINNED
An iOS App For ROCBOSS 2.0
Objective-C ★ 5 11y agoExplain → -
rocboss-frontend ★ PINNED ▣
ROCBOSS Web Frontend
Vue ★ 46 4y agoExplain → -
ROCBOSS-OLD ★ PINNED ▣
High load, simple micro community software
PHP ★ 245 4y agoExplain → -
rocboss-api ▣
ROCBOSS API Service
PHP ★ 30 4y agoExplain → -
rocphp ▣
A fast, simple, extensible framework for PHP which is the concrete realization of flight
PHP ★ 21 8y agoExplain → -
paopao-video-player
The video player component for PaoPao
Vue ★ 1 3y agoExplain → -
x ⑂
自用微服务工具库
★ 1 6y agoExplain → -
tokenbalance ⑂
Simple Ethereum API to get your ERC20 Token Balance along with useful information
Go ★ 1 7y agoExplain → -
flight ⑂
An extensible micro-framework for PHP
PHP ★ 0 10y agoExplain → -
ethbian ⑂
The easy way to run a full Ethereum node on Raspberry Pi 4
★ 0 6y agoExplain → -
bfe ⑂
Open-source layer 7 load balancer derived from proprietary Baidu FrontEnd
★ 0 6y agoExplain → -
frp ⑂
A fast reverse proxy to help you expose a local server behind a NAT or firewall to the internet.
★ 0 6y agoExplain → -
viabtc_exchange_server ⑂
A trading engine with high-speed performance and real-time notification
★ 0 6y agoExplain → -
How-To-Ask-Questions-The-Smart-Way ⑂
本文原文由知名 Hacker Eric S. Raymond 所撰寫,教你如何正確的提出技術問題並獲得你滿意的答案。
★ 0 6y agoExplain → -
token-profile ⑂
Blockchain coin and token profile collection
TypeScript ★ 0 7y agoExplain → -
vux ⑂
Mobile UI Components based on Vue & WeUI
Vue ★ 0 8y agoExplain → -
jstutorial ⑂
Javascript tutorial book
CSS ★ 0 9y agoExplain → -
xunsearch ⑂
免费开源的中文搜索引擎,采用 C/C++ 编写 (基于 xapian 和 scws),提供 PHP 的开发接口和丰富文档
PHP ★ 0 9y agoExplain → -
ddos-deflate ⑂
Fork of DDoS Deflate with fixes, improvements and new features.
Shell ★ 0 9y agoExplain → -
sparrow ⑂
A simple database toolkit for PHP
PHP ★ 0 12y agoExplain → -
vue ⑂
Simple yet powerful library for building modern web interfaces.
JavaScript ★ 0 10y agoExplain → -
nginx-rtmp-module ⑂
NGINX-based Media Streaming Server
C ★ 0 10y agoExplain →
No repos match these filters.