Browse Source

修改模块module架构,放在backend/modules下面,修改相应的命名空间,修改上门自提首页列表字段显示

wechat_public_accounts
linyaostalker 5 years ago
parent
commit
f556edc7b1
  1. 24
      backend/modules/file/Module.php
  2. 6
      backend/modules/file/logic/file/FileManager.php
  3. 0
      backend/modules/file/migrations/m191112_022131_create_table_file.php
  4. 0
      backend/modules/file/migrations/m191112_022532_create_table_tem_file.php
  5. 2
      backend/modules/file/models/ars/File.php
  6. 2
      backend/modules/file/models/ars/TemFile.php
  7. 4
      backend/modules/goods/Module.php
  8. 0
      backend/modules/goods/assets/custom/sku.49a56a9198d9c3ec233c.js
  9. 0
      backend/modules/goods/assets/custom/sku.52802ed907a316501cd7.js
  10. 0
      backend/modules/goods/assets/custom/sku.9a46222d01b3d601e5ad.js
  11. 0
      backend/modules/goods/assets/custom/sku_item.6649e882bedbeb22ea3d.js
  12. 0
      backend/modules/goods/assets/js/jquery.js
  13. 6
      backend/modules/goods/controllers/AttributeController.php
  14. 6
      backend/modules/goods/controllers/BrandController.php
  15. 36
      backend/modules/goods/controllers/CategoryController.php
  16. 46
      backend/modules/goods/controllers/GoodsController.php
  17. 36
      backend/modules/goods/controllers/ShopCategoryController.php
  18. 6
      backend/modules/goods/controllers/SupplierController.php
  19. 25
      backend/modules/goods/logic/goods/GoodsManager.php
  20. 0
      backend/modules/goods/migrations/m191119_021851_create_table_atg_shop_category.php
  21. 0
      backend/modules/goods/migrations/m191119_022641_create_table_atg_category.php
  22. 0
      backend/modules/goods/migrations/m191119_022939_create_table_atg_attribute.php
  23. 0
      backend/modules/goods/migrations/m191119_023115_create_table_atg_goods_attr.php
  24. 0
      backend/modules/goods/migrations/m191119_024029_create_table_atg_brand.php
  25. 0
      backend/modules/goods/migrations/m191119_024205_create_table_atg_goods.php
  26. 0
      backend/modules/goods/migrations/m191119_024345_create_table_atg_goods_sku.php
  27. 0
      backend/modules/goods/migrations/m191119_025607_create_table_atg_supplier.php
  28. 0
      backend/modules/goods/migrations/m191119_025843_create_table_atg_filter_attr.php
  29. 0
      backend/modules/goods/migrations/m191125_012449_update_column_icon_type_in_atg_category.php
  30. 0
      backend/modules/goods/migrations/m191125_083820_drop_column_icon_type_in_table_atg_category.php
  31. 0
      backend/modules/goods/migrations/m191125_084547_update_column_pid_and_icon_in_table_atg_category.php
  32. 0
      backend/modules/goods/migrations/m191125_104137_drop_column_icon_type_in_table_atg_shop_category.php
  33. 0
      backend/modules/goods/migrations/m191125_104510_update_column_pid_and_icon_in_table_atg_shop_category.php
  34. 0
      backend/modules/goods/migrations/m191127_114228_add_column_is_manaul_in_table_atg_goods_sku.php
  35. 0
      backend/modules/goods/migrations/m191129_010349_add_column_sku_mode_in_atg_goods.php
  36. 0
      backend/modules/goods/migrations/m191129_020131_add_columns_goods_id_and_attr_id_in_table_atg_goods_attr.php
  37. 0
      backend/modules/goods/migrations/m191130_004933_add_column_cat_id_in_table_atg_attribute.php
  38. 0
      backend/modules/goods/migrations/m191202_082041_drop_columns_in_table_atg_goods_sku.php
  39. 0
      backend/modules/goods/migrations/sql/goods.sql
  40. 0
      backend/modules/goods/migrations/sql/goods_sku.sql
  41. 4
      backend/modules/goods/models/ars/Attribute.php
  42. 2
      backend/modules/goods/models/ars/Brand.php
  43. 4
      backend/modules/goods/models/ars/Category.php
  44. 2
      backend/modules/goods/models/ars/FilterAttr.php
  45. 12
      backend/modules/goods/models/ars/Goods.php
  46. 2
      backend/modules/goods/models/ars/GoodsAttr.php
  47. 2
      backend/modules/goods/models/ars/GoodsSku.php
  48. 4
      backend/modules/goods/models/ars/ShopCategory.php
  49. 4
      backend/modules/goods/models/ars/Supplier.php
  50. 6
      backend/modules/goods/models/searchs/AttributeSearch.php
  51. 6
      backend/modules/goods/models/searchs/BrandSearch.php
  52. 6
      backend/modules/goods/models/searchs/CategorySearch.php
  53. 10
      backend/modules/goods/models/searchs/GoodsSearch.php
  54. 6
      backend/modules/goods/models/searchs/ShopCategorySearch.php
  55. 6
      backend/modules/goods/models/searchs/SupplierSearch.php
  56. 4
      backend/modules/goods/views/attribute/_form.php
  57. 0
      backend/modules/goods/views/attribute/_search.php
  58. 2
      backend/modules/goods/views/attribute/create.php
  59. 0
      backend/modules/goods/views/attribute/index.php
  60. 2
      backend/modules/goods/views/attribute/update.php
  61. 2
      backend/modules/goods/views/attribute/view.php
  62. 2
      backend/modules/goods/views/brand/_form.php
  63. 0
      backend/modules/goods/views/brand/_search.php
  64. 2
      backend/modules/goods/views/brand/create.php
  65. 0
      backend/modules/goods/views/brand/index.php
  66. 2
      backend/modules/goods/views/brand/update.php
  67. 2
      backend/modules/goods/views/brand/view.php
  68. 4
      backend/modules/goods/views/category/_form.php
  69. 0
      backend/modules/goods/views/category/_search.php
  70. 2
      backend/modules/goods/views/category/create.php
  71. 0
      backend/modules/goods/views/category/index.php
  72. 2
      backend/modules/goods/views/category/update.php
  73. 4
      backend/modules/goods/views/category/view.php
  74. 0
      backend/modules/goods/views/config/index.php
  75. 10
      backend/modules/goods/views/goods/_form.php
  76. 0
      backend/modules/goods/views/goods/_search.php
  77. 4
      backend/modules/goods/views/goods/attribute.php
  78. 2
      backend/modules/goods/views/goods/create.php
  79. 4
      backend/modules/goods/views/goods/filter_attribute.php
  80. 12
      backend/modules/goods/views/goods/goods.php
  81. 0
      backend/modules/goods/views/goods/index.php
  82. 0
      backend/modules/goods/views/goods/new_editor.php
  83. 2
      backend/modules/goods/views/goods/picture.php
  84. 2
      backend/modules/goods/views/goods/sku_edit.php
  85. 2
      backend/modules/goods/views/goods/update.php
  86. 6
      backend/modules/goods/views/goods/view.php
  87. 6
      backend/modules/goods/views/shop-category/_form.php
  88. 0
      backend/modules/goods/views/shop-category/_search.php
  89. 2
      backend/modules/goods/views/shop-category/create.php
  90. 0
      backend/modules/goods/views/shop-category/index.php
  91. 2
      backend/modules/goods/views/shop-category/update.php
  92. 6
      backend/modules/goods/views/shop-category/view.php
  93. 2
      backend/modules/goods/views/supplier/_form.php
  94. 0
      backend/modules/goods/views/supplier/_search.php
  95. 2
      backend/modules/goods/views/supplier/create.php
  96. 0
      backend/modules/goods/views/supplier/index.php
  97. 2
      backend/modules/goods/views/supplier/update.php
  98. 2
      backend/modules/goods/views/supplier/view.php
  99. 4
      backend/modules/goods/web/GoodsAttributeAsset.php
  100. 4
      backend/modules/goods/web/GoodsFilterAttributeAsset.php

24
backend/modules/file/Module.php

@ -0,0 +1,24 @@
<?php
namespace backend\modules\file;
/**
* file module definition class
*/
class Module extends \yii\base\Module
{
/**
* {@inheritdoc}
*/
public $controllerNamespace = 'backend\modules\file\controllers';
/**
* {@inheritdoc}
*/
public function init()
{
parent::init();
// custom initialization code goes here
}
}

backend/logic/file/FileManager.php → backend/modules/file/logic/file/FileManager.php

backend/migrations/m191112_022131_create_table_file.php → backend/modules/file/migrations/m191112_022131_create_table_file.php

backend/migrations/m191112_022532_create_table_tem_file.php → backend/modules/file/migrations/m191112_022532_create_table_tem_file.php

backend/models/ars/File.php → backend/modules/file/models/ars/File.php

backend/models/ars/TemFile.php → backend/modules/file/models/ars/TemFile.php

goods/Module.php → backend/modules/goods/Module.php

goods/assets/custom/sku.49a56a9198d9c3ec233c.js → backend/modules/goods/assets/custom/sku.49a56a9198d9c3ec233c.js

goods/assets/custom/sku.52802ed907a316501cd7.js → backend/modules/goods/assets/custom/sku.52802ed907a316501cd7.js

goods/assets/custom/sku.9a46222d01b3d601e5ad.js → backend/modules/goods/assets/custom/sku.9a46222d01b3d601e5ad.js

goods/assets/custom/sku_item.6649e882bedbeb22ea3d.js → backend/modules/goods/assets/custom/sku_item.6649e882bedbeb22ea3d.js

goods/assets/js/jquery.js → backend/modules/goods/assets/js/jquery.js

goods/controllers/AttributeController.php → backend/modules/goods/controllers/AttributeController.php

goods/controllers/BrandController.php → backend/modules/goods/controllers/BrandController.php

goods/controllers/CategoryController.php → backend/modules/goods/controllers/CategoryController.php

goods/controllers/GoodsController.php → backend/modules/goods/controllers/GoodsController.php

goods/controllers/ShopCategoryController.php → backend/modules/goods/controllers/ShopCategoryController.php

goods/controllers/SupplierController.php → backend/modules/goods/controllers/SupplierController.php

goods/logic/goods/GoodsManager.php → backend/modules/goods/logic/goods/GoodsManager.php

goods/migrations/m191119_021851_create_table_atg_shop_category.php → backend/modules/goods/migrations/m191119_021851_create_table_atg_shop_category.php

goods/migrations/m191119_022641_create_table_atg_category.php → backend/modules/goods/migrations/m191119_022641_create_table_atg_category.php

goods/migrations/m191119_022939_create_table_atg_attribute.php → backend/modules/goods/migrations/m191119_022939_create_table_atg_attribute.php

goods/migrations/m191119_023115_create_table_atg_goods_attr.php → backend/modules/goods/migrations/m191119_023115_create_table_atg_goods_attr.php

goods/migrations/m191119_024029_create_table_atg_brand.php → backend/modules/goods/migrations/m191119_024029_create_table_atg_brand.php

goods/migrations/m191119_024205_create_table_atg_goods.php → backend/modules/goods/migrations/m191119_024205_create_table_atg_goods.php

goods/migrations/m191119_024345_create_table_atg_goods_sku.php → backend/modules/goods/migrations/m191119_024345_create_table_atg_goods_sku.php

goods/migrations/m191119_025607_create_table_atg_supplier.php → backend/modules/goods/migrations/m191119_025607_create_table_atg_supplier.php

goods/migrations/m191119_025843_create_table_atg_filter_attr.php → backend/modules/goods/migrations/m191119_025843_create_table_atg_filter_attr.php

goods/migrations/m191125_012449_update_column_icon_type_in_atg_category.php → backend/modules/goods/migrations/m191125_012449_update_column_icon_type_in_atg_category.php

goods/migrations/m191125_083820_drop_column_icon_type_in_table_atg_category.php → backend/modules/goods/migrations/m191125_083820_drop_column_icon_type_in_table_atg_category.php

goods/migrations/m191125_084547_update_column_pid_and_icon_in_table_atg_category.php → backend/modules/goods/migrations/m191125_084547_update_column_pid_and_icon_in_table_atg_category.php

goods/migrations/m191125_104137_drop_column_icon_type_in_table_atg_shop_category.php → backend/modules/goods/migrations/m191125_104137_drop_column_icon_type_in_table_atg_shop_category.php

goods/migrations/m191125_104510_update_column_pid_and_icon_in_table_atg_shop_category.php → backend/modules/goods/migrations/m191125_104510_update_column_pid_and_icon_in_table_atg_shop_category.php

goods/migrations/m191127_114228_add_column_is_manaul_in_table_atg_goods_sku.php → backend/modules/goods/migrations/m191127_114228_add_column_is_manaul_in_table_atg_goods_sku.php

goods/migrations/m191129_010349_add_column_sku_mode_in_atg_goods.php → backend/modules/goods/migrations/m191129_010349_add_column_sku_mode_in_atg_goods.php

goods/migrations/m191129_020131_add_columns_goods_id_and_attr_id_in_table_atg_goods_attr.php → backend/modules/goods/migrations/m191129_020131_add_columns_goods_id_and_attr_id_in_table_atg_goods_attr.php

goods/migrations/m191130_004933_add_column_cat_id_in_table_atg_attribute.php → backend/modules/goods/migrations/m191130_004933_add_column_cat_id_in_table_atg_attribute.php

goods/migrations/m191202_082041_drop_columns_in_table_atg_goods_sku.php → backend/modules/goods/migrations/m191202_082041_drop_columns_in_table_atg_goods_sku.php

goods/migrations/sql/goods.sql → backend/modules/goods/migrations/sql/goods.sql

goods/migrations/sql/goods_sku.sql → backend/modules/goods/migrations/sql/goods_sku.sql

goods/models/ars/Attribute.php → backend/modules/goods/models/ars/Attribute.php

goods/models/ars/Brand.php → backend/modules/goods/models/ars/Brand.php

goods/models/ars/Category.php → backend/modules/goods/models/ars/Category.php

goods/models/ars/FilterAttr.php → backend/modules/goods/models/ars/FilterAttr.php

goods/models/ars/Goods.php → backend/modules/goods/models/ars/Goods.php

goods/models/ars/GoodsAttr.php → backend/modules/goods/models/ars/GoodsAttr.php

goods/models/ars/GoodsSku.php → backend/modules/goods/models/ars/GoodsSku.php

goods/models/ars/ShopCategory.php → backend/modules/goods/models/ars/ShopCategory.php

goods/models/ars/Supplier.php → backend/modules/goods/models/ars/Supplier.php

goods/models/searchs/AttributeSearch.php → backend/modules/goods/models/searchs/AttributeSearch.php

goods/models/searchs/BrandSearch.php → backend/modules/goods/models/searchs/BrandSearch.php

goods/models/searchs/CategorySearch.php → backend/modules/goods/models/searchs/CategorySearch.php

goods/models/searchs/GoodsSearch.php → backend/modules/goods/models/searchs/GoodsSearch.php

goods/models/searchs/ShopCategorySearch.php → backend/modules/goods/models/searchs/ShopCategorySearch.php

goods/models/searchs/SupplierSearch.php → backend/modules/goods/models/searchs/SupplierSearch.php

goods/views/attribute/_form.php → backend/modules/goods/views/attribute/_form.php

goods/views/attribute/_search.php → backend/modules/goods/views/attribute/_search.php

goods/views/attribute/create.php → backend/modules/goods/views/attribute/create.php

goods/views/attribute/index.php → backend/modules/goods/views/attribute/index.php

goods/views/attribute/update.php → backend/modules/goods/views/attribute/update.php

goods/views/attribute/view.php → backend/modules/goods/views/attribute/view.php

goods/views/brand/_form.php → backend/modules/goods/views/brand/_form.php

goods/views/brand/_search.php → backend/modules/goods/views/brand/_search.php

goods/views/brand/create.php → backend/modules/goods/views/brand/create.php

goods/views/brand/index.php → backend/modules/goods/views/brand/index.php

goods/views/brand/update.php → backend/modules/goods/views/brand/update.php

goods/views/brand/view.php → backend/modules/goods/views/brand/view.php

goods/views/category/_form.php → backend/modules/goods/views/category/_form.php

goods/views/category/_search.php → backend/modules/goods/views/category/_search.php

goods/views/category/create.php → backend/modules/goods/views/category/create.php

goods/views/category/index.php → backend/modules/goods/views/category/index.php

goods/views/category/update.php → backend/modules/goods/views/category/update.php

goods/views/category/view.php → backend/modules/goods/views/category/view.php

goods/views/config/index.php → backend/modules/goods/views/config/index.php

goods/views/goods/_form.php → backend/modules/goods/views/goods/_form.php

goods/views/goods/_search.php → backend/modules/goods/views/goods/_search.php

goods/views/goods/attribute.php → backend/modules/goods/views/goods/attribute.php

goods/views/goods/create.php → backend/modules/goods/views/goods/create.php

goods/views/goods/filter_attribute.php → backend/modules/goods/views/goods/filter_attribute.php

goods/views/goods/goods.php → backend/modules/goods/views/goods/goods.php

goods/views/goods/index.php → backend/modules/goods/views/goods/index.php

goods/views/goods/new_editor.php → backend/modules/goods/views/goods/new_editor.php

goods/views/goods/picture.php → backend/modules/goods/views/goods/picture.php

goods/views/goods/sku_edit.php → backend/modules/goods/views/goods/sku_edit.php

goods/views/goods/update.php → backend/modules/goods/views/goods/update.php

goods/views/goods/view.php → backend/modules/goods/views/goods/view.php

goods/views/shop-category/_form.php → backend/modules/goods/views/shop-category/_form.php

goods/views/shop-category/_search.php → backend/modules/goods/views/shop-category/_search.php

goods/views/shop-category/create.php → backend/modules/goods/views/shop-category/create.php

goods/views/shop-category/index.php → backend/modules/goods/views/shop-category/index.php

goods/views/shop-category/update.php → backend/modules/goods/views/shop-category/update.php

goods/views/shop-category/view.php → backend/modules/goods/views/shop-category/view.php

goods/views/supplier/_form.php → backend/modules/goods/views/supplier/_form.php

goods/views/supplier/_search.php → backend/modules/goods/views/supplier/_search.php

goods/views/supplier/create.php → backend/modules/goods/views/supplier/create.php

goods/views/supplier/index.php → backend/modules/goods/views/supplier/index.php

goods/views/supplier/update.php → backend/modules/goods/views/supplier/update.php

goods/views/supplier/view.php → backend/modules/goods/views/supplier/view.php

goods/web/GoodsAttributeAsset.php → backend/modules/goods/web/GoodsAttributeAsset.php

goods/web/GoodsFilterAttributeAsset.php → backend/modules/goods/web/GoodsFilterAttributeAsset.php

Some files were not shown because too many files changed in this diff

Loading…
Cancel
Save