shish преди 1 година
родител
ревизия
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();
     }