3D模型数据资源备份镜像批量处理

This commit is contained in:
momo
2023-11-21 14:43:46 +08:00
parent c1a164da7a
commit 7ef4139f4e
2 changed files with 2 additions and 2 deletions

View File

@@ -20,7 +20,7 @@ type StepPriceJsonStruct struct {
}
func (t *FsProductModel3dModel) FindAll(ctx context.Context) (resp []FsProductModel3d, err error) {
err = t.db.WithContext(ctx).Model(&FsProductModel3d{}).Find(&resp).Error
err = t.db.WithContext(ctx).Model(&FsProductModel3d{}).Limit(10).Find(&resp).Error
return resp, err
}