|
|
@@ -14,7 +14,7 @@ export const publicGoodsRoutesMt = createCrudRoutes({
|
|
|
getSchema: PublicGoodsSchema,
|
|
|
listSchema: PublicGoodsSchema,
|
|
|
searchFields: ['name', 'instructions'],
|
|
|
- relations: ['category1', 'category2', 'category3', 'supplier', 'merchant', 'imageFile', 'slideImages'],
|
|
|
+ relations: ['category1', 'category2', 'category3', 'supplier', 'merchant', 'imageFile.uploadUser', 'slideImages.uploadUser'],
|
|
|
// 公开路由无需认证中间件
|
|
|
middleware: [],
|
|
|
// 公开路由不跟踪用户操作
|