...
|
...
|
@@ -18,7 +18,6 @@ class IndexController extends WeChatBaseController |
|
|
* 显示首页
|
|
|
*/
|
|
|
public function index(){
|
|
|
|
|
|
//显示分类
|
|
|
$data_classif= Db::name('classification') -> select();
|
|
|
$this -> assign('data_classif',$data_classif);
|
...
|
...
|
@@ -139,8 +138,6 @@ class IndexController extends WeChatBaseController |
|
|
$data_goods = Db::name('goods') -> where('uid',$salesman_id['uid']) -> where('is_out',1) -> order("sort desc") -> limit(6) -> select() -> toArray();
|
|
|
}
|
|
|
}
|
|
|
|
|
|
|
|
|
}
|
|
|
}else{
|
|
|
$data_id = $this -> request -> param();
|
...
|
...
|
@@ -190,7 +187,6 @@ class IndexController extends WeChatBaseController |
|
|
$data_inser['is_pro'] = 0;
|
|
|
Db::name('my_user') -> insert($data_inser);
|
|
|
}
|
|
|
|
|
|
}
|
|
|
if(empty($data_goods)) {
|
|
|
$data_goods = null;
|
...
|
...
|
|