088-取得配置(开关,协议,版本管理等)
开发中
POST
https://apip2.xuance365.com/login/get_start_config
"room_tools": 1, //直播间工具栏,1打开,0关闭
"constellation":1,// 星座开关,1打开,0关闭
"star_chart":0,// 星盘开关,1打开,0关闭
"dice": 1,//骰子开关,1打开,0关闭
"tarot": 1,//塔罗牌开关,1打开,0关闭
"ephemeris": 1,//星历开关,1打开,0关闭
"peidui": 1,//缘分鉴定开关,1打开,0关闭
"test": 1,//心理测试开关,1打开,0关闭
"chat_room": 1//聊天室开关,1打开,0关闭
原始图片URL:https://oss-console-img-demo-cn-hangzhou-3az.oss-cn-hangzhou.aliyuncs.com/example1.jpg
添加处理参数后的图片URL:https://oss-console-img-demo-cn-hangzhou-3az.oss-cn-hangzhou.aliyuncs.com/example1.jpg?x-oss-process=image/resize,p_50
等比例缩小:
在图片URL末尾添加?x-oss-process=image/resize,p_{percentage}时,OSS会实时处理该图片,并按指定的百分比进行等比例缩小,返回处理后的结果。image/resize表示进行缩放处理,p表示按 百分比缩放。p的取值范围为[1, 100]时表示按百分比缩小,p的取值必须为正整数。
更多用法参见:https://help.aliyun.com/zh/oss/user-guide/resize-images-4?spm=a2c4g.11186623.0.0.9dba4236I1bjNs#concept-hxj-c4n-vdb
请求参数
Query 参数
sys
string
必需
示例值:
harmony
ver
string
可选
示例值:
1.0.2
channel
string
可选
示例值:
ios
t
string
必需
示例值:
1715789824
sign
string
必需
示例值:
79e8cf0f98c4ccdfa597e6cc8d88ed9c
示例代码
返回响应
修改于 2025-03-31 02:41:52