|
|
@@ -10,7 +10,7 @@ const wechatCouponRoutes = createCrudRoutes({
|
|
|
getSchema: WechatCouponSchema,
|
|
|
listSchema: WechatCouponSchema,
|
|
|
searchFields: ['openid', 'stockId', 'couponId'],
|
|
|
- relations: ['stock', 'stock.config'],
|
|
|
+ relations: ['stock.config'],
|
|
|
middleware: [authMiddleware],
|
|
|
userTracking: {
|
|
|
createdByField: 'createdBy',
|