Przeglądaj źródła

客户端-下单-修改没有分享人报错问题

sunxbiao 11 miesięcy temu
rodzic
commit
ccb8d55fa5

+ 2 - 1
app/common/repositories/store/order/StoreOrderRepository.php

@@ -12058,7 +12058,8 @@ class StoreOrderRepository extends BaseRepository
12058 12058
         }
12059 12059
 
12060 12060
         /** 验证分享信息 分享 */
12061
-        $shareEntity = [];
12061
+        /** @var ShareEntity $shareEntity */
12062
+        $shareEntity = ShareEntity::newInstance();
12062 12063
         if (!empty($storeOrderCreateRequestEntity->getShareId())) {
12063 12064
             /** @var ShareRepository $shareRepository */
12064 12065
             $shareRepository = app()->make(ShareRepository::class);