shish il y a 4 ans
Parent
commit
1bec6c0749
1 fichiers modifiés avec 1 ajouts et 1 suppressions
  1. 1 1
      app-hd/controllers/MtController.php

+ 1 - 1
app-hd/controllers/MtController.php

@@ -285,7 +285,7 @@ class MtController extends PublicController
             $hasGoods->price = $goodsPrice;
             $hasGoods->name = $goodsName;
             $hasGoods->cover = $cover;
-            $hasGoods->shopImg = $shopImg;
+            $hasGoods->shopImg = json_encode($shopImg);
             $hasGoods->save();
 
             $transaction->commit();