命令.txt 4.8 KB

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