feat: 修改订单积分结算条件
This commit is contained in:
parent
83fce9e9dd
commit
5522ebc920
@ -531,7 +531,7 @@ class OrderLogic extends BaseLogic
|
|||||||
$money = $financeFlow->where(['order_id' => $order['id'], 'financial_pm' => 1, 'financial_type' => 2])->value('number') ?? 0;
|
$money = $financeFlow->where(['order_id' => $order['id'], 'financial_pm' => 1, 'financial_type' => 2])->value('number') ?? 0;
|
||||||
$financeFlowLogic->updateStatusStore($order['id'], $order['store_id'], $money, $deposit);
|
$financeFlowLogic->updateStatusStore($order['id'], $order['store_id'], $money, $deposit);
|
||||||
//积分结算
|
//积分结算
|
||||||
if($order['is_storage']==0&&$order['source']==1){
|
if($order['is_storage']==0&&$order['source']==0){
|
||||||
UserSignLogic::WriteOff($order);
|
UserSignLogic::WriteOff($order);
|
||||||
}
|
}
|
||||||
Db::commit();
|
Db::commit();
|
||||||
|
Loading…
x
Reference in New Issue
Block a user