修改数据

This commit is contained in:
chen wei bo
2025-09-10 21:30:26 +08:00
parent 532a279088
commit 131c66f742
2 changed files with 25 additions and 9 deletions
+2 -6
View File
@@ -418,18 +418,14 @@ export class GirlData extends BaseData {
public isGirlPhotoShowInList(categoryId: string, girlId: number, id: number): boolean {
let oneData = this.getGrilDetail(categoryId, girlId);
if (!oneData) return false;
// 展示类型
const showType = oneData.getGrilPhotoType(id);
return showType === 1;
return oneData.isGirlPhotoShowInList(id);
}
/** 图片展示类型:在聊天触发 */
public isGirlPhotoShowInChat(categoryId: string, girlId: number, id: number): boolean {
let oneData = this.getGrilDetail(categoryId, girlId);
if (!oneData) return false;
// 展示类型
const showType = oneData.getGrilPhotoType(id);
return showType === 2;
return oneData.isGirlPhotoShowInChat(id);
}
/** 图片是否免费 */