|
@@ -61,9 +61,9 @@ class Subscribe extends Base
|
|
|
$cate_one_id = Db::name('goods_cate')->getLastInsID(array('title'=>$v[0]));
|
|
|
$cate_one_id = Db::name('goods_cate')->getLastInsID(array('title'=>$v[1],'level'=>2,'pid'=>$cate_one_id));
|
|
|
}
|
|
|
- echo $cate_two_id;exit();
|
|
|
if(empty($cate_two_id)){
|
|
|
$cate_two_id = Db::name('goods_cate')->getLastInsID(array('title'=>$v[1],'level'=>2,'pid'=>$cate_one_id));
|
|
|
+ var_dump($cate_two_id);exit();
|
|
|
}
|
|
|
$goods_id = Db::name('store_goods')->where('name',$v[4])->value('id');
|
|
|
if(empty($old_cate_one_id) || empty($old_cate_two_id) || empty($goods_id)){
|