Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
S
study
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
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Li Yongyu
study
Commits
220124a2
Commit
220124a2
authored
Mar 12, 2019
by
Li Yongyu
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
update
parent
5c704150
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
8 additions
and
17 deletions
+8
-17
MyNewMail.java
...enter_Api_auto_test/src/com/offcn/TestUnti/MyNewMail.java
+4
-4
class.properties
studycenter_Api_auto_test/src/resources/class.properties
+2
-11
system.xml
studycenter_Api_auto_test/src/resources/system.xml
+2
-2
No files found.
studycenter_Api_auto_test/src/com/offcn/TestUnti/MyNewMail.java
View file @
220124a2
...
@@ -52,7 +52,7 @@ public class MyNewMail {
...
@@ -52,7 +52,7 @@ public class MyNewMail {
// 收件人邮箱(替换为自己知道的有效邮箱)
// 收件人邮箱(替换为自己知道的有效邮箱)
// public static String receiveMailAccount = "liyongyu@offcn.com";//rmscrum.list@finupgroup.com
// public static String receiveMailAccount = "liyongyu@offcn.com";//rmscrum.list@finupgroup.com
public
static
String
receiveMailAccount
=
"
yaoshuai
@offcn.com"
;
//rmscrum.list@finupgroup.com
public
static
String
receiveMailAccount
=
"
liyongyu
@offcn.com"
;
//rmscrum.list@finupgroup.com
public
static
void
POP3
()
throws
Exception
{
public
static
void
POP3
()
throws
Exception
{
// 1. 创建参数配置, 用于连接邮件服务器的参数配置
// 1. 创建参数配置, 用于连接邮件服务器的参数配置
...
@@ -132,7 +132,7 @@ public class MyNewMail {
...
@@ -132,7 +132,7 @@ public class MyNewMail {
// 4. Subject: 邮件主题
// 4. Subject: 邮件主题
Date
date
=
new
Date
();
Date
date
=
new
Date
();
String
time
=
new
SimpleDateFormat
(
"yyyyMMdd"
).
format
(
date
);
String
time
=
new
SimpleDateFormat
(
"yyyyMMdd"
).
format
(
date
);
message
.
setSubject
(
"
题库app
接口自动化测试报告-"
+
time
,
"UTF-8"
);
message
.
setSubject
(
"
在线课堂
接口自动化测试报告-"
+
time
,
"UTF-8"
);
/*
/*
* 下面是邮件内容的创建:
* 下面是邮件内容的创建:
...
@@ -277,14 +277,14 @@ public class MyNewMail {
...
@@ -277,14 +277,14 @@ public class MyNewMail {
public
static
InternetAddress
[]
parseAddress
(
String
personnel
){
public
static
InternetAddress
[]
parseAddress
(
String
personnel
){
String
addr
=
""
;
String
addr
=
""
;
if
(
"all"
.
equals
(
personnel
)){
if
(
"all"
.
equals
(
personnel
)){
addr
=
"
wufeifei66504
@offcn.com"
;
addr
=
"
liyongyu
@offcn.com"
;
// addr="mengrui60355@offcn.com;wufeifei66504@offcn.com;liyongyu@offcn.com;"
// addr="mengrui60355@offcn.com;wufeifei66504@offcn.com;liyongyu@offcn.com;"
// +"mazengli@offcn.com;wangzhipeng53655@offcn.com;liuchungang@offcn.com;"
// +"mazengli@offcn.com;wangzhipeng53655@offcn.com;liuchungang@offcn.com;"
// + "liyongyu@offcn.com;zhanghua54164@offcn.com;liwendong@offcn.com;"
// + "liyongyu@offcn.com;zhanghua54164@offcn.com;liwendong@offcn.com;"
// + "zhangshijie62302@offcn.com;baimanbin@offcn.com";
// + "zhangshijie62302@offcn.com;baimanbin@offcn.com";
}
else
{
}
else
{
addr
=
"
wufeifei66504
@offcn.com"
;
addr
=
"
liyongyu
@offcn.com"
;
// addr="mengrui60355@offcn.com;wufeifei66504@offcn.com;liyongyu@offcn.com";
// addr="mengrui60355@offcn.com;wufeifei66504@offcn.com;liyongyu@offcn.com";
}
}
...
...
studycenter_Api_auto_test/src/resources/class.properties
View file @
220124a2
xyzb
=
com.offcn.api.xyzb.
tk
=
com.offcn.api.tk.
nwn
=
com.offcn.api.nwn.
nwn_service
=
com.offcn.api.nwn.service.
nwn_ht
=
com.offcn.api.nwn.ht.
nwnht
=
com.offcn.api.nwn.
nwngg
=
com.offcn.api.nwn.
tkapp
=
com.offcn.api.tk.app
tkht
=
com.offcn.api.tk.ht
study
=
com.offcn.api.study.
study
=
com.offcn.api.study.
studyapi
=
com.offcn.api.study.studyapi.
study_api
=
com.offcn.api.study.studyapi.
\ No newline at end of file
\ No newline at end of file
studycenter_Api_auto_test/src/resources/system.xml
View file @
220124a2
...
@@ -16,7 +16,7 @@
...
@@ -16,7 +16,7 @@
<sqlname>
zxkt
</sqlname>
<sqlname>
zxkt
</sqlname>
<sqlpwd>
WWCsss2131jjjjjJJJD
</sqlpwd>
<sqlpwd>
WWCsss2131jjjjjJJJD
</sqlpwd>
</system>
</system>
<
system
name=
"studyapi"
>
<!-- 学习中心 -->
<
!-- <system name="studyapi">学习中心
<access_token_uri>http://106.75.5.205:8082/uaa/oauth/token</access_token_uri>
<access_token_uri>http://106.75.5.205:8082/uaa/oauth/token</access_token_uri>
<client_id>bestbuy-acceptance</client_id>
<client_id>bestbuy-acceptance</client_id>
<client_secret>bestbuy-acceptance</client_secret>
<client_secret>bestbuy-acceptance</client_secret>
...
@@ -30,7 +30,7 @@
...
@@ -30,7 +30,7 @@
<sqlurl>jdbc:mysql://rm-2zevlk47ul0ovuci80o.mysql.rds.aliyuncs.com:3306/zxkt?useUnicode=true&characterEncoding=UTF-8&zeroDateTimeBehavior=convertToNull</sqlurl>
<sqlurl>jdbc:mysql://rm-2zevlk47ul0ovuci80o.mysql.rds.aliyuncs.com:3306/zxkt?useUnicode=true&characterEncoding=UTF-8&zeroDateTimeBehavior=convertToNull</sqlurl>
<sqlname>zxkt</sqlname>
<sqlname>zxkt</sqlname>
<sqlpwd>WWCsss2131jjjjjJJJD</sqlpwd>
<sqlpwd>WWCsss2131jjjjjJJJD</sqlpwd>
</system>
</system>
-->
<system
name=
"xyzb"
>
<!-- 小雨直播 -->
<system
name=
"xyzb"
>
<!-- 小雨直播 -->
<access_token_uri>
http://106.75.5.205:8082/uaa/oauth/token
</access_token_uri>
<access_token_uri>
http://106.75.5.205:8082/uaa/oauth/token
</access_token_uri>
<client_id>
bestbuy-acceptance
</client_id>
<client_id>
bestbuy-acceptance
</client_id>
...
...
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