# 商城模块文档

## 1. 安装

```shell
composer require maatwebsite/excel
composer require propaganistas/laravel-phone
composer require overtrue/laravel-versionable
composer require symfony/workflow
composer require wang-tech-commits/kuaidi100-api
```

## 2. Traits 说明

### 1. HasAddresses

对象拥有收货地址，可对收货地址管理

### 2. HasCart

### 3. HasOrders

### 4. HasShop

### 5. WithWorkflow