123456789101112131415161718192021222324 |
- <?php
- namespace Shop\Lib;
- use Dever;
- class Sku
- {
- # 设置sku
- public $set = array
- (
- # 设置特殊字段
- 'col' => array
- (
- 'add_num' => '新增库存数^-输入小于0的数字,则为减少库存',
- 'total' => '当前库存|',
- 'total_num' => '总库存|',
- 'min' => '起订数',
- ),
- # 设置哪个商品类型无法设置上述字段
- 'price_type' => 4,
- );
- }
|