对帖子包括回复进行顶、踩和魔力奖励操作。

奖励是弹窗选择魔力数量,填写备注,备注是可选的。确定后将扣除奖励者魔力,帖子作者增加魔力,并收到站内私信。更多细节可到 demo 站内了解。



点赞与奖励其实是分开两个插件来编写了。打包有优惠,具体联系作者。
点赞包名 | xiaomlove/nexusphp-post-like |
点赞仓库 | [email protected]:xiaomlove/nexusphp-post-like.git |
奖励包名 | xiaomlove/nexusphp-post-reward |
奖励仓库 | [email protected]:xiaomlove/nexusphp-post-reward.git |
适用版本 | >= 1.7.14 |
安装步骤:
composer config repositories.post-like vcs [email protected]:xiaomlove/nexusphp-post-like.git composer require xiaomlove/nexusphp-post-like php artisan plugin install xiaomlove/nexusphp-post-like composer config repositories.post-reward vcs [email protected]:xiaomlove/nexusphp-post-reward.git composer require xiaomlove/nexusphp-post-reward php artisan plugin install xiaomlove/nexusphp-post-reward