es
yangsai@163.com 7 months ago
parent c1823ecf2b
commit f5ef15a867
  1. 5
      app/common/model/user/BalanceLog.php

@ -52,9 +52,10 @@ 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 = Order::getPayDetail($data['order_no']);
$storeId = $REmodel['store_id'];
$REmodel = $REmodel->getPayDetail($data['order_no']);
$storeId = 12312;
}
$model->save(array_merge([
'scene' => $scene,

Loading…
Cancel
Save