fix
This commit is contained in:
parent
b9f8876fde
commit
0f96eaac30
|
@ -123,14 +123,11 @@ func (l *GetProductInfoLogic) GetProductInfo(req *types.GetProductInfoReq, useri
|
||||||
for _, v := range sizeList {
|
for _, v := range sizeList {
|
||||||
model3dInfo, ok := mapModel3dWithSizeIdIndex[v.Id]
|
model3dInfo, ok := mapModel3dWithSizeIdIndex[v.Id]
|
||||||
if !ok {
|
if !ok {
|
||||||
fmt.Println("没有模型:", v.Id)
|
|
||||||
continue
|
continue
|
||||||
}
|
}
|
||||||
if _, ok = mapTemplateModelId[model3dInfo.Id]; !ok {
|
if _, ok = mapTemplateModelId[model3dInfo.Id]; !ok {
|
||||||
fmt.Println("没有模板:", v.Id)
|
|
||||||
continue
|
continue
|
||||||
}
|
}
|
||||||
fmt.Println("剩下的:", v.Id)
|
|
||||||
var title types.SizeTitle
|
var title types.SizeTitle
|
||||||
if err = json.Unmarshal([]byte(*v.Title), &title); err != nil {
|
if err = json.Unmarshal([]byte(*v.Title), &title); err != nil {
|
||||||
logx.Error(err)
|
logx.Error(err)
|
||||||
|
|
Loading…
Reference in New Issue
Block a user