Explorar o código

API-下单-如果养老金单独设置开关开启,则养老金采用针对下单的商品规格单独设置的值pension进行分配养老金

sunxiaobiao hai 5 meses
pai
achega
ee08654873

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

@@ -12349,7 +12349,8 @@ class StoreOrderRepository extends BaseRepository
12349
     public function cancellation(UserEntity $userEntity, StoreOrderEntity $storeOrderEntity, FzonePayTypeEntity $fzonePayTypeEntity): bool
12349
     public function cancellation(UserEntity $userEntity, StoreOrderEntity $storeOrderEntity, FzonePayTypeEntity $fzonePayTypeEntity): bool
12350
     {
12350
     {
12351
         if (empty($userEntity->getUid())) {
12351
         if (empty($userEntity->getUid())) {
12352
-            throw new ValidateException('未查询到用户信息');
12352
+            return true;
12353
+            // throw new ValidateException('未查询到用户信息');
12353
         }
12354
         }
12354
 
12355
 
12355
         if (empty($storeOrderEntity->getOrderId())) {
12356
         if (empty($storeOrderEntity->getOrderId())) {