文档
测试

充电-充电音乐

POST
http://localhost:8060/v1.0/charge/music/list

请求参数

参数名
类型
描述
必填
pageNum
int
示例:1
必填
pageSize
int
示例:20
必填
type
int
示例:1
必填

响应参数

参数名
类型
描述
必填
code
int
示例:200
必填
data
array
数据列表
必填
id
int
示例:3
必填
musicName
string
示例:音效3
必填
musicPath
string
示例:https://hqf-charge.oss-cn-hangzhou.aliyuncs.com/charge/mp3/14318.mp3?Expires=1632618118&OSSAccessKeyId=LTAI4G9XVwaxi9YAa1hbwsRj&Signature=MWwMwZezsaiRUtWauCrw2UxAe8o%3D
必填
musicState
int
示例:1
必填
createUserId
int
示例:2
必填
createTime
string
示例:2021-06-01 05:19:00
必填
updateTime
string
示例:2021-06-01 05:19:00
必填
thumbPath
string
示例:https://hqf-charge.oss-cn-hangzhou.aliyuncs.com/charge/mp3/%E5%B0%81%E9%9D%A2%E5%9B%BE/%E5%A4%AA%E7%A9%BA%E4%BA%BA2.png?Expires=1632618118&OSSAccessKeyId=LTAI4G9XVwaxi9YAa1hbwsRj&Signature=mDsxqZQlaYkvUYj5sc0XpDxW9gA%3D
必填
updateUserId
int
示例:2
必填
type
int
示例:1
必填
message
string
示例:操作成功
必填

说明 / 示例

public class ChargeMusic implements Serializable { private static final long serialVersionUID = 1L; @ApiModelProperty(value = "主键id") @TableId(value = "id", type = IdType.AUTO) private Integer id; @ApiModelProperty(value = "音效名称") private String musicName; @ApiModelProperty(value = "音效秒速") private String musicDesc; @ApiModelProperty(value = "音效时长") private Integer musicTime; @ApiModelProperty(value = "状态[0:编辑 1:发布 2:下架]") private Integer musicState; @ApiModelProperty(value = "创建人id") private Integer createUserId; @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss") @ApiModelProperty(value = "创建时间") @TableField(fill = FieldFill.INSERT) private Date createTime; @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss") @ApiModelProperty(value = "更新时间") @TableField(fill = FieldFill.INSERT_UPDATE) private Date updateTime; @ApiModelProperty(value = "缩略图地址") private String thumbPath; @ApiModelProperty(value = "修改人id") private Integer updateUserId; @ApiModelProperty(value = "来电类型 1为充电,2为拔掉电") private Integer type; }