You've already forked qlg.tsgz.moe
修改
This commit is contained in:
@ -103,15 +103,8 @@ class Carts extends CCarts{
|
||||
$tm = Model('common/Table');
|
||||
$tm->setTable('shops');
|
||||
//换算为3级循环等级
|
||||
if(0 == $rs['shopLevel']){
|
||||
$maxSaleMoney = dataConf('helpLevel0MaxSaleMoney');
|
||||
}else{
|
||||
//$nowLevel = $rs['shopLevel'] % 3;
|
||||
$tm->setTable('users');
|
||||
//最大可销售金额
|
||||
$maxSaleMoney = $tm->getField(['userId'=>$rs['shopUserId']],'helpMaxSaleMoney');
|
||||
}
|
||||
|
||||
//助微吧限销售额为≥?元 9900 。 提示:具体功能没实现,合并原“初始”、“一级”、“二级”、“三级”4项 @ 2020/09/19
|
||||
$maxSaleMoney = dataConf('helpLevel0MaxSaleMoney');
|
||||
$tm->setTable('shops');
|
||||
//当前销售值
|
||||
$nowSaleMoney = $tm->getSum(['userId'=>$rs['shopUserId']],'helpSaleMoney');
|
||||
|
Reference in New Issue
Block a user