table_sentence.php 794 B

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253
  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" => "sentence",
  8. "uuid" => "id",
  9. "modify_time" => "modify_time",
  10. "receive_time" => "modify_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. 'channal',
  26. 'parent',
  27. 'strlen',
  28. 'create_time',
  29. 'modify_time',
  30. 'receive_time'
  31. ],
  32. "update" => [
  33. 'block_id',
  34. 'tag',
  35. 'author',
  36. 'editor',
  37. 'text',
  38. 'language',
  39. 'ver',
  40. 'status',
  41. 'channal',
  42. 'parent',
  43. 'strlen',
  44. 'modify_time',
  45. 'receive_time'
  46. ]
  47. ];
  48. do_sync($input);
  49. ?>