feat: 移除用户船只验证条件
This commit is contained in:
parent
9eec5a198d
commit
95ba546859
@ -552,11 +552,7 @@ class OrderLogic extends BaseLogic
|
||||
$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);
|
||||
//积分结算
|
||||
$user_ship=-1;
|
||||
if($order['uid']){
|
||||
$user_ship=User::where('id',$order['uid'])->value('user_ship');
|
||||
}
|
||||
if($order['is_storage']==0&&$order['source']==0&&in_array($user_ship,[0,4])){
|
||||
if($order['is_storage']==0&&$order['source']==0){
|
||||
UserSignLogic::WriteOff($order);
|
||||
}
|
||||
Db::commit();
|
||||
|
Loading…
x
Reference in New Issue
Block a user