0
This commit is contained in:
parent
f4ac4a7502
commit
502dc6bb70
@ -98,6 +98,7 @@ TXT;
|
||||
$time = time();
|
||||
$LOG .= "=============开始循环=============".PHP_EOL;
|
||||
foreach ($list as &$v) {
|
||||
if ($v['userId'] == 0) continue;
|
||||
$LOG .= "===========当前用户#【{$v['userId']}】==========".PHP_EOL;
|
||||
$LOG .= "当前用户预获优惠券:{$v['expectedCouponsNum']};预获产品券:{$v['expectedProductNum']}".PHP_EOL;
|
||||
unset($data);
|
||||
@ -198,6 +199,7 @@ TXT;
|
||||
$data = Db::name('user_vouchers_summary')->whereOr(["helpSaleNum"=>["lt", 0]])->whereOr(["expectedProductNum"=>["lt", 0]])->select();
|
||||
$LOG .= "=============开始循环=============".PHP_EOL;
|
||||
foreach ($data as $_each){
|
||||
if ($_each['userId'] == 0) continue;
|
||||
$LOG .= "===========当前用户#【{$_each['userId']}】==========".PHP_EOL;
|
||||
$LOG .= "当前用户预获优惠券:{$_each['expectedCouponsNum']};预获产品券:{$_each['expectedProductNum']};助购券值:{$_each["helpSaleNum"]}".PHP_EOL;
|
||||
if($_each["expectedProductNum"]<0){
|
||||
|
Loading…
x
Reference in New Issue
Block a user