协议更新

This commit is contained in:
chen wei bo
2025-09-03 11:09:51 +08:00
parent 2b88bf2083
commit 7ad2261867
7 changed files with 2581 additions and 60 deletions
@@ -49,10 +49,10 @@ export class GirlDetailConfig extends BaseConfig {
}
/** 根据 id 获取 commercialImages数量 */
public getCommercialImagesCount(id: number): any | null {
public getCommercialImagesCount(id: number): number | null {
let oneData = this.getCommercialImagesById(id);
if (!oneData) return null;
return oneData.commercialImages.size;
return oneData.length;
}
/** 根据 id 和 index 获取图片类型 */
@@ -87,10 +87,10 @@ export class GirlDetailConfig extends BaseConfig {
}
/** 根据 id 获取 commercialVideos数量 */
public getCommercialVideosCount(id: number): any | null {
public getCommercialVideosCount(id: number): number | null {
let oneData = this.getCommercialVideosById(id);
if (!oneData) return null;
return oneData.commercialVideos.size;
return oneData.length;
}
/** 根据 id 和 index 获取视频路径 */