作者 刘朕
1 个管道 的构建 通过 耗费 0 秒

合并分支 'liuzhen' 到 'master'

取消业务员添加商品数量限制



查看合并请求 !152
... ... @@ -102,10 +102,10 @@ class SalesmangoodsController extends WeChatBaseController{
if($this -> request -> isPost()){
$uid = cmf_get_current_user_id();
$salesman_goods = Db::name('goods') -> where("uid=".$uid." and type = 2") -> select();
if(count($salesman_goods)>=16){
return 3;
}
// $salesman_goods = Db::name('goods') -> where("uid=".$uid." and type = 2") -> select();
// if(count($salesman_goods)>=16){
// return 3;
// }
if($_POST['money']>$_POST['price']){
return 2;
}
... ...