Kirin 4 anni fa
parent
commit
befe6f9d5f
1 ha cambiato i file con 1 aggiunte e 1 eliminazioni
  1. 1 1
      app/models/store/StoreOrder.php

+ 1 - 1
app/models/store/StoreOrder.php

@@ -891,7 +891,7 @@ class StoreOrder extends BaseModel
      */
      */
     public static function getUserOrderDetail($uid, $key)
     public static function getUserOrderDetail($uid, $key)
     {
     {
-        return self::with(['store', 'point'])->where('order_id|unique', $key)->where('uid', $uid)->where('is_del', 0)->find();
+        return self::with(['store', 'point'])->where('order_id|unique', $key)->where('uid|gift_uid', $uid)->where('is_del', 0)->find();
     }
     }