|
|
@ -52,7 +52,7 @@ class BalanceLog extends BaseModel |
|
|
|
public static function add(int $scene, array $data, array $describeParam, ?int $storeId = null) |
|
|
|
public static function add(int $scene, array $data, array $describeParam, ?int $storeId = null) |
|
|
|
{ |
|
|
|
{ |
|
|
|
$model = new static; |
|
|
|
$model = new static; |
|
|
|
if(empty($storeId)){ |
|
|
|
if(empty($storeId)&&$scene=10){ |
|
|
|
$REmodel = Order::getPayDetail($data['order_no']); |
|
|
|
$REmodel = Order::getPayDetail($data['order_no']); |
|
|
|
$storeId = $REmodel['store_id']; |
|
|
|
$storeId = $REmodel['store_id']; |
|
|
|
} |
|
|
|
} |
|
|
|