Merge branch 'dev' of https://gitea.lihaink.cn/mkm/multi-store into dev
This commit is contained in:
commit
ea8ed066e4
@ -90,7 +90,7 @@ class UserLogic extends BaseLogic
|
||||
'password' => $password,
|
||||
'mobile' => $params['mobile'],
|
||||
'label_id' => $params['label_id']??0,
|
||||
|
||||
'store_id' => $params['store_id']??0,
|
||||
];
|
||||
$res=User::create($data);
|
||||
UserCreateLog::create([
|
||||
|
@ -775,7 +775,7 @@ class PayNotifyLogic extends BaseLogic
|
||||
$financeLogic->in($transaction_id, $order['pay_price'], OrderEnum::SUPPLIER_ORDER_OBTAINS, $order['store_id'], 0, 0, $order['pay_type']);
|
||||
$financeLogic->out($transaction_id, $order['pay_price'], OrderEnum::SUPPLIER_ORDER_OBTAINS, $order['store_id'], $order['staff_id'], 0, $order['pay_type']);
|
||||
$financeLogic->save();
|
||||
if ($order['uid'] > 0 && $order['total_price'] >= 500) {
|
||||
if ($order['uid'] > 0 && $order['total_price'] >= 500 && $order['pay_type'] !=PayEnum::PURCHASE_FUNDS) {
|
||||
$user_number = bcmul($order['pay_price'], '0.10', 2);
|
||||
$sing = [
|
||||
'uid' => $order['uid'],
|
||||
@ -801,7 +801,7 @@ class PayNotifyLogic extends BaseLogic
|
||||
$order['pay_price'] = bcsub($order['pay_price'], $vipFrozenAmount, 2);
|
||||
self::dealVipAmount($order, $order['pay_type']);
|
||||
}
|
||||
if ($order['total_price'] >= 500) {
|
||||
if($order['total_price'] >= 500 && $order['pay_type'] !=PayEnum::PURCHASE_FUNDS){
|
||||
$user_number = bcmul($order['pay_price'], '0.10', 2);
|
||||
$sing = [
|
||||
'uid' => $order['uid'],
|
||||
|
@ -22,7 +22,7 @@ class UserLists extends BaseAdminDataLists implements ListsSearchInterface
|
||||
public function setSearch(): array
|
||||
{
|
||||
return [
|
||||
'=' => ['id','user_ship'],
|
||||
'=' => ['id','user_ship','store_id'],
|
||||
'%like%' => ['mobile'],
|
||||
];
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user