|
|
@@ -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();
|
|
|
}
|
|
|
|
|
|
|