Просмотр исходного кода

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

sunxiaobiao месяцев назад: 5
Родитель
Сommit
ee08654873
1 измененных файлов с 2 добавлено и 1 удалено
  1. 2 1
      app/common/repositories/store/order/StoreOrderRepository.php

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

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