sync_sent.php 803 B

1234567891011121314151617181920212223242526272829303132333435363738394041424344
  1. <?php
  2. //header('Content-type: application/json; charset=utf8');
  3. require_once "../path.php";
  4. require_once "../sync/function.php";
  5. $input = (object) [
  6. "database" => _FILE_DB_SENTENCE_,
  7. "table" => "sent_block",
  8. "uuid" => "id",
  9. "modify_time" => "modify_time",
  10. "receive_time" => "receive_time",
  11. "insert" => [
  12. "id",
  13. "block_id",
  14. "book",
  15. "paragraph",
  16. "begin",
  17. "end",
  18. "tag",
  19. "author",
  20. "editor",
  21. "text",
  22. "language",
  23. "ver",
  24. "status",
  25. "modify_time",
  26. "receive_time"
  27. ],
  28. "update" => [
  29. "tag",
  30. "author",
  31. "editor",
  32. "text",
  33. "language",
  34. "ver",
  35. "status",
  36. "receive_time"
  37. ]
  38. ];
  39. do_sync($input);
  40. ?>