Files
dukang/server/dukang-api/src/modules/fulfillment/local-deliveries.controller.ts
T
jacy 797b20979d feat(mini-user): v3.5.10 同城配送提示可配置并支持换行
承运商 HTML 按收货市下发;textarea 回车在 C 端转成换行。含门店去掉分享按钮与小程序企微客服。

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-08-25 14:29:48 +08:00

13 lines
462 B
TypeScript

import { Controller, Get, Query } from '@nestjs/common';
import { FulfillmentProviderService } from './fulfillment-provider.service';
@Controller('catalog')
export class LocalDeliveriesController {
constructor(private readonly providers: FulfillmentProviderService) {}
@Get('local-deliveries')
list(@Query('cityCode') cityCode?: string, @Query('cityName') cityName?: string) {
return this.providers.listLocalDeliveries({ cityCode, cityName });
}
}