Authored by zhuxj

添加image的quality参数

@@ -51,7 +51,7 @@ POST @@ -51,7 +51,7 @@ POST
51 | clearcache | 里面有image(清空图片), data(清空数据缓存), init(初始化), code(本次清除的唯一码) | object | 1:清除 0 :不清除 | 51 | clearcache | 里面有image(清空图片), data(清空数据缓存), init(初始化), code(本次清除的唯一码) | object | 1:清除 0 :不清除 |
52 | https | 开启或者关闭https,默认关闭| string | 1:开启 0 :关闭 | 52 | https | 开启或者关闭https,默认关闭| string | 1:开启 0 :关闭 |
53 | performance | 开启或者关闭性能上报统计,默认开启| string | 1:开启 0 :关闭 | 53 | performance | 开启或者关闭性能上报统计,默认开启| string | 1:开启 0 :关闭 |
54 - 54 +| imageQ | 图片分别在4G/WIFI,3G,2G的quality,默认85,50,30 | imageQ:85,50,30 |
55 **JSON格式:** 55 **JSON格式:**
56 ``` 56 ```
57 { 57 {
@@ -63,6 +63,7 @@ POST @@ -63,6 +63,7 @@ POST
63 "format":"webp", 63 "format":"webp",
64 "https":"0", 64 "https":"0",
65 "performance":"1", 65 "performance":"1",
  66 + "imageQ":"85,50,30",
66 "clearcache":{ 67 "clearcache":{
67 "image":1, 68 "image":1,
68 "data":1, 69 "data":1,