正在显示
1 个修改的文件
包含
4 行增加
和
4 行删除
@@ -102,10 +102,10 @@ class SalesmangoodsController extends WeChatBaseController{ | @@ -102,10 +102,10 @@ class SalesmangoodsController extends WeChatBaseController{ | ||
102 | 102 | ||
103 | if($this -> request -> isPost()){ | 103 | if($this -> request -> isPost()){ |
104 | $uid = cmf_get_current_user_id(); | 104 | $uid = cmf_get_current_user_id(); |
105 | - $salesman_goods = Db::name('goods') -> where("uid=".$uid." and type = 2") -> select(); | ||
106 | - if(count($salesman_goods)>=16){ | ||
107 | - return 3; | ||
108 | - } | 105 | +// $salesman_goods = Db::name('goods') -> where("uid=".$uid." and type = 2") -> select(); |
106 | +// if(count($salesman_goods)>=16){ | ||
107 | +// return 3; | ||
108 | +// } | ||
109 | if($_POST['money']>$_POST['price']){ | 109 | if($_POST['money']>$_POST['price']){ |
110 | return 2; | 110 | return 2; |
111 | } | 111 | } |
-
请 注册 或 登录 后发表评论