代码提交
This commit is contained in:
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user