durong лет назад: 5
Родитель
Сommit
f657000381
1 измененных файлов с 4 добавлено и 2 удалено
  1. 4 2
      app/Repositories/V2/CmsContentTemplateSetRepository.php

+ 4 - 2
app/Repositories/V2/CmsContentTemplateSetRepository.php

@@ -31,8 +31,10 @@ class CmsContentTemplateSetRepository {
         }
         if ($type == 1) {
             $subject_id_array = json_decode($request['old_rule'], true);
-            Log::debug($subject_id_array['link_type']);
-            Log::debug($request['rule']['link_type']);
+            Log::debug('old_link_type'.$subject_id_array['link_type']);
+            Log::debug('old_link_url'.$subject_id_array['link_url']);
+            Log::debug('new_link_type'.$request['rule']['link_type']);
+            Log::debug('new_link_url'.$request['rule']['link_url']);
             if ($subject_id_array['link_type'] == 1 && $request['rule']['link_type'] == 1) {//链接方式都为专题
                 if ($subject_id_array['link_url'] != $request['rule']['link_url']) {
                     Log::debug('111'.$request['rule']['link_url']);