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 {
|
||||
model3dInfo, ok := mapModel3dWithSizeIdIndex[v.Id]
|
||||
if !ok {
|
||||
fmt.Println("没有模型:", v.Id)
|
||||
continue
|
||||
}
|
||||
if _, ok = mapTemplateModelId[model3dInfo.Id]; !ok {
|
||||
fmt.Println("没有模板:", v.Id)
|
||||
continue
|
||||
}
|
||||
fmt.Println("剩下的:", v.Id)
|
||||
var title types.SizeTitle
|
||||
if err = json.Unmarshal([]byte(*v.Title), &title); err != nil {
|
||||
logx.Error(err)
|
||||
|
|
Loading…
Reference in New Issue
Block a user