fix
This commit is contained in:
parent
7f71afd8b0
commit
f3eea7f664
|
@ -62,6 +62,7 @@ func (l *UpdateProductModelLogic) UpdateProductModel(req *types.UpdateProductMod
|
||||||
Name: &req.LightData.Name,
|
Name: &req.LightData.Name,
|
||||||
Info: &lightInfoJson,
|
Info: &lightInfoJson,
|
||||||
}
|
}
|
||||||
|
//开启事务
|
||||||
tx := l.svcCtx.MysqlConn.Begin()
|
tx := l.svcCtx.MysqlConn.Begin()
|
||||||
lightModel := gmodel.NewFsProductModel3dLightModel(tx)
|
lightModel := gmodel.NewFsProductModel3dLightModel(tx)
|
||||||
productModel3dModel := gmodel.NewFsProductModel3dModel(tx)
|
productModel3dModel := gmodel.NewFsProductModel3dModel(tx)
|
||||||
|
|
Loading…
Reference in New Issue
Block a user