|
|
@@ -1339,8 +1339,8 @@ class StoreOrderRepository extends BaseRepository
|
|
|
break;
|
|
|
case 6: //礼包商品
|
|
|
$pack_count = User::where('uid', $user['spread_uid'])->value('pack_count'); //上级礼包数量
|
|
|
- $pack_count = bcadd($pack_count, 1, 2);
|
|
|
- @file_put_contents('quanju.txt', $pack_count. "-礼包数加一\r\n", 8);
|
|
|
+// $pack_count = bcadd($pack_count, 1, 2);
|
|
|
+// @file_put_contents('quanju.txt', $pack_count. "-礼包数加一\r\n", 8);
|
|
|
$remainder = bcmod($pack_count, 3); //取余
|
|
|
@file_put_contents('quanju.txt', $remainder. "-取余\r\n", 8);
|
|
|
$award_integral = User::where('uid', $user['spread_uid'])->value('award_integral');
|