diff --git a/src/Extend/StoreExtend.php b/src/Extend/StoreExtend.php index 1dc0e0c..cf5dfb0 100644 --- a/src/Extend/StoreExtend.php +++ b/src/Extend/StoreExtend.php @@ -46,7 +46,7 @@ public function onEnable(Container $container, Extension $extension) 'code' => $commodity->code, 'name' => $commodity->name, 'uri' => $commodity->uri, - 'pop_up' => $commodity->popUp, + 'pop_up' => json_encode($commodity->popUp), 'create_time' => Date("Y-m-d H:i:s") ]); }