Sfoglia il codice sorgente

临时 只同步一个人的逐词译数据

visuddhinanda 4 anni fa
parent
commit
c5e0c71731
2 ha cambiato i file con 2 aggiunte e 2 eliminazioni
  1. 1 1
      app/sync/table_wbw.php
  2. 1 1
      app/sync/table_wbw_block.php

+ 1 - 1
app/sync/table_wbw.php

@@ -10,7 +10,7 @@ $input = (object) [
     "sync_id" =>  ["block_id","wid"],
     "modify_time" =>  "modify_time",
     "receive_time" =>  "receive_time",
-	"where"=>" ",
+	"where"=>" and owner = 'C1AB2ABF-EAA8-4EEF-B4D9-3854321852B4' ",
     "insert" => [
         'id',
 		'block_id',

+ 1 - 1
app/sync/table_wbw_block.php

@@ -11,7 +11,7 @@ $input = (object) [
     "sync_id" =>  ["id"],
     "modify_time" =>  "modify_time",
     "receive_time" =>  "receive_time",
-	"where"=>" and ( (channal IS NOT NULL) or channal <> '') ",
+	"where"=>" and ( (channal IS NOT NULL) or channal <> '')  and owner = 'C1AB2ABF-EAA8-4EEF-B4D9-3854321852B4'  ",
     "insert" => [
         'id',
 		'parent_id',