|
@@ -67,7 +67,7 @@ class CmsContentTemplateSetRepository {
|
|
$new_rule[]['rule'] = \GuzzleHttp\json_decode($v['rule'],true);
|
|
$new_rule[]['rule'] = \GuzzleHttp\json_decode($v['rule'],true);
|
|
}
|
|
}
|
|
foreach ($new_rule as $k=>$v){
|
|
foreach ($new_rule as $k=>$v){
|
|
- $rules = json_decode($v['rule'],true);
|
|
|
|
|
|
+ $rules = $v['rule'];
|
|
$show_type = $this->cmsSubject->select('show_type')->where('id', $rules['link_url'])->first();
|
|
$show_type = $this->cmsSubject->select('show_type')->where('id', $rules['link_url'])->first();
|
|
$product = $this->cmsSubjectProduct->where('subject_id', $rules['link_url'])->orderBy('sort', 'asc')->get();
|
|
$product = $this->cmsSubjectProduct->where('subject_id', $rules['link_url'])->orderBy('sort', 'asc')->get();
|
|
$pro_array = $product->toArray();
|
|
$pro_array = $product->toArray();
|