shish 1 жил өмнө
parent
commit
1959989ef1

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

@@ -47,7 +47,7 @@ class RechargeController extends BaseController
         if (empty($salt) || $hd->salt != $salt) {
         if (empty($salt) || $hd->salt != $salt) {
             util::fail('不是你的花店哦');
             util::fail('不是你的花店哦');
         }
         }
-        $customId = $ghs->customId ?? 0;
+        $customId = $hd->customId ?? 0;
         $custom = CustomClass::getById($customId, true);
         $custom = CustomClass::getById($customId, true);
         if (empty($custom)) {
         if (empty($custom)) {
             util::fail('花店客户缺失');
             util::fail('花店客户缺失');