...
|
...
|
@@ -142,7 +142,7 @@ class SalesmanController extends AdminBaseController{ |
|
|
$this -> error('佣金不能大于售价');
|
|
|
}
|
|
|
$goods_data = Db::name('goods') -> where('uid',$_POST['uid']) -> select() -> toArray();
|
|
|
if(count($goods_data) >= 8){
|
|
|
if(count($goods_data) >= 16){
|
|
|
$this -> error('添加失败');
|
|
|
}else{
|
|
|
if(!empty($_POST['det_img'])){
|
...
|
...
|
|