文档
测试

精灵小窝精灵和动画

POST
http://192.168.1.192:8061/v206/volt/userVolt

请求参数

参数名
类型
描述
必填
userId
string
示例:85443
必填

响应参数

参数名
类型
描述
必填
code
int
示例:200
必填
data
object
数据字典
必填
chargeSpirit
object
数据字典
必填
id
int
示例:27
必填
spiritName
string
示例:女生
必填
spiritDesc
string
示例:初始女生
必填
thumbPath
string
示例:http://schongdian.hengqifeng.com/chargespirit/chargeSpiritCover/27-1640851715768.jpg
必填
spiritPath
string
示例:http://schongdian.hengqifeng.com/chargespirit/chargeSpiritCartoon/27-1640851715959.zip
必填
spiritState
int
示例:1
必填
createUserId
int
示例:1
必填
createTime
string
示例:2021-09-25 20:11:16
必填
updateTime
string
示例:2021-09-25 20:11:16
必填
updateUserId
int
示例:1
必填
volt
int
示例:0
必填
type
int
示例:1
必填
locked
int
示例:6
必填
background
string
示例:http://schongdian.hengqifeng.com/chargespirit/chargeSpiritBackground/27-1640851716539.jpg
必填
width
int
示例:70
必填
height
int
示例:109
必填
sex
int
示例:0
必填
spiritPathTwo
object
示例:null
必填
animVersion
int
示例:1
必填
status
int
示例:1
必填
satietyValue
int
示例:0
必填
cleaningValue
int
示例:0
必填
healthValue
int
示例:0
必填
isNew
int
示例:0
必填
voltGetHistory
object
数据字典
必填
id
int
示例:99814
必填
userId
int
示例:85443
必填
createTime
string
示例:2022-10-19 00:00:00
必填
status
int
示例:1
必填
remark
string
示例:被人查看时候添加
必填
type
int
示例:1
必填
voltTotal
int
示例:0
必填
voltOne
int
示例:0
必填
voltTwo
int
示例:0
必填
voltThree
int
示例:0
必填
voltFour
int
示例:0
必填
voltFive
int
示例:0
必填
lastTime
int
示例:3465
必填
portrait
object
示例:null
必填
userName
object
示例:null
必填
volt
int
示例:0
必填
night
array
数据列表
必填
id
int
示例:2
必填
clockType
int
示例:1
必填
abscissaScale
float
示例:0.366
必填
ordinateScale
float
示例:0.4553
必填
highScale
float
示例:0.2108
必填
widthScale
float
示例:0.1383
必填
title
string
示例:女生晚上场景
必填
createTime
string
示例:2022-10-19 17:57:36
必填
status
int
示例:1
必填
bubblingAbscissaScale
float
示例:0.4866
必填
bubblingOrdinateScale
float
示例:0.3294
必填
bubblingHighScale
float
示例:0.1727
必填
bubblingWidthScale
float
示例:0.25
必填
isScene
int
示例:1
必填
chargeSpiritCartoonUrl
object
示例:null
必填
spiritId
int
示例:27
必填
chargeSpiritTwo
object
数据字典
必填
id
int
示例:27
必填
spiritName
string
示例:女生
必填
spiritDesc
string
示例:初始女生
必填
thumbPath
string
示例:http://schongdian.hengqifeng.com/chargespirit/chargeSpiritCover/27-1640851715768.jpg
必填
spiritPath
string
示例:http://schongdian.hengqifeng.com/chargespirit/chargeSpiritCartoon/27-1640851715959.zip
必填
spiritState
int
示例:1
必填
createUserId
int
示例:1
必填
createTime
string
示例:2021-09-25 20:11:16
必填
updateTime
string
示例:2021-09-25 20:11:16
必填
updateUserId
int
示例:1
必填
volt
int
示例:0
必填
type
int
示例:1
必填
locked
int
示例:6
必填
background
string
示例:http://schongdian.hengqifeng.com/chargespirit/chargeSpiritBackground/27-1640851716539.jpg
必填
width
int
示例:70
必填
height
int
示例:109
必填
sex
int
示例:0
必填
spiritPathTwo
object
示例:null
必填
animVersion
int
示例:1
必填
status
int
示例:2
必填
satietyValue
int
示例:0
必填
cleaningValue
int
示例:0
必填
healthValue
int
示例:0
必填
isNew
int
示例:0
必填
day
array
数据列表
必填
id
int
示例:1
必填
clockType
int
示例:0
必填
abscissaScale
float
示例:0.2455
必填
ordinateScale
float
示例:0.6193
必填
highScale
float
示例:0.2108
必填
widthScale
float
示例:0.1383
必填
title
string
示例:女生白天场景
必填
createTime
string
示例:2022-10-19 17:57:36
必填
status
int
示例:1
必填
bubblingAbscissaScale
float
示例:0.375
必填
bubblingOrdinateScale
float
示例:0.4743
必填
bubblingHighScale
float
示例:0.1727
必填
bubblingWidthScale
float
示例:0.25
必填
isScene
int
示例:1
必填
chargeSpiritCartoonUrl
string
示例:http://schongdian.hengqifeng.com/chargespirit/anim/20220128/27_白天.zip
必填
spiritId
int
示例:27
必填
message
string
示例:操作成功
必填

说明 / 示例

{ "code": 200, "data": { "chargeSpirit": { "id": 147, "spiritName": "赵锦辛", "spiritDesc": "赵锦辛", "thumbPath": "http://schongdian.hengqifeng.com/chargespirit/chargeSpiritCover/147-7863784.png", "spiritPath": "http://schongdian.hengqifeng.com/chargespirit/chargeSpiritCartoon/147-645641.zip", "spiritState": 1, "createUserId": 1, "createTime": "2022-09-05 11:40:37", "updateTime": null, "updateUserId": null, "volt": 0, "type": 2, "locked": 1, "background": "http://schongdian.hengqifeng.com/chargespirit/chargeSpiritBackground/147-78637841.png", "width": 70, "height": 109, "sex": 0, "spiritPathTwo": null, "animVersion": 1, "status": 1, "satietyValue": 0, "cleaningValue": 0, "healthValue": 0, "isNew": 1 }, "voltGetHistory": { "id": 99802, "userId": 884953, "createTime": "2022-10-20 00:00:00", "status": 1, "remark": "被人查看时候添加", "type": 1, "voltTotal": 2, "voltOne": 2, "voltTwo": 0, "voltThree": 0, "voltFour": 0, "voltFive": 0, "lastTime": 254, "portrait": null, "userName": null, "volt": 2 }, "logUserShield": { "id": 2, "userId": 884953, "createTime": "2022-10-19 21:14:16", "updateTime": "2022-10-19 21:14:16", "expirationTime": "2022-10-20 21:14:16", "status": 1 }, "night": [ { "id": 2, "clockType": 1, "abscissaScale": 0.366, "ordinateScale": 0.4553, "highScale": 0.2108, "widthScale": 0.1383, "title": "女生晚上场景", "createTime": "2022-10-19 17:57:36", "status": 1, "bubblingAbscissaScale": 0.4866, "bubblingOrdinateScale": 0.3294, "bubblingHighScale": 0.1727, "bubblingWidthScale": 0.25, "isScene": 1, "chargeSpiritCartoonUrl": null, "spiritId": 147 } ], "chargeSpiritTwo": { "id": 27, "spiritName": "女生", "spiritDesc": "初始女生", "thumbPath": "http://schongdian.hengqifeng.com/chargespirit/chargeSpiritCover/27-1640851715768.jpg", "spiritPath": "http://schongdian.hengqifeng.com/chargespirit/chargeSpiritCartoon/27-1640851715959.zip", "spiritState": 1, "createUserId": 1, "createTime": "2021-09-25 20:11:16", "updateTime": "2021-09-25 20:11:16", "updateUserId": 1, "volt": 0, "type": 1, "locked": 6, "background": "http://schongdian.hengqifeng.com/chargespirit/chargeSpiritBackground/27-1640851716539.jpg", "width": 70, "height": 109, "sex": 0, "spiritPathTwo": null, "animVersion": 1, "status": 2, "satietyValue": 3, "cleaningValue": 3, "healthValue": 3, "isNew": 0 }, "day": [ { "id": 1, "clockType": 0, "abscissaScale": 0.2455, "ordinateScale": 0.6193, "highScale": 0.2108, "widthScale": 0.1383, "title": "女生白天场景", "createTime": "2022-10-19 17:57:36", "status": 1, "bubblingAbscissaScale": 0.375, "bubblingOrdinateScale": 0.4743, "bubblingHighScale": 0.1727, "bubblingWidthScale": 0.25, "isScene": 1, "chargeSpiritCartoonUrl": "http://schongdian.hengqifeng.com/chargespirit/anim/20220218/147_白天.zip", "spiritId": 147 } ], "scene": { "id": 1, "sceneUrl": "1", "sceneName": "女生场景", "status": 1, "createTime": "2022-10-19 17:21:41", "updateTime": "2022-10-19 17:21:45", "locked": 8, "jumpUrl": "", "sort": null, "locationTaskX": null, "locationTaskY": null, "locationAnimX": null, "locationAnimY": null, "locationElectricityX": null, "locationElectricityY": null, "locationVoiceX": null, "locationVoiceY": null, "locationCenterX": null, "locationCenterY": null, "locationSpiritX": null, "locationSpiritY": null, "locationBubble1X": null, "locationBubble1Y": null, "locationBubble2X": null, "locationBubble2Y": null, "locationBubble3X": null, "locationBubble3Y": null, "locationBubble4X": null, "locationBubble4Y": null, "locationBubble5X": null, "locationBubble5Y": null, "locationMyPhoneX": null, "locationMyPhoneY": null, "locationShieldX": null, "locationShieldY": null, "ivBg": null, "ivHouse": null, "ivTask": null, "ivVoice": null, "ivSpirit": null, "ivCenter": null, "ivAnim": null } }, "message": "操作成功" }