商品添加活动价
This commit is contained in:
parent
0ec22bf2d7
commit
69870c6dd6
@ -671,6 +671,9 @@ class PayNotifyLogic extends BaseLogic
|
||||
//积分写入
|
||||
if (isset($user) && $user['user_ship'] == 0) {
|
||||
UserSignLogic::OrderWrite($order);
|
||||
if (SystemStore::isActivityStore($order['store_id']) && $order['pay_price'] >= 19.9) {
|
||||
User::where('id', $order['uid'])->update(['user_ship' => 43]);
|
||||
}
|
||||
}
|
||||
if ($off_activity == 1) {
|
||||
//-----活动价结算更改
|
||||
|
@ -42,4 +42,10 @@ class SystemStore extends BaseModel
|
||||
Log::error('system_store:'.$e->getMessage());
|
||||
}
|
||||
}
|
||||
|
||||
public static function isActivityStore($storeId)
|
||||
{
|
||||
return in_array($storeId, [5]);
|
||||
}
|
||||
|
||||
}
|
Loading…
x
Reference in New Issue
Block a user