fix
This commit is contained in:
parent
b8333ecaf8
commit
fd93688d27
|
@ -116,6 +116,7 @@ func (l *GetTagProductListLogic) GetTagProductList(req *types.GetTagProductListR
|
||||||
logx.Error(err)
|
logx.Error(err)
|
||||||
return resp.SetStatusWithMessage(basic.CodeDbSqlErr, "failed to get product part list")
|
return resp.SetStatusWithMessage(basic.CodeDbSqlErr, "failed to get product part list")
|
||||||
}
|
}
|
||||||
|
//存储有配件的map
|
||||||
for _, partList := range productOptionalPartList {
|
for _, partList := range productOptionalPartList {
|
||||||
partList.PartList = strings.Trim(partList.PartList, " ")
|
partList.PartList = strings.Trim(partList.PartList, " ")
|
||||||
partList.PartList = strings.Trim(partList.PartList, ",")
|
partList.PartList = strings.Trim(partList.PartList, ",")
|
||||||
|
|
Loading…
Reference in New Issue
Block a user