shish 2 лет назад
Родитель
Сommit
59b27bb302
1 измененных файлов с 0 добавлено и 6 удалено
  1. 0 6
      app-ghs/controllers/TestController.php

+ 0 - 6
app-ghs/controllers/TestController.php

@@ -42,17 +42,11 @@ class TestController extends BaseController
             echo '没有找到客户';
             die;
         }
-        $ghsId = $custom->ghsId ?? 0;
-        $ghs = GhsClass::getById($ghsId, true);
-        $ghsShopId = $ghs->shopId ?? 0;
-        $shop = ShopClass::getById($ghsShopId, true);
-        $mainId = $shop->mainId ?? 0;
         $flag = [];
         $changeList = CustomDebtChangeClass::getAllByCondition(['customId' => $customId], null, '*');
         if (!empty($changeList)) {
             foreach ($changeList as $change) {
                 $event = $change['evnet'] ?? '';
-                $capitalType = $change['capitalType'] ?? 0;
                 $relateId = $change['relateId'] ?? 0;
                 $amount = $change['amount'] ?? 0;