yinxing
Version:
42 lines (34 loc) • 1.47 kB
HTML
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta http-equiv="X-UA-Compatible" content="ie=edge">
<title>Document</title>
</head>
<body>
<form action="" method="post">
<textarea name="" id="sign" rows="8" cols="200"> </textarea>
<br/>
<button type="button" onclick="gen()">生成</button>
</form>
<hr />
<form action="" method="post">
<input type="text" name="SECRETID" id="SECRETID" value="AKIDEOJ44ea4y6afWpIrIzdcuYV52T81dHvqVKsD" />
<br/>
<input type="text" name="SECRETKEY" id="SECRETKEY" value="k66d99m4gs9f05x6vqgp2yrkrvpdemhhpnhj68FX" />
<br/>
<input type="text" name="SOURCE" id="SOURCE" value="ccc" />
<br/>
<input type="text" name="time" id="time" value='Sat, 15 Feb 2020 12:33:40 GMT' /> <button type="button" onclick="reset_time()">now</button>
<br/>
<textarea name="" id="sign1" rows="8" cols="200"> </textarea>
<button type="button" onclick="gen1()">生成</button>
</form>
<button type="button" onclick="test()">发请求</button>
</body>
<script src="https://cdn.bootcss.com/superagent/4.1.0-beta.1/superagent.min.js"></script>
<script src="https://cdn.bootcss.com/crypto-js/3.1.9/crypto-js.min.js"></script>
<!--script src="https://cdn.bootcss.com/crypto-js/3.1.9-1/hmac-sha1.min.js"></script-->
<script src="client-browser.js"></script>
</html>