duqinya преди 6 години
родител
ревизия
6fc18717a8
променени са 2 файла, в които са добавени 2 реда и са изтрити 2 реда
  1. 1 1
      app/Repositories/ConfigPickupGroupRepository.php
  2. 1 1
      app/Repositories/ConfigPickupNodeRepository.php

+ 1 - 1
app/Repositories/ConfigPickupGroupRepository.php

@@ -25,7 +25,7 @@ class ConfigPickupGroupRepository {
     }
 
     /**
-     * 添加自提点
+     * 添加自提点分组
      */
     public function create($request)
     {

+ 1 - 1
app/Repositories/ConfigPickupNodeRepository.php

@@ -52,7 +52,7 @@ class ConfigPickupNodeRepository {
             'status' => 1
         ];
 
-        if (!$this->configPickupNode->insert($data)) {
+        if (!$this->configPickupNode->create($data)) {
             throw new HttpException(500, '添加失败');
         }
     }