作者 lihan
1 个管道 的构建 通过 耗费 0 秒

赠送积分和角色管理

... ... @@ -92,7 +92,7 @@ class FriendController extends HomeBaseController
if ($tag) {
$ship = [
'uid' => $uid,
'friend_id' => $friend_id,
'friend_uid' => $friend_id,
];
//非首次赠送,积分叠加
if (Db::name('friendship')->where($ship)->count()) {
... ...