协议更新
This commit is contained in:
@@ -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 获取视频路径 */
|
||||
|
||||
Reference in New Issue
Block a user