协议修改
This commit is contained in:
@@ -226,12 +226,30 @@ export class MockGirlService implements IGirlService {
|
||||
}
|
||||
|
||||
const star = 3;
|
||||
const chatTotalCount = 10;
|
||||
const chatRemainCount = 10;
|
||||
const chatTotalCount = 20;
|
||||
const chatRemainCount = 20;
|
||||
|
||||
const girlData = this.genGirlData(girlId, briefData, isRelease, star, detail, unlockImageData, unlockVideoData, chatTotalCount, chatRemainCount);
|
||||
// 返回数据
|
||||
const res: proto.cs.ICSGetGirlDetailRes = {girl: girlData};
|
||||
return this.ok(res);
|
||||
}
|
||||
|
||||
// 解锁技师
|
||||
async reqUnlockGirl(_req: proto.cs.ICSUnlockGirlReq): Promise<ApiResponse<proto.cs.ICSUnlockGirlRes>> {
|
||||
// 延时
|
||||
await this.delay(180);
|
||||
// 返回数据
|
||||
const res: proto.cs.ICSUnlockGirlRes = {};
|
||||
return this.ok(res);
|
||||
}
|
||||
|
||||
// 解锁资源
|
||||
async reqUnlockGirlRes(_req: proto.cs.ICSUnlockResourceReq): Promise<ApiResponse<proto.cs.ICSUnlockResourceRes>> {
|
||||
// 延时
|
||||
await this.delay(180);
|
||||
// 返回数据
|
||||
const res: proto.cs.ICSUnlockResourceRes = {};
|
||||
return this.ok(res);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user