Browse Source

会员升级

Kirin 7 months ago
parent
commit
d573251639

+ 1 - 1
app/services/user/AwardIntegralServices.php

@@ -304,7 +304,7 @@ class AwardIntegralServices extends BaseServices
         $user = $userService->getUserInfo($uid);
         $reorder_set = sys_config('reorder_times', 2);
         $to_integral = sys_config('shop_integral_ratio');
-        $mark = '用户参考分' . $system ? '出局' : '提取' . $num;
+        $mark = '用户参考分' . ($system ? '出局' : '提取') . $num;
         $to_integral = bcdiv(bcmul((string)$num, (string)$to_integral), '100', 2);
         if ($to_integral > 0) {
             $balance = bcadd((string)$user['integral'], (string)$to_integral, 2);

+ 1 - 1
app/services/user/UserBrokerageServices.php

@@ -104,7 +104,7 @@ class UserBrokerageServices extends BaseServices
             'pm' => 1
         ],
         'extract_integral_new' => [
-            'title' => '贡献分能量',
+            'title' => '贡献分佣金',
             'type' => 'activity_brokerage',
             'mark' => '{%mark%},获得佣金{%number%}元',
             'status' => 1,