代码提交

This commit is contained in:
wong
2025-09-30 10:47:14 +08:00
parent 5313bc6a18
commit d8f5771dcb

View File

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