From d8f5771dcbbcdd38e08bb3349de8a65c7a3bbb0a Mon Sep 17 00:00:00 2001 From: wong <106998207@qq.com> Date: Tue, 30 Sep 2025 10:47:14 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BB=A3=E7=A0=81=E6=8F=90=E4=BA=A4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Server/application/common/controller/PaymentService.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Server/application/common/controller/PaymentService.php b/Server/application/common/controller/PaymentService.php index 3de0f979..e6fead6b 100644 --- a/Server/application/common/controller/PaymentService.php +++ b/Server/application/common/controller/PaymentService.php @@ -241,7 +241,7 @@ class PaymentService case 1: // 处理购买算力 $token = TokensCompany::where(['companyId' => $order->companyId])->find(); - $goodsSpecs = json_decode($token->goodsSpecs,true); + $goodsSpecs = json_decode($order->goodsSpecs,true); if (!empty($token)){ $token->tokens = $token->tokens + $goodsSpecs['tokens']; $token->updateTime = time();