From c1823ecf2bd0ece0a305fb8a80da9b50567869ff Mon Sep 17 00:00:00 2001 From: "yangsai@163.com" <2624183217@qq.com> Date: Tue, 14 May 2024 17:34:00 +0800 Subject: [PATCH] =?UTF-8?q?YS:=E5=85=85=E5=80=BC?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/common/model/user/BalanceLog.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/common/model/user/BalanceLog.php b/app/common/model/user/BalanceLog.php index fa992bd7..9e62cc24 100644 --- a/app/common/model/user/BalanceLog.php +++ b/app/common/model/user/BalanceLog.php @@ -52,7 +52,7 @@ class BalanceLog extends BaseModel public static function add(int $scene, array $data, array $describeParam, ?int $storeId = null) { $model = new static; - if(empty($storeId)){ + if(empty($storeId)&&$scene=10){ $REmodel = Order::getPayDetail($data['order_no']); $storeId = $REmodel['store_id']; }