命令.txt 4.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157
  1. 省份
  2. php think crud -t p_province -c general/province -u 1 --force=true
  3. 自己公司
  4. php think crud -t p_company -c pig/company -u 1 --force=true --relation=province --relationforeignkey=province_id
  5. 客户公司
  6. php think crud -t p_company -c pig/customer -u 1 --force=true --relation=province --relationforeignkey=province_id
  7. 供应商公司
  8. php think crud -t p_company -c pig/supplier -u 1 --force=true --relation=province --relationforeignkey=province_id
  9. 订单
  10. php think crud -t p_order -c pig/order -u 1 --force=true --relationmodel=general/province --relationforeignkey=supplier_id --relationforeignkey=customer_id --relation=p_province --relationforeignkey=province_id
  11. code
  12. php think crud -t p_code -c pig/code -u 1 --force=true
  13. code order
  14. php think crud -t p_code_order -c pig/codeorder -u 1 --force=true
  15. code create
  16. php think crud -t p_code_order -c pig/codecreate -u 1 --force=true
  17. 压缩
  18. css
  19. uglifycss animate.css iconfont.css index.css reset.css swiper.min.css > all.min.css
  20. js
  21. #uglifyjs base.js checkurl.js common.js flexible.js hm.js jquery-1.8.3.min.js swiper.min.js > all.min.js
  22. uglifyjs base.js checkurl.js common.js flexible.js jquery-1.8.3.min.js swiper.min.js > all.min.js
  23. 淘宝店铺 shop
  24. php think crud -t shop -c shop/shop -u 1
  25. 淘宝店铺列表
  26. php think crud -t shop -c shop/shoplist -u 1 --force=true --force=true --relation=admin --relationforeignkey=admin_id
  27. PDD账户
  28. php think crud -t shop_pdd -c shop/shoppdd -u 1
  29. 店铺订单
  30. php think crud -t shop_order -c shop/shoporder -u 1 --force=true
  31. 店铺订单(全量)
  32. php think crud -t shop_order_all -c shop/shoporderall -u 1 --force=true
  33. 物流处理
  34. php think crud -t shop_order -c express/shoporder -u 1 --force=true
  35. 同步订单管理
  36. php think crud -t shop_order -c sync/shoporder -u 1 --force=true
  37. 店铺费用订单
  38. php think crud -t order -c shop/order -u 1 --force=true
  39. 店铺供应商查看商品
  40. php think crud -t goods -c shop/goods -u 1
  41. php think crud -t goods -c shop/goods -u 1 --relation=specs --relationforeignkey=specs_id --relationmodel=supplier/specs --force=true
  42. 店铺供应商下单
  43. php think crud -t goods_order -c shop/goodsorder -u 1 --force=true
  44. pdd 地址
  45. php think crud -t pdd_address -c shop/pddaddres -u 1
  46. 商品快捷链接
  47. php think crud -t taobao_product -c shop/product -u 1 --force=true
  48. 供应商-----------------------------------------------------------------------------------------------------
  49. 供应商货源 supplier
  50. php think crud -t goods -c supplier/goods -u 1 --relation=specs --relationforeignkey=specs_id --relationmodel=supplier/specs --force=true
  51. 供应商订单
  52. php think crud -t goods_order -c supplier/goodsorder -u 1 --force=true
  53. 供应商货源分类
  54. php think crud -t classs -c supplier/classs -u 1
  55. 供应商货源规格
  56. php think crud -t specs -c supplier/specs -u 1
  57. 覆盖
  58. --force=true
  59. 报错
  60. php think crud -t error -c auth/error -u 1 --relation=admin --relationforeignkey=admin_id --relationmode=shop/shop --relationforeignkey=shop_id --force=true
  61. 交易记录
  62. php think crud -t admin_money_log -c auth/moneylog -u 1 --force=true --relation=admin --relationforeignkey=admin_id
  63. 统计
  64. php think crud -t statistics -c general/statistics -u 1 --relation=admin --relationforeignkey=admin_id --force=true
  65. js
  66. //刷新表格
  67. $("#table").bootstrapTable('refresh');
  68. //获取当前数据
  69. $("#table").bootstrapTable('getData');
  70. #新系统需要清空的数据
  71. TRUNCATE TABLE `tb_admin_log`;
  72. TRUNCATE TABLE `tb_crontab_log`;
  73. TRUNCATE TABLE `tb_goods_order`;
  74. TRUNCATE TABLE `tb_order`;
  75. TRUNCATE TABLE `tb_shop_order`;
  76. TRUNCATE TABLE `tb_shop_pdd`;
  77. TRUNCATE TABLE `tb_taobao_product`;
  78. TRUNCATE TABLE `tb_webmsg`;
  79. TRUNCATE TABLE `tb_shop`;
  80. #TRUNCATE TABLE `tb_goods`;
  81. #TRUNCATE TABLE `tb_classs`;
  82. #TRUNCATE TABLE `tb_specs`;
  83. 一键轮询策略以及步骤
  84. 1、登录第一个店铺
  85. 2、开始同步店铺 当前时间之前的“12小时-- 48小时”可发货订单
  86. 3、开始发当前店铺可发货的订单
  87. 4、登录下一个店铺
  88. 5、进行 2、3 步骤操作
  89. 6、登录最后一个店铺完成2、3步操作,重复进行1-6步骤
  90. 中断轮询事件:
  91. 一、淘宝店铺登录
  92. 1、登录滑动条
  93. 2、登录需要短信校验
  94. 二、已卖出订单列表
  95. 1、进入需要短信验证码
  96. 2、翻页需要滑动验证条
  97. 三、订单详情读取
  98. 1、需要滑动验证条
  99. 当有中断时候人工介入处理,处理完成后重新点击一键轮询按钮。