diff --git a/app/common/model/user/BalanceLog.php b/app/common/model/user/BalanceLog.php index 846d6767..6b1f3acb 100644 --- a/app/common/model/user/BalanceLog.php +++ b/app/common/model/user/BalanceLog.php @@ -52,11 +52,11 @@ class BalanceLog extends BaseModel public static function add(int $scene, array $data, array $describeParam, ?int $storeId = null) { $model = new static; - $REmodel = new Order; - if(empty($storeId)&&$scene==10){ - $REmodel = $REmodel->getPayDetail($data['order_no']); - $storeId = 12312; - } +// $REmodel = new Order; +// if(empty($storeId)&&$scene==10){ +// $REmodel = $REmodel->getPayDetail($data['order_no']); +// $storeId = 12312; +// } $model->save(array_merge([ 'scene' => $scene, 'describe' => vsprintf(SceneEnum::data()[$scene]['describe'], $describeParam),