修改数据
This commit is contained in:
@@ -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);
|
||||
}
|
||||
|
||||
/** 图片是否免费 */
|
||||
|
||||
Reference in New Issue
Block a user