|
@@ -31,7 +31,7 @@ class GoodTax extends Model
|
|
|
if($item->isEmpty()) return [];
|
|
|
$temp=[];
|
|
|
if($type==1){
|
|
|
- $temp['spuCode']=$item->childCode;
|
|
|
+ $temp['spuCode']=$item->spuCode;
|
|
|
$temp['cat_code']=$item->merge_code;
|
|
|
$temp['cat_name']=$item->short_name;
|
|
|
$temp['tax']=$item->tax;
|