shish hace 1 año
padre
commit
951c03f0cb

+ 1 - 1
app-hd/controllers/RechargeController.php

@@ -72,7 +72,7 @@ class RechargeController extends BaseController
             $hdId = $custom->hdId;
             $hd = HdClass::getById($hdId, true);
             if (empty($hd)) {
-                util::fail('花店信息缺失');
+                util::fail('花店信息缺失,编号9886');
             }
             $hdName = $hd->name;
             $shopId = $this->shopId;

+ 1 - 1
app-mall/controllers/RechargeController.php

@@ -210,7 +210,7 @@ class RechargeController extends BaseController
         $customName = $custom->name;
         $hd = HdClass::getById($hdId, true);
         if (empty($hd)) {
-            util::fail('花店信息缺失');
+            util::fail('花店信息缺失,编号6663');
         }
         $hdName = $hd->name;
         $capitalType = dict::getDict('capitalType', 'xhRecharge', 'id');

+ 1 - 1
app-mall/controllers/SettleController.php

@@ -69,7 +69,7 @@ class SettleController extends BaseController
         }
         $custom = $this->custom;
         if (empty($custom)) {
-            util::fail('花店信息缺失');
+            util::fail('花店信息缺失,编号88611');
         }
 
         $idList = $post['ids'] ?? '';

+ 1 - 1
biz-hd/custom/classes/CustomClass.php

@@ -103,7 +103,7 @@ class CustomClass extends BaseClass
         $weal = MemberWealClass::getAllByCondition(['mainId' => $mainId], null, '*', 'level');
         $current = $weal[$newLevel] ?? [];
         $before = $weal[$oldLevel] ?? [];
-        $beforeName = $before['name'] ?? '';
+        $beforeName = $before['name'] ?? '普通客户';
         $discount = $current['discount'] ?? 1;
         $memberName = $current['name'] ?? '';
 

+ 1 - 1
biz-hd/recharge/classes/RechargeClass.php

@@ -141,7 +141,7 @@ class RechargeClass extends BaseClass
         $event = $onlinePay == 2 ? '线上充值' : '线下充值';
         //赠送的金额
         if ($addGiveAmount > 0) {
-            $event .= floatval($getBalance) . "(送" . floatval($addGiveAmount) . ")";
+            $event .= floatval($getBalance) . "(送" . floatval($addGiveAmount) . ")";
             $getBalance = bcadd($getBalance, $addGiveAmount, 2);
         }
         $custom->balance = bcadd($custom->balance, $getBalance, 2);