shish 4 лет назад
Родитель
Сommit
99ba9bdebe

+ 2 - 2
app-ghs/controllers/ShopExtController.php

@@ -52,8 +52,8 @@ class ShopExtController extends BaseController
             $labelPrint = new printUtil($printLabelSn);
             $return = $labelPrint->addPrint($printLabelKey, $name);
             if ($return) {
-                $ext->printSn = $printLabelSn;
-                $ext->printKey = $printLabelKey;
+                $ext->printLabelSn = $printLabelSn;
+                $ext->printLabelKey = $printLabelKey;
                 $ext->save();
             }
         } else {

+ 2 - 2
app-hd/controllers/ShopExtController.php

@@ -79,8 +79,8 @@ class ShopExtController extends BaseController
             $labelPrint = new printUtil($printLabelSn);
             $return = $labelPrint->addPrint($printLabelKey, $name);
             if ($return) {
-                $ext->printSn = $printLabelSn;
-                $ext->printKey = $printLabelKey;
+                $ext->printLabelSn = $printLabelSn;
+                $ext->printLabelKey = $printLabelKey;
                 $ext->save();
             }
         } else {