es
yangsai@163.com 8 months ago
parent 63ae3b8ae2
commit 17f0da4aa3
  1. 4
      app/common/model/user/BalanceLog.php

@ -12,7 +12,7 @@ declare (strict_types=1);
namespace app\common\model\user; namespace app\common\model\user;
use app\api\model\recharge\Order; use app\api\model\recharge\Order as OrderModel;
use cores\BaseModel; use cores\BaseModel;
use think\model\relation\BelongsTo; use think\model\relation\BelongsTo;
use app\common\enum\user\balanceLog\Scene as SceneEnum; use app\common\enum\user\balanceLog\Scene as SceneEnum;
@ -53,7 +53,7 @@ class BalanceLog extends BaseModel
{ {
$model = new static; $model = new static;
if($scene==10){ if($scene==10){
$REmodel = Order::getPayDetail((string)$data['order_no']); $REmodel = OrderModel::getPayDetail((string)$data['order_no']);
$storeId = 12312; $storeId = 12312;
} }
$model->save(array_merge([ $model->save(array_merge([

Loading…
Cancel
Save