Przeglądaj źródła

Merge remote-tracking branch 'origin/dev' into dev

xupuyuan 10 miesięcy temu
rodzic
commit
e99f944b9b

+ 41 - 41
app/common/repositories/store/order/StoreOrderRepository.php

@@ -10922,7 +10922,7 @@ class StoreOrderRepository extends BaseRepository
10922 10922
                 UserBillEnum::ORDER_TYPE['SELF_OPERATED']['code'],
10923 10923
                 UserBillEnum::TYPE_SHOP['Platform']['code'],
10924 10924
                 $storeOrderEntity->getOrderId(),
10925
-                '购买精彩生活商品赠送养老金'
10925
+                '购买精彩生活商品获得养老金'
10926 10926
             );
10927 10927
 
10928 10928
             // 为用户初始胡 贡献值
@@ -10933,7 +10933,7 @@ class StoreOrderRepository extends BaseRepository
10933 10933
                 $storeOrderEntity->getUid(),
10934 10934
                 UserSignGongxianEnum::TYPE['Give']['code'],
10935 10935
                 $gongxian,
10936
-                '购买精彩生活商品赠送贡献值',
10936
+                '购买精彩生活商品获得贡献值',
10937 10937
                 UserSignGongxianEnum::ORDER_TYPE['Platform']['code'],
10938 10938
                 $storeOrderEntity->getOrderId()
10939 10939
             );
@@ -10945,7 +10945,7 @@ class StoreOrderRepository extends BaseRepository
10945 10945
             $userPvLogRepository->addUserPvLog(
10946 10946
                 $storeOrderEntity->getUid(),
10947 10947
                 $pv,
10948
-                '购买精彩生活商品赠送PV值',
10948
+                '购买精彩生活商品获得PV值',
10949 10949
                 UserPvLogEnum::ORDER_TYPE['Platform']['code'],
10950 10950
                 $storeOrderEntity->getOrderId()
10951 10951
             );
@@ -10959,7 +10959,7 @@ class StoreOrderRepository extends BaseRepository
10959 10959
                 UserSignScoreEnum::SOURCE_TYPE['SelfOrder']['code'],
10960 10960
                 UserSignScoreEnum::PM['Income']['code'],
10961 10961
                 $score,
10962
-                '购买精彩生活商品赠送积分',
10962
+                '购买精彩生活商品获得积分',
10963 10963
                 UserSignHongbaoEnum::ORDER_TYPE['Platform']['code'],
10964 10964
                 $storeOrderEntity->getOrderId()
10965 10965
             );
@@ -10973,7 +10973,7 @@ class StoreOrderRepository extends BaseRepository
10973 10973
                     $storeOrderEntity->getUid(),
10974 10974
                     UserSignHongbaoEnum::TYPE['ConsumptionGift']['code'],
10975 10975
                     $hongbao,
10976
-                    '购买精彩生活商品赠送红包',
10976
+                    '购买精彩生活商品获得红包',
10977 10977
                     UserSignHongbaoEnum::ORDER_TYPE['Platform']['code'],
10978 10978
                     $storeOrderEntity->getOrderId()
10979 10979
                 );
@@ -10998,7 +10998,7 @@ class StoreOrderRepository extends BaseRepository
10998 10998
                         UserSignFugouEnum::TYPE['Give']['code'],
10999 10999
                         $fugouBySpreadUid,
11000 11000
                         UserSignFugouEnum::COMMISSION_TYPE['DIRECT_REFERRAL']['code'],
11001
-                        '推广精彩生活区商品赠送复购金',
11001
+                        '推广精彩生活区商品获得复购金',
11002 11002
                         UserSignFugouEnum::ORDER_TYPE['Platform']['code'],
11003 11003
                         $storeOrderEntity->getOrderId()
11004 11004
                     );
@@ -11019,26 +11019,26 @@ class StoreOrderRepository extends BaseRepository
11019 11019
                         UserBillEnum::ORDER_TYPE['SELF_OPERATED']['code'],
11020 11020
                         UserBillEnum::TYPE_SHOP['Platform']['code'],
11021 11021
                         $storeOrderEntity->getOrderId(),
11022
-                        '推广精彩生活区商品赠送佣金'
11022
+                        '推广精彩生活区商品获得佣金'
11023 11023
                     );
11024 11024
 
11025 11025
                     // 初始胡 贡献值
11026 11026
                     $gongxianBySpreadUid = bcmul($storeOrderEntity->getConPri(), CommonEnum::ORDER_EARNING_ALLOCATION['WonderfulLiving']['Spread']['Gongxian']['Ratio']['code'], CommonEnum::DECIMAL_PLACES_OF_THE_AMOUNT);
11027
-                    // 赠送贡献值
11027
+                    // 获得贡献值
11028 11028
                     /** @var UserSignGongxianRepository $userSignGongxianRepository */
11029 11029
                     $userSignGongxianRepository = app()->make(UserSignGongxianRepository::class);
11030 11030
                     $userSignGongxianRepository->addUserSingGongxian(
11031 11031
                         $userEntityBySpreadUid->getUid(),
11032 11032
                         UserSignGongxianEnum::TYPE['Give']['code'],
11033 11033
                         $gongxianBySpreadUid,
11034
-                        '推广精彩生活商品赠送贡献值',
11034
+                        '推广精彩生活商品获得贡献值',
11035 11035
                         UserSignGongxianEnum::ORDER_TYPE['Platform']['code'],
11036 11036
                         $storeOrderEntity->getOrderId()
11037 11037
                     );
11038 11038
 
11039 11039
                     // 计算积分值
11040 11040
                     $scoreBySpreadUid = bcmul($directReferralBonus, CommonEnum::ORDER_EARNING_ALLOCATION['WonderfulLiving']['Spread']['Score']['Ratio']['code'], CommonEnum::DECIMAL_PLACES_OF_THE_AMOUNT);
11041
-                    // 赠送积分
11041
+                    // 获得积分
11042 11042
                     /** @var UserSignScoreRepository $userSignScoreRepository */
11043 11043
                     $userSignScoreRepository = app()->make(UserSignScoreRepository::class);
11044 11044
                     $userSignScoreRepository->addUserSingScore(
@@ -11046,7 +11046,7 @@ class StoreOrderRepository extends BaseRepository
11046 11046
                         UserSignScoreEnum::SOURCE_TYPE['SelfOrder']['code'],
11047 11047
                         UserSignScoreEnum::PM['Income']['code'],
11048 11048
                         $scoreBySpreadUid,
11049
-                        '推广精彩生活区商品赠送积分',
11049
+                        '推广精彩生活区商品获得积分',
11050 11050
                         UserSignHongbaoEnum::ORDER_TYPE['Platform']['code'],
11051 11051
                         $storeOrderEntity->getOrderId()
11052 11052
                     );
@@ -11093,7 +11093,7 @@ class StoreOrderRepository extends BaseRepository
11093 11093
                         UserBillEnum::ORDER_TYPE['SELF_OPERATED']['code'],
11094 11094
                         UserBillEnum::TYPE_SHOP['Platform']['code'],
11095 11095
                         $storeOrderEntity->getOrderId(),
11096
-                        '分享精彩生活区商品赠送佣金'
11096
+                        '分享精彩生活区商品获得佣金'
11097 11097
                     );
11098 11098
                     // 计算 复购金
11099 11099
                     $fugouByShareUid = bcmul($storeOrderEntity->getConPri(), CommonEnum::ORDER_EARNING_ALLOCATION['WonderfulLiving']['Share']['Fugou']['Ratio']['code'], CommonEnum::DECIMAL_PLACES_OF_THE_AMOUNT);
@@ -11105,7 +11105,7 @@ class StoreOrderRepository extends BaseRepository
11105 11105
                         UserSignFugouEnum::TYPE['Give']['code'],
11106 11106
                         $fugouByShareUid,
11107 11107
                         UserSignFugouEnum::COMMISSION_TYPE['SHARE_EARNINGS']['code'],
11108
-                        '分享精彩生活区商品赠送复购金',
11108
+                        '分享精彩生活区商品获得复购金',
11109 11109
                         UserSignFugouEnum::ORDER_TYPE['Platform']['code'],
11110 11110
                         $storeOrderEntity->getOrderId()
11111 11111
                     );
@@ -11134,7 +11134,7 @@ class StoreOrderRepository extends BaseRepository
11134 11134
                         UserBillEnum::ORDER_TYPE['SELF_OPERATED']['code'],
11135 11135
                         UserBillEnum::TYPE_SHOP['Platform']['code'],
11136 11136
                         $storeOrderEntity->getOrderId(),
11137
-                        '锁客佣金(精彩生活区商品赠送)'
11137
+                        '锁客佣金(精彩生活区商品获得)'
11138 11138
                     );
11139 11139
                     // 计算 复购金
11140 11140
                     $fugouByMerId = bcmul($storeOrderEntity->getConPri(), CommonEnum::ORDER_EARNING_ALLOCATION['WonderfulLiving']['Lock']['Fugou']['Ratio']['code'], CommonEnum::DECIMAL_PLACES_OF_THE_AMOUNT);
@@ -11146,7 +11146,7 @@ class StoreOrderRepository extends BaseRepository
11146 11146
                         UserSignFugouEnum::TYPE['Give']['code'],
11147 11147
                         $fugouByMerId,
11148 11148
                         UserSignFugouEnum::COMMISSION_TYPE['LOCKED_CUSTOMER']['code'],
11149
-                        '锁客复购金(精彩生活区商品赠送)',
11149
+                        '锁客复购金(精彩生活区商品获得)',
11150 11150
                         UserSignFugouEnum::ORDER_TYPE['Platform']['code'],
11151 11151
                         $storeOrderEntity->getOrderId()
11152 11152
                     );
@@ -11171,7 +11171,7 @@ class StoreOrderRepository extends BaseRepository
11171 11171
                     UserBillEnum::ORDER_TYPE['SELF_OPERATED']['code'],
11172 11172
                     UserBillEnum::TYPE_SHOP['Platform']['code'],
11173 11173
                     $storeOrderEntity->getOrderId(),
11174
-                    '购买会员专区商品赠送养老金'
11174
+                    '购买会员专区商品获得养老金'
11175 11175
                 );
11176 11176
 
11177 11177
                 // 为用户初始胡 贡献值
@@ -11182,7 +11182,7 @@ class StoreOrderRepository extends BaseRepository
11182 11182
                     $storeOrderEntity->getUid(),
11183 11183
                     UserSignGongxianEnum::TYPE['Give']['code'],
11184 11184
                     $gongxian,
11185
-                    '购买会员专区商品赠送贡献值',
11185
+                    '购买会员专区商品获得贡献值',
11186 11186
                     UserSignGongxianEnum::ORDER_TYPE['Platform']['code'],
11187 11187
                     $storeOrderEntity->getOrderId()
11188 11188
                 );
@@ -11194,7 +11194,7 @@ class StoreOrderRepository extends BaseRepository
11194 11194
                 $userPvLogRepository->addUserPvLog(
11195 11195
                     $storeOrderEntity->getUid(),
11196 11196
                     $pv,
11197
-                    '购买会员专区商品赠送PV值',
11197
+                    '购买会员专区商品获得PV值',
11198 11198
                     UserPvLogEnum::ORDER_TYPE['Platform']['code'],
11199 11199
                     $storeOrderEntity->getOrderId()
11200 11200
                 );
@@ -11208,7 +11208,7 @@ class StoreOrderRepository extends BaseRepository
11208 11208
                     UserSignScoreEnum::SOURCE_TYPE['SelfOrder']['code'],
11209 11209
                     UserSignScoreEnum::PM['Income']['code'],
11210 11210
                     $score,
11211
-                    '购买会员专区商品赠送积分',
11211
+                    '购买会员专区商品获得积分',
11212 11212
                     UserSignHongbaoEnum::ORDER_TYPE['Platform']['code'],
11213 11213
                     $storeOrderEntity->getOrderId()
11214 11214
                 );
@@ -11233,7 +11233,7 @@ class StoreOrderRepository extends BaseRepository
11233 11233
                                 UserSignFugouEnum::TYPE['Give']['code'],
11234 11234
                                 $fugouBySpreadUid,
11235 11235
                                 UserSignFugouEnum::COMMISSION_TYPE['DIRECT_REFERRAL']['code'],
11236
-                                '推广会员专区商品赠送复购金',
11236
+                                '推广会员专区商品获得复购金',
11237 11237
                                 UserSignFugouEnum::ORDER_TYPE['Platform']['code'],
11238 11238
                                 $storeOrderEntity->getOrderId()
11239 11239
                             );
@@ -11254,7 +11254,7 @@ class StoreOrderRepository extends BaseRepository
11254 11254
                                 UserBillEnum::ORDER_TYPE['SELF_OPERATED']['code'],
11255 11255
                                 UserBillEnum::TYPE_SHOP['Platform']['code'],
11256 11256
                                 $storeOrderEntity->getOrderId(),
11257
-                                '推广会员专区商品赠送佣金'
11257
+                                '推广会员专区商品获得佣金'
11258 11258
                             );
11259 11259
                         }
11260 11260
 
@@ -11266,14 +11266,14 @@ class StoreOrderRepository extends BaseRepository
11266 11266
                             $gongxianRatio = CommonEnum::ORDER_EARNING_ALLOCATION['MemberZone']['Spread']['Gongxian']['Ratio']['code'];
11267 11267
                         }
11268 11268
                         $gongxianBySpreadUid = bcmul($basePrice, $gongxianRatio, CommonEnum::DECIMAL_PLACES_OF_THE_AMOUNT);
11269
-                        // 赠送贡献值
11269
+                        // 获得贡献值
11270 11270
                         /** @var UserSignGongxianRepository $userSignGongxianRepository */
11271 11271
                         $userSignGongxianRepository = app()->make(UserSignGongxianRepository::class);
11272 11272
                         $userSignGongxianRepository->addUserSingGongxian(
11273 11273
                             $userEntityBySpreadUid->getUid(),
11274 11274
                             UserSignGongxianEnum::TYPE['Give']['code'],
11275 11275
                             $gongxianBySpreadUid,
11276
-                            '推广会员专区商品赠送贡献值',
11276
+                            '推广会员专区商品获得贡献值',
11277 11277
                             UserSignGongxianEnum::ORDER_TYPE['Platform']['code'],
11278 11278
                             $storeOrderEntity->getOrderId()
11279 11279
                         );
@@ -11283,7 +11283,7 @@ class StoreOrderRepository extends BaseRepository
11283 11283
                         $rate = static::getUserGroupRate($userEntityBySpreadUid->getUserGroup());
11284 11284
                         $scoreByUserGroupRate = bcmul($basePrice, $rate, CommonEnum::CALCULATE_THE_NUMBER_OF_DECIMAL_PLACES);
11285 11285
                         $scoreBySpreadUid = bcmul($scoreByUserGroupRate, CommonEnum::ORDER_EARNING_ALLOCATION['MemberZone']['Spread']['Score']['Ratio']['code'], CommonEnum::DECIMAL_PLACES_OF_THE_AMOUNT);
11286
-                        // 赠送积分
11286
+                        // 获得积分
11287 11287
                         /** @var UserSignScoreRepository $userSignScoreRepository */
11288 11288
                         $userSignScoreRepository = app()->make(UserSignScoreRepository::class);
11289 11289
                         $userSignScoreRepository->addUserSingScore(
@@ -11291,7 +11291,7 @@ class StoreOrderRepository extends BaseRepository
11291 11291
                             UserSignScoreEnum::SOURCE_TYPE['SelfOrder']['code'],
11292 11292
                             UserSignScoreEnum::PM['Income']['code'],
11293 11293
                             $scoreBySpreadUid,
11294
-                            '推广会员专区商品赠送积分',
11294
+                            '推广会员专区商品获得积分',
11295 11295
                             UserSignHongbaoEnum::ORDER_TYPE['Platform']['code'],
11296 11296
                             $storeOrderEntity->getOrderId()
11297 11297
                         );
@@ -11333,7 +11333,7 @@ class StoreOrderRepository extends BaseRepository
11333 11333
                 UserBillEnum::ORDER_TYPE['SELF_OPERATED']['code'],
11334 11334
                 UserBillEnum::TYPE_SHOP['Platform']['code'],
11335 11335
                 $storeOrderEntity->getOrderId(),
11336
-                '购买复购区赠送养老金'
11336
+                '购买复购区获得养老金'
11337 11337
             );
11338 11338
 
11339 11339
             // 给推荐人的奖励
@@ -11354,7 +11354,7 @@ class StoreOrderRepository extends BaseRepository
11354 11354
                         UserBillEnum::ORDER_TYPE['SELF_OPERATED']['code'],
11355 11355
                         UserBillEnum::TYPE_SHOP['Platform']['code'],
11356 11356
                         $storeOrderEntity->getOrderId(),
11357
-                        '推荐复购区商品赠送养老金'
11357
+                        '推荐复购区商品获得养老金'
11358 11358
                     );
11359 11359
 
11360 11360
                     // 给间接推荐人的奖励
@@ -11375,7 +11375,7 @@ class StoreOrderRepository extends BaseRepository
11375 11375
                                 UserBillEnum::ORDER_TYPE['SELF_OPERATED']['code'],
11376 11376
                                 UserBillEnum::TYPE_SHOP['Platform']['code'],
11377 11377
                                 $storeOrderEntity->getOrderId(),
11378
-                                '间推复购区商品赠送养老金'
11378
+                                '间推复购区商品获得养老金'
11379 11379
                             );
11380 11380
                         }
11381 11381
                     }
@@ -11401,7 +11401,7 @@ class StoreOrderRepository extends BaseRepository
11401 11401
                 UserBillEnum::ORDER_TYPE['SELF_OPERATED']['code'],
11402 11402
                 UserBillEnum::TYPE_SHOP['Platform']['code'],
11403 11403
                 $storeOrderEntity->getOrderId(),
11404
-                '购买商贸区商品赠送养老金'
11404
+                '购买商贸区商品获得养老金'
11405 11405
             );
11406 11406
 
11407 11407
             // 为用户初始胡 贡献值
@@ -11412,7 +11412,7 @@ class StoreOrderRepository extends BaseRepository
11412 11412
                 $storeOrderEntity->getUid(),
11413 11413
                 UserSignGongxianEnum::TYPE['Give']['code'],
11414 11414
                 $gongxian,
11415
-                '购买商贸区商品赠送贡献值',
11415
+                '购买商贸区商品获得贡献值',
11416 11416
                 UserSignGongxianEnum::ORDER_TYPE['Platform']['code'],
11417 11417
                 $storeOrderEntity->getOrderId()
11418 11418
             );
@@ -11424,7 +11424,7 @@ class StoreOrderRepository extends BaseRepository
11424 11424
             $userPvLogRepository->addUserPvLog(
11425 11425
                 $storeOrderEntity->getUid(),
11426 11426
                 $pv,
11427
-                '购买商贸区商品赠送PV值',
11427
+                '购买商贸区商品获得PV值',
11428 11428
                 UserPvLogEnum::ORDER_TYPE['Platform']['code'],
11429 11429
                 $storeOrderEntity->getOrderId()
11430 11430
             );
@@ -11438,7 +11438,7 @@ class StoreOrderRepository extends BaseRepository
11438 11438
                 UserSignScoreEnum::SOURCE_TYPE['SelfOrder']['code'],
11439 11439
                 UserSignScoreEnum::PM['Income']['code'],
11440 11440
                 $score,
11441
-                '购买商贸区商品赠送积分',
11441
+                '购买商贸区商品获得积分',
11442 11442
                 UserSignHongbaoEnum::ORDER_TYPE['Platform']['code'],
11443 11443
                 $storeOrderEntity->getOrderId()
11444 11444
             );
@@ -11465,7 +11465,7 @@ class StoreOrderRepository extends BaseRepository
11465 11465
                     $storeOrderEntity->getUid(),
11466 11466
                     UserSignHongbaoEnum::TYPE['ConsumptionGift']['code'],
11467 11467
                     $hongbao,
11468
-                    '购买商贸区商品赠送红包',
11468
+                    '购买商贸区商品获得红包',
11469 11469
                     UserSignHongbaoEnum::ORDER_TYPE['Platform']['code'],
11470 11470
                     $storeOrderEntity->getOrderId()
11471 11471
                 );
@@ -11490,7 +11490,7 @@ class StoreOrderRepository extends BaseRepository
11490 11490
                         UserSignFugouEnum::TYPE['Give']['code'],
11491 11491
                         $fugouBySpreadUid,
11492 11492
                         UserSignFugouEnum::COMMISSION_TYPE['DIRECT_REFERRAL']['code'],
11493
-                        '推广商贸区商品赠送复购金',
11493
+                        '推广商贸区商品获得复购金',
11494 11494
                         UserSignFugouEnum::ORDER_TYPE['Platform']['code'],
11495 11495
                         $storeOrderEntity->getOrderId()
11496 11496
                     );
@@ -11511,25 +11511,25 @@ class StoreOrderRepository extends BaseRepository
11511 11511
                         UserBillEnum::ORDER_TYPE['SELF_OPERATED']['code'],
11512 11512
                         UserBillEnum::TYPE_SHOP['Platform']['code'],
11513 11513
                         $storeOrderEntity->getOrderId(),
11514
-                        '推广商贸区商品赠送佣金'
11514
+                        '推广商贸区商品获得佣金'
11515 11515
                     );
11516 11516
                     // 初始胡 贡献值
11517 11517
                     $gongxianBySpreadUid = bcmul($storeOrderEntity->getConPri(), CommonEnum::ORDER_EARNING_ALLOCATION['CommercialDistrict']['Spread']['Gongxian']['Ratio']['code'], CommonEnum::DECIMAL_PLACES_OF_THE_AMOUNT);
11518
-                    // 赠送贡献值
11518
+                    // 获得贡献值
11519 11519
                     /** @var UserSignGongxianRepository $userSignGongxianRepository */
11520 11520
                     $userSignGongxianRepository = app()->make(UserSignGongxianRepository::class);
11521 11521
                     $userSignGongxianRepository->addUserSingGongxian(
11522 11522
                         $userEntityBySpreadUid->getUid(),
11523 11523
                         UserSignGongxianEnum::TYPE['Give']['code'],
11524 11524
                         $gongxianBySpreadUid,
11525
-                        '推广商贸区商品赠送贡献值',
11525
+                        '推广商贸区商品获得贡献值',
11526 11526
                         UserSignGongxianEnum::ORDER_TYPE['Platform']['code'],
11527 11527
                         $storeOrderEntity->getOrderId()
11528 11528
                     );
11529 11529
 
11530 11530
                     // 计算积分值
11531 11531
                     $scoreBySpreadUid = bcmul($directReferralBonus, CommonEnum::ORDER_EARNING_ALLOCATION['CommercialDistrict']['Spread']['Score']['Ratio']['code'], CommonEnum::DECIMAL_PLACES_OF_THE_AMOUNT);
11532
-                    // 赠送积分
11532
+                    // 获得积分
11533 11533
                     /** @var UserSignScoreRepository $userSignScoreRepository */
11534 11534
                     $userSignScoreRepository = app()->make(UserSignScoreRepository::class);
11535 11535
                     $userSignScoreRepository->addUserSingScore(
@@ -11537,7 +11537,7 @@ class StoreOrderRepository extends BaseRepository
11537 11537
                         UserSignScoreEnum::SOURCE_TYPE['SelfOrder']['code'],
11538 11538
                         UserSignScoreEnum::PM['Income']['code'],
11539 11539
                         $scoreBySpreadUid,
11540
-                        '推广商贸区商品赠送积分',
11540
+                        '推广商贸区商品获得积分',
11541 11541
                         UserSignHongbaoEnum::ORDER_TYPE['Platform']['code'],
11542 11542
                         $storeOrderEntity->getOrderId()
11543 11543
                     );
@@ -11586,7 +11586,7 @@ class StoreOrderRepository extends BaseRepository
11586 11586
                         UserBillEnum::ORDER_TYPE['SELF_OPERATED']['code'],
11587 11587
                         UserBillEnum::TYPE_SHOP['Platform']['code'],
11588 11588
                         $storeOrderEntity->getOrderId(),
11589
-                        '锁客佣金(精彩生活区商品赠送)'
11589
+                        '锁客佣金(精彩生活区商品获得)'
11590 11590
                     );
11591 11591
 
11592 11592
                     // 计算 复购金
@@ -11599,7 +11599,7 @@ class StoreOrderRepository extends BaseRepository
11599 11599
                         UserSignFugouEnum::TYPE['Give']['code'],
11600 11600
                         $fugouByMerId,
11601 11601
                         UserSignFugouEnum::COMMISSION_TYPE['LOCKED_CUSTOMER']['code'],
11602
-                        '锁客复购金(精彩生活区商品赠送)',
11602
+                        '锁客复购金(精彩生活区商品获得)',
11603 11603
                         UserSignFugouEnum::ORDER_TYPE['Platform']['code'],
11604 11604
                         $storeOrderEntity->getOrderId()
11605 11605
                     );

+ 1 - 1
app/common/repositories/user/UserPvLogRepository.php

@@ -186,7 +186,7 @@ class UserPvLogRepository extends BaseRepository
186 186
                 );
187 187
             }
188 188
 
189
-            if (!empty($updateUserBillEntityList)) {
189
+            if (!empty($updateUserPvLogEntityList)) {
190 190
                 $this->batchUpdateUserPvLogDataByDataList(
191 191
                     array_map(function (UserPvLogEntity $updateUserPvLogEntity) {
192 192
                         return $updateUserPvLogEntity->toUnderlineArray();