Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
8
8timerapiv200
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
8timerv2
8timerapiv200
Commits
12a68dfc
Commit
12a68dfc
authored
4 years ago
by
邓实川
Committed by
chenzg
3 years ago
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
测试服务器邮件发送
parent
acdcc8a0
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
4 deletions
+3
-4
src/main/java/cn/timer/api/controller/LoginController.java
+1
-2
src/main/resources/application-test.yml
+2
-2
No files found.
src/main/java/cn/timer/api/controller/LoginController.java
View file @
12a68dfc
...
...
@@ -644,8 +644,7 @@ public class LoginController {
@GetMapping
(
value
=
"/band/{empNum}"
)
public
Result
<
Object
>
bandEmail
(
@PathVariable
Integer
empNum
)
{
boolean
result
=
QyzxEmpLogin
.
builder
().
id
(
empNum
).
emailStatus
(
1
).
build
().
updateById
();
if
(
result
)
{
if
(
QyzxEmpLogin
.
builder
().
id
(
empNum
).
emailStatus
(
1
).
build
().
updateById
())
{
return
ResultUtil
.
success
(
"绑定成功"
);
}
return
ResultUtil
.
error
(
"绑定失败"
);
...
...
This diff is collapsed.
Click to expand it.
src/main/resources/application-test.yml
View file @
12a68dfc
...
...
@@ -87,8 +87,8 @@ spring:
invert
:
false
# Whether images should be inverted for dark terminal themes.
mail
:
host
:
smtp.qq.com
username
:
password
:
username
:
544939826@qq.com
password
:
cxvkrjyjzfpbbbce
default-encoding
:
utf-8
# mybatis-plus
...
...
This diff is collapsed.
Click to expand it.
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment