萤火科技 1 anno fa
parent
commit
94a66a8539
2 ha cambiato i file con 0 aggiunte e 3 eliminazioni
  1. 0 2
      app/common/model/Order.php
  2. 0 1
      app/common/model/UserCoupon.php

+ 0 - 2
app/common/model/Order.php

@@ -318,7 +318,6 @@ class Order extends BaseModel
      */
     public static function updateOrderSourceId(int $orderId, int $soureId): bool
     {
-        // updateOne
         return static::updateBase(['order_source_id' => $soureId], $orderId);
     }
 
@@ -330,7 +329,6 @@ class Order extends BaseModel
      */
     public static function updateSyncWeixinShipping(int $orderId, bool $status): bool
     {
-        // updateOne
         return static::updateBase(['sync_weixin_shipping' => (int)$status], $orderId);
     }
 }

+ 0 - 1
app/common/model/UserCoupon.php

@@ -147,7 +147,6 @@ class UserCoupon extends BaseModel
      */
     public static function setIsUse(int $userCouponId, bool $isUse = true): bool
     {
-        // updateOne
         return static::updateBase(['is_use' => (int)$isUse], $userCouponId);
     }