shuzheng 9 лет назад
Родитель
Сommit
7a0b84f874
1 измененных файлов с 19 добавлено и 0 удалено
  1. 19 0
      zheng-ui/zheng-oss-web/aliyun/upload.html

+ 19 - 0
zheng-ui/zheng-oss-web/aliyun/upload.html

@@ -0,0 +1,19 @@
+<!DOCTYPE html>
+<html xmlns:th="http://www.thymeleaf.org" xmlns:sec="http://www.thymeleaf.org/thymeleaf-extras-springsecurity3">
+<head>
+<meta charset="UTF-8"/>
+<title>zheng-oss-web AliyunOSS demo</title>
+</head>
+<body>
+<form action="http://shuzheng.oss-cn-shanghai.aliyuncs.com" method="post" enctype="multipart/form-data">
+<p>key : <input type="text" name="key" th:value="${policy.dir + '/${filename}'}"/></p>
+<p>policy : <input type="text" name="policy" th:value="${policy.policy}"/></p>
+<p>OSSAccessKeyId : <input type="text" name="OSSAccessKeyId" th:value="${policy.OSSAccessKeyId}"/></p>
+<p>success_action_status : <input type="text" name="success_action_status" value="200"/></p>
+<p>callback : <input type="text" name="callback" th:value="${policy.callback}"/></p>
+<p>signature : <input type="text" name="signature" th:value="${policy.signature}"/></p>
+<p>file : <input type="file" name="file"/></p>
+<p><input type="submit" value="上传"/></p>
+</form>
+</body>
+</html>