瀏覽代碼

no message

durong 5 年之前
父節點
當前提交
6f7411f841
共有 1 個文件被更改,包括 2 次插入2 次删除
  1. 2 2
      app/Repositories/V2/CmsContentTemplateSetRepository.php

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

@@ -31,8 +31,8 @@ class CmsContentTemplateSetRepository {
         }
         if ($type == 1) {
             $subject_id_array = json_decode($request['old_rule'], true);
-            Log::debug($request['old_rule']);
-            Log::debug($request['rule']);
+            Log::debug($subject_id_array['link_type']);
+            Log::debug($request['rule']['link_type']);
             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']);