修复分类
This commit is contained in:
parent
037623ce77
commit
22b49c7208
@ -2574,9 +2574,9 @@ class StoreOrderRepository extends BaseRepository
|
|||||||
$detail = $attr;
|
$detail = $attr;
|
||||||
|
|
||||||
/**查询平台分类 */
|
/**查询平台分类 */
|
||||||
$cate_id_one = Db::name('store_category')->where('mer_id', 0)->where('cate_name', $datum['value']['cate_id_one'])->value('store_category_id');
|
$cate_id_one = Db::name('store_category')->where('is_show',1)->where('mer_id', 0)->where('cate_name', $datum['value']['cate_id_one'])->value('store_category_id');
|
||||||
if ($cate_id_one) {
|
if ($cate_id_one) {
|
||||||
$cate_id_two = Db::name('store_category')->where('mer_id', 0)->where('cate_name', $datum['value']['cate_id_two'])->value('store_category_id');
|
$cate_id_two = Db::name('store_category')->where('is_show',1)->where('mer_id', 0)->where('pid',$cate_id_one)->where('cate_name', $datum['value']['cate_id_two'])->value('store_category_id');
|
||||||
if ($cate_id_two) {
|
if ($cate_id_two) {
|
||||||
$cate_id = $cate_id_two;
|
$cate_id = $cate_id_two;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user