修改字段类型,补提

This commit is contained in:
zcl
2025-09-05 20:02:03 +08:00
parent a53b18353a
commit cb61167a84
7 changed files with 22 additions and 16 deletions
+21 -15
View File
@@ -15,29 +15,29 @@ export enum Category {
/**
* 熟女
*/
shunv = 0,
mature = 0,
/**
* 20s
* 18s
*/
twenty = 1,
eighteen = 1,
/**
* 辣妈
* qinfan
*/
lama = 2,
qinfan = 2,
/**
* 捆绑
* luanlun
*/
kunbang = 3,
luanlun = 3,
/**
* 公众野战
* bdsm
*/
publicfight = 4,
bdsm = 4,
/**
* 卡通
* loli
*/
cartoon = 5,
loli = 5,
/**
* 未完成
* upcomming
*/
upcomming = 6,
}
@@ -92,7 +92,7 @@ export class AiCharacters {
*/
readonly basePrompt: string
/**
* 额外信息prompt(聊天&评分都需要)
* 额外信息prompt(聊天需要)
*/
readonly additionPrompt: string
@@ -357,7 +357,8 @@ export class CommercialImage {
constructor(_buf_: ByteBuf) {
this.id = _buf_.readInt()
this.imageType = _buf_.readInt()
this.imagePrice = _buf_.readFloat()
this.unlockCounts = _buf_.readInt()
this.imagePrice = _buf_.readInt()
this.path = _buf_.readString()
}
@@ -369,6 +370,10 @@ export class CommercialImage {
* 1=详情页展示<br/>2=聊天触发
*/
readonly imageType: number
/**
* 聊天触发次数
*/
readonly unlockCounts: number
/**
* 价格
*/
@@ -383,6 +388,7 @@ export class CommercialImage {
}
}
@@ -396,7 +402,7 @@ export class CommercialVideo {
this.id = _buf_.readInt()
this.path = _buf_.readString()
this.emotion = _buf_.readInt()
this.videoPrice = _buf_.readFloat()
this.videoPrice = _buf_.readInt()
}
/**