fix:上传logo--debug模式

This commit is contained in:
momo 2023-10-30 15:18:34 +08:00
parent 619f0fde1a
commit a0267481df

View File

@ -156,7 +156,7 @@ func (l *defaultImageHandle) LogoCombine(ctx context.Context, in *LogoCombineReq
if logoResourceId == "" {
return nil, errors.New("invalid logo url")
}
userMaterialModel := gmodel.NewFsUserMaterialModel(l.MysqlConn)
userMaterialModel := gmodel.NewFsUserMaterialModel(l.MysqlConn.Debug())
resLogoInfo, err := userMaterialModel.FindOneByLogoResourceId(ctx, logoResourceId)
if err != nil {
logx.Error(err)