DatabaseSeeder.php 2.0 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192
  1. <?php
  2. use Illuminate\Database\Seeder;
  3. class DatabaseSeeder extends Seeder
  4. {
  5. /**
  6. * Run the database seeds.
  7. *
  8. * @return void
  9. */
  10. public function run()
  11. {
  12. /**
  13. * 商城基础设置
  14. */
  15. /**
  16. * 商品模块
  17. */
  18. /**
  19. * 会员模块
  20. */
  21. /**
  22. * 订单模块
  23. */
  24. /**
  25. * 分销
  26. */
  27. /**
  28. * 店铺装修
  29. */
  30. /**
  31. * 云币插件
  32. */
  33. //配置
  34. // $this->call(SettingSeeder::class);
  35. //权限
  36. // $this->call(YzPermissionSeeder::class);
  37. //用户角色
  38. //$this->call(YzUserRoleSeeder::class);
  39. /**
  40. * 地址
  41. */
  42. //地址(省份,城市,区域)
  43. //$this->call(YzAddressSeeder::class);
  44. //地址(街道)
  45. //$this->call(YzStreetSeeder::class);
  46. /**
  47. * 商品
  48. */
  49. //商品分类
  50. //$this->call(YzCategorySeeder::class);
  51. //商品评论
  52. //$this->call(YzCommentSeeder::class);
  53. //商品消息推送
  54. //$this->call(YzNoticeSeeder::class);
  55. //商品消息推送
  56. //$this->call(YzSaleSeeder::class);
  57. //$this->call(YzOptionsTableSeeder::class);
  58. //模板消息
  59. //$this->call(YzTemplateMessageTableSeeder::class);
  60. // $this->call(YzMenuUpgradeSeeder::class);
  61. // require "YzUniacidSeeder.php";
  62. // $this->call(YzUniacidSeeder::class);
  63. // Log::info(file_get_contents('/data/wwwroot/release.yunzshop.com/addons/yun_shop/vendor/composer/autoload_classmap.php'));
  64. // Log::info(file_get_contents('/data/wwwroot/release.yunzshop.com/addons/yun_shop/vendor/composer/autoload_static.php'));
  65. // Log::info(file_get_contents('/data/wwwroot/release.yunzshop.com/addons/yun_shop/database/seeds/YzPluginUniacidSeeder.php'));
  66. // $this->call(YzpluginSeeder::class);
  67. require_once "YzPluginUniacidSeeder.php";
  68. $this->call(YzPluginUniacidSeeder::class);
  69. }
  70. }