fix:提交修复6个问题

This commit is contained in:
ljy
2026-07-08 23:01:18 +08:00
parent 99be8e0237
commit ab9654564e
43 changed files with 3671 additions and 277 deletions
@@ -2,6 +2,7 @@ import { Body, Controller, Get, Param, Post, Put, Query, Req, UseGuards } from '
import type { Request } from 'express';
import { TradeService } from './trade.service';
import { JwtAuthGuard, AuthUser } from '../../common/guards/jwt-auth.guard';
import { PartnerPrimaryGuard } from '../../common/guards/partner-primary.guard';
import { PhoneVerifiedGuard } from '../../common/guards/phone-verified.guard';
import { CurrentUser } from '../../common/decorators/current-user.decorator';
@@ -67,7 +68,7 @@ export class TradeController {
}
@Controller('partner/orders')
@UseGuards(JwtAuthGuard)
@UseGuards(JwtAuthGuard, PartnerPrimaryGuard)
export class PartnerOrderController {
constructor(private readonly tradeService: TradeService) {}
@@ -96,7 +97,7 @@ export class PartnerOrderController {
}
@Controller('partner/reshipments')
@UseGuards(JwtAuthGuard)
@UseGuards(JwtAuthGuard, PartnerPrimaryGuard)
export class PartnerReshipmentController {
constructor(private readonly tradeService: TradeService) {}