From 372494883079be03b921f6686691271355bfdd14 Mon Sep 17 00:00:00 2001
From: huangsijun <1773182001@qq.com>
Date: Thu, 06 Nov 2025 12:04:52 +0800
Subject: [PATCH] 修改订单保存另外参数 微信支付预下单接口填入的 out_trade_no
---
admin/app/common/model/plus/business/Grade.php | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/admin/app/common/model/plus/business/Grade.php b/admin/app/common/model/plus/business/Grade.php
index 7674e9b..8bd706a 100644
--- a/admin/app/common/model/plus/business/Grade.php
+++ b/admin/app/common/model/plus/business/Grade.php
@@ -25,7 +25,7 @@
*/
public static function detail($grade_id)
{
- return (new static())->find($grade_id);
+ return (new static())->where('grade_id', '=', $grade_id)->find();
}
/**
--
Gitblit v1.9.2