5
This commit is contained in:
parent
72d0ec0bbf
commit
6b848dced3
@ -115,7 +115,7 @@ class Carts extends CCarts{
|
||||
$tm->setTable('shops');
|
||||
//当前销售值
|
||||
$nowSaleMoney = $tm->getSum(['userId'=>$rs['shopUserId']],'helpSaleMoney');
|
||||
if(($nowSaleMoney+$rs['shopPrice']) > $maxSaleMoney ){
|
||||
if($nowSaleMoney > $maxSaleMoney ){
|
||||
exit(jsonReturn('当前助微吧商户可销售额不足!',-1));
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user