Ver código fonte

一些功能

Kirin 4 anos atrás
pai
commit
befe6f9d5f
1 arquivos alterados com 1 adições e 1 exclusões
  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)
     {
-        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();
     }