1.login
This commit is contained in:
parent
b0a584f99a
commit
a24ace5245
|
@ -0,0 +1,15 @@
|
|||
FROM openjdk:17-slim
|
||||
|
||||
|
||||
#对时作用
|
||||
RUN ln -sf /usr/share/zoneinfo/Asia/Shanghai /etc/localtime
|
||||
|
||||
#目录是终端默认在此目录下
|
||||
WORKDIR /test
|
||||
|
||||
EXPOSE 8081
|
||||
#如果是到文件夹后面必须加上「/」,不然会找不到文件,./代表当前目录即是/test 目录
|
||||
COPY ./target/login.jar ./app/
|
||||
|
||||
#poi.jar 包就会在根目录/test/app/poi.jar 下
|
||||
CMD java -jar ./app/login.jar
|
1
pom.xml
1
pom.xml
|
@ -44,6 +44,7 @@
|
|||
</dependencies>
|
||||
|
||||
<build>
|
||||
<finalName>login</finalName>
|
||||
<plugins>
|
||||
<plugin>
|
||||
<groupId>org.springframework.boot</groupId>
|
||||
|
|
|
@ -244,9 +244,9 @@
|
|||
<div class="container__form container--signup">
|
||||
<form action="#" class="form" id="form1">
|
||||
<h2 class="form__title">Sign Up</h2>
|
||||
<input id="loginUser" type="text" placeholder="用户名" class="input" />
|
||||
<input id="loginPsd" type="password" placeholder="密码" class="input" />
|
||||
<button class="btn">登录</button>
|
||||
<input id="loginUser" type="text" placeholder="User Name" class="input" />
|
||||
<input id="loginPsd" type="password" placeholder="Password" class="input" />
|
||||
<button class="btn">Sign In</button>
|
||||
</form>
|
||||
</div>
|
||||
|
||||
|
@ -319,12 +319,14 @@
|
|||
+ data.yhm + '&sign='
|
||||
+ data.sign + '×tamp='
|
||||
+ data.timestamp
|
||||
+ '&account=' + data.account;
|
||||
+ '&account=' + data.account
|
||||
+ '&veLang=enus'
|
||||
;
|
||||
}
|
||||
})
|
||||
}else{
|
||||
// 调用 showErrorToast 函数来展示错误信息
|
||||
showToast("用户名或密码错误.", "error")
|
||||
showToast("Incorrect username or password.", "error")
|
||||
}
|
||||
})
|
||||
|
||||
|
|
Loading…
Reference in New Issue