|
|
@@ -40,7 +40,7 @@ export class AdClickRequestDto {
|
|
|
adsId!: string; // ✅ required
|
|
|
|
|
|
@ApiPropertyOptional({
|
|
|
- description: 'Optional IPv4 hint (empty string/null accepted).',
|
|
|
+ description: 'IPv4 地址(可选,格式需正确)',
|
|
|
example: '1.2.3.4',
|
|
|
})
|
|
|
@Transform(({ value }) => {
|
|
|
@@ -80,6 +80,7 @@ export class AdsStatsController {
|
|
|
uid: 'xxxxxx',
|
|
|
channelId: 'AAA',
|
|
|
adsId: '64b7c2f967ce4d6799c047d1',
|
|
|
+ ipv4: '1.1.1.1', // 可选
|
|
|
},
|
|
|
},
|
|
|
},
|