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

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

@@ -817,14 +817,8 @@ class CustomController extends BaseController
             util::fail('没有找到供货商');
         }
         $ghs->home = $home;
-        if ($home == 0) {
-            $ghs->homeAmount = 0;
-        }
         $ghs->save();
         $custom->home = $home;
-        if ($home == 0) {
-            $custom->homeAmount = 0;
-        }
         $custom->save();
         util::complete();
     }