File tree Expand file tree Collapse file tree 1 file changed +5
-4
lines changed Expand file tree Collapse file tree 1 file changed +5
-4
lines changed Original file line number Diff line number Diff line change @@ -38,6 +38,7 @@ config.toml 文件读取顺序:<br>
3838upload="127.0.0.1:8087"
3939# 监听下载 server
4040download="127.0.0.1:8088"
41+
4142[upload]
4243form_field="upload" // 表单提交字段
4344allow_type = [".jpg", ".jpeg", ".png"] // 允许上传的图片格式
@@ -70,10 +71,10 @@ uri = "http://test.com:8088"
7071 "code":"1", // 1:success, 0:error
7172 "message":"", // error message
7273 "data":{
73- "image": "http://127.0.0.1:8087 /image/LYEDBYKAFGGRJUFL.png"
74- "image_200_200": "http://127.0.0.1:8087 /image/LYEDBYKAFGGRJUFL_200_200.png"
75- "image_200_400": "http://127.0.0.1:8087 /image/LYEDBYKAFGGRJUFL_200_400.png"
76- "image_300_300": "http://127.0.0.1:8087 /image/LYEDBYKAFGGRJUFL_300_300.png"
74+ "image": "http://test.com:8088 /image/LYEDBYKAFGGRJUFL.png"
75+ "image_200_200": "http://test.com:8088 /image/LYEDBYKAFGGRJUFL_200_200.png"
76+ "image_200_400": "http://test.com:8088 /image/LYEDBYKAFGGRJUFL_200_400.png"
77+ "image_300_300": "http://test.com:8088 /image/LYEDBYKAFGGRJUFL_300_300.png"
7778 }, // server image url
7879}
7980```
You can’t perform that action at this time.
0 commit comments