setGoodsData()
setGoodsData( $data, boolean $isMultiple = true, string $goodsIndex = 'goods_id') : mixed
设置商品数据
Parameters
$data | ||
boolean | $isMultiple | |
string | $goodsIndex |
Throws
- \think\db\exception\DataNotFoundException
- \think\db\exception\ModelNotFoundException
- \think\exception\DbException