|
|
@@ -40,7 +40,7 @@
|
|
|
<script th:replace="/common/template :: script"></script>
|
|
|
<script th:src="@{/js/login.js}" charset="utf-8"></script>
|
|
|
<script type="text/javascript">
|
|
|
- function getCaptcha(){
|
|
|
+ /*function getCaptcha(){
|
|
|
var captchaImg = document.getElementById("captchaImg");
|
|
|
$.get('/api/account/code/captcha', function (json) {
|
|
|
if (json.code === 0) {
|
|
|
@@ -50,13 +50,13 @@
|
|
|
});
|
|
|
}
|
|
|
})
|
|
|
- }
|
|
|
+ }*/
|
|
|
function getPubkey(){
|
|
|
$.get('/api/account/code/pubkey', function (json) {
|
|
|
if (json.code === 0) {
|
|
|
localStorage.setItem("pubkey", json.data.pubkey)
|
|
|
localStorage.setItem("pubkeyR", json.data.r)
|
|
|
- getCaptcha()
|
|
|
+ //getCaptcha()
|
|
|
} else {
|
|
|
layer.alert(json.msg, function(){
|
|
|
});
|