sync.php 1.2 KB

12345678910111213141516171819202122232425
  1. <?php
  2. return [
  3. 'order_tracking_import' => [
  4. 'interval' => 1, // 时间以分为单位
  5. 'start_at'=> '', // 开始同步WMS的时间 时间格式: yyyy-MM-dd HH:mm:ss 如 2020-09-05 13:15:16
  6. ],
  7. 'asn_sync' => [
  8. 'interval' => 1, // 时间以分为单位
  9. 'start_at'=> '', // 开始同步WMS的时间 时间格式: yyyy-MM-dd HH:mm:ss 如 2020-09-05 13:15:16
  10. ],
  11. 'order_sync' => [
  12. 'interval' => 1, // 时间以分为单位
  13. 'start_at'=> '', // 开始同步WMS的时间 时间格式: yyyy-MM-dd HH:mm:ss 如 2020-09-05 13:15:16
  14. 'cache_prefix' => [
  15. 'newest' =>'order_newest_',
  16. 'renewal' =>'order_renewal_',
  17. 'newest_has' => 'order_newest_has_set', // 创建标记
  18. 'renewal_has' => 'order_renewal_has_set', // 跟新标记
  19. 'created_at' => 'order_last_created_sync_at', // 最后创建时间
  20. 'updated_at' => 'order_last_updated_sync_at', // 最后更新时间
  21. 'newest_list' => 'order_newest_cache_keys', // 新增保存记录
  22. 'renewal_list' => 'order_renewal_cache_keys' // 创建保存记录
  23. ]
  24. ]
  25. ];