Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
O
oto
Project
Project
Details
Activity
Releases
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
龚小红
oto
Commits
80034ba3
Commit
80034ba3
authored
May 30, 2022
by
龚小红
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'Feature/20220530-gxh' into 'master'
Feature/20220530 gxh See merge request
!4
parents
9f9f6086
e1074abb
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
1 addition
and
76 deletions
+1
-76
Authorization.java
src/test/java/com/oto/cases/admin/Authorization.java
+0
-35
BasicConfig.java
src/test/java/com/oto/config/BasicConfig.java
+1
-41
uploadCase.mp4
src/test/java/com/oto/resource/uploadCase.mp4
+0
-0
No files found.
src/test/java/com/oto/cases/admin/Authorization.java
View file @
80034ba3
...
@@ -50,39 +50,4 @@ public interface Authorization {
...
@@ -50,39 +50,4 @@ public interface Authorization {
}
}
// 获取访客tku:Su Yi
default
void
userTku
()
{
network
.
agentCookies
.
put
(
TKU_COOKIE_NAME
,
VISITOR_UserTku
);
System
.
out
.
println
(
"访客一tku:"
+
VISITOR_UserTku
);
}
// 获取访客tku:请勿打扰
default
void
userTku1
()
{
network
.
agentCookies
.
put
(
TKU_COOKIE_NAME
,
VISITOR_TKU
);
System
.
out
.
println
(
"访客二tku:"
+
VISITOR_TKU
);
}
// 获取访客tku:Ryan
default
void
userTku2
()
{
network
.
agentCookies
.
put
(
TKU_COOKIE_NAME
,
VISITOR1_TKU
);
System
.
out
.
println
(
"访客三tku:"
+
VISITOR1_TKU
);
}
// 获取访客tku:向日葵
default
void
userTku3
()
{
network
.
agentCookies
.
put
(
TKU_COOKIE_NAME
,
VISITOR2_TKU
);
System
.
out
.
println
(
"访客四tku:"
+
VISITOR2_TKU
);
}
// 获取访客tku:小葡萄
default
void
newUser1
()
{
network
.
agentCookies
.
put
(
TKU_COOKIE_NAME
,
tku1
);
System
.
out
.
println
(
"新用户小葡萄tku:"
+
tku1
);
}
// 获取访客tku:小米粥
default
void
newUser2
()
{
network
.
agentCookies
.
put
(
TKU_COOKIE_NAME
,
tku2
);
System
.
out
.
println
(
"新用户米粥tku:"
+
tku2
);
}
}
}
src/test/java/com/oto/config/BasicConfig.java
View file @
80034ba3
...
@@ -29,68 +29,28 @@ public class BasicConfig {
...
@@ -29,68 +29,28 @@ public class BasicConfig {
public
static
String
VISITOR2_TKU
=
"2LYYwKJ1AqodEgCNM1c5ELXqhopphgtgqJgFo2jF3S9pexv9m2j5oGrwmxPuLHzuJfz1Rwb93FrZ1vmt"
;
public
static
String
VISITOR2_TKU
=
"2LYYwKJ1AqodEgCNM1c5ELXqhopphgtgqJgFo2jF3S9pexv9m2j5oGrwmxPuLHzuJfz1Rwb93FrZ1vmt"
;
// 基础线代理人(xxx),sid: 3844
// 基础线代理人(xxx),sid: 3844
public
static
String
AGENT2_TKU
=
"T3gM31f18jCfGaPSWPdym4Tn1bVYCTxrdndNe7hfwWrSpFCcXxnzbW81VZG9nT2gT8MMB52bE2rguiXBDL"
;
public
static
String
AGENT2_TKU
=
"T3gM31f18jCfGaPSWPdym4Tn1bVYCTxrdndNe7hfwWrSpFCcXxnzbW81VZG9nT2gT8MMB52bE2rguiXBDL"
;
// 访客的sids
public
static
final
String
sids
=
"Kj21MjMwNTU"
;
// 访客(SuYi) userID:4425
// 访客(SuYi) userID:4425
public
static
String
VISITOR_UserTku
=
"T3gM31f18jAW2hicRDxbwHFSuwA4MMVLLeHZ5G4yvb3sz6YRdcqKfzRJ8dMnfqDmgS8EprRjhFpXPFLBvp"
;
public
static
String
VISITOR_UserTku
=
"T3gM31f18jAW2hicRDxbwHFSuwA4MMVLLeHZ5G4yvb3sz6YRdcqKfzRJ8dMnfqDmgS8EprRjhFpXPFLBvp"
;
// 钉钉机器人 线上-告警群
// 钉钉机器人 线上-告警群
public
static
final
String
dingTalkPath
=
"https://oapi.dingtalk.com/robot/send?access_token=f63c9cb36e89dd68e9af82d926933b3afc6544e57b23a3a55ed5b3b772d5e8d2"
;
public
static
final
String
dingTalkPath
=
"https://oapi.dingtalk.com/robot/send?access_token=e6fc528a3a5991ba74d800c9b1688bf5e0f4f88864ec92da777f84c260181407"
;
//小葡萄的openId
public
static
final
String
openId1
=
"osi5w5kT-smQ42Fc-ByO4G8C-E1M"
;
//小米粥的openId
public
static
final
String
openId2
=
"osi5w5pEY4SxORlLJEE4FkyxQ9E4"
;
/*******OTO销售工作台*********/
/*******OTO销售工作台*********/
public
static
final
String
OTO_TKU
=
"4yrzAfNog7WE527NKCNmqBqph48N7mWR9J49QYysZmKYC3DF97hQFap7RphynF3GFXLhp7GFZ35mc"
;
public
static
final
String
OTO_TKU
=
"4yrzAfNog7WE527NKCNmqBqph48N7mWR9J49QYysZmKYC3DF97hQFap7RphynF3GFXLhp7GFZ35mc"
;
// *************** 客集集域名 ***************
// *************** 客集集域名 ***************
public
static
final
String
HOST
=
"https://kjj.m.duibatest.com.cn"
;
public
static
final
String
HOST
=
"https://kjj.m.duibatest.com.cn"
;
public
static
final
String
ACTIVITY_HOST
=
"https://kjj-activity.duibatest.com.cn"
;
public
static
final
String
SSO_HOST
=
"https://sso.duibatest.com.cn"
;
public
static
final
String
SSO_HOST
=
"https://sso.duibatest.com.cn"
;
public
static
final
String
MANAGER_HOST
=
"https://kjj-mng.duibatest.com.cn"
;
public
static
final
String
MANAGER_HOST
=
"https://kjj-mng.duibatest.com.cn"
;
public
static
final
String
MOBILE_HOST
=
"https://live.duibatest.com.cn"
;
public
static
final
String
MOBILE_HOST
=
"https://live.duibatest.com.cn"
;
public
static
final
String
MOBILE_SPOKEHOST
=
"https://tt.duibatest.com.cn"
;
public
static
final
String
CORP_HOST
=
"https://kjj-corp.duibatest.com.cn"
;
public
static
final
String
WORK_HOST
=
"https://kjj-work.duibatest.com.cn"
;
public
static
final
String
WORK_HOST
=
"https://kjj-work.duibatest.com.cn"
;
public
static
final
String
FORM_HOST
=
"https://kjj-static.duibatest.com.cn"
;
public
static
final
String
FORM_HOST
=
"https://kjj-static.duibatest.com.cn"
;
public
static
final
String
PHONE_HOST
=
"https://kjj-auth.duibatest.com.cn"
;
public
static
final
String
PHONE_HOST
=
"https://kjj-auth.duibatest.com.cn"
;
// *************** 公共 ***************
public
static
final
String
version_info
=
HOST
+
"/kjy/mp/version/info"
;
public
static
final
String
USER_INFO
=
HOST
+
"/kjy/mp/user/info"
;
public
static
final
String
FORWARD
=
HOST
+
"/kjy/mp/forward"
;
public
static
final
String
GETSCID
=
HOST
+
"/kjy/mp/seller/getScId"
;
public
static
final
String
HASALREADYLIKE
=
HOST
+
"/kjy/mp/interaction/hasAlreadyLike"
;
public
static
final
String
CHECKUNREAD
=
HOST
+
"/kjy/mp/chat/checkUnread"
;
public
static
final
String
INTERACTION_LIKE
=
HOST
+
"/kjy/mp/interaction/like"
;
public
static
final
String
GETTIPSBYPAGE
=
HOST
+
"/kjy/mp/tips/getTipsByPage"
;
public
static
final
String
USING_VERSION
=
HOST
+
"/kjy/mp/version/getInUseVersion"
;
public
static
final
String
LAYER_RENEW
=
HOST
+
"/kjy/mp/layer/renew"
;
public
static
final
String
DISTRIBUTION_LAYER
=
HOST
+
"/kjy/sp/seller/distributionLayer"
;
public
static
final
String
ROOKIECLUEGUIDE
=
HOST
+
"/kjy/mp/rookieGuide/clueGuide"
;
public
static
final
String
VISITHEADER
=
HOST
+
"/kjj/visit/header"
;
public
static
final
String
SELLERWEEKLY
=
HOST
+
"/kjy/mp/whoSawMe/sellerWeekly"
;
public
static
final
String
WEEKLY_LIST
=
HOST
+
"/kjy/mp/seller/weekly/list"
;
public
static
final
String
NEWFUNC_FIRSTVISIT
=
HOST
+
"/kjy/mp/newFunction/sellerFirstVisit"
;
public
static
final
String
QRCODE_create
=
HOST
+
"/kjy/mp/qrcode/create"
;
public
static
final
String
UPLOAD_image
=
HOST
+
"/kjy/mp/upload/image"
;
public
static
final
String
DYNAMIC_addVisit
=
HOST
+
"/kjy/mp/seller/dynamic/addVisit"
;
public
static
final
String
ROOKIEGUIDE_homeGuide
=
HOST
+
"/kjy/mp/rookieGuide/homeGuide"
;
public
static
final
String
CONTENT_visit
=
HOST
+
"/kjj/content/clue/visit"
;
//新的访问接口
// *************** 管理后台 ***************
// *************** 管理后台 ***************
public
static
final
String
SSO_doLogin
=
SSO_HOST
+
"/doLogin"
;
public
static
final
String
SSO_doLogin
=
SSO_HOST
+
"/doLogin"
;
public
static
final
String
MANAGER_adminInfo
=
MANAGER_HOST
+
"/kjy/manager/admin/info"
;
public
static
final
String
MANAGER_adminInfo
=
MANAGER_HOST
+
"/kjy/manager/admin/info"
;
public
static
final
String
MANAGER_ID_ENCODE
=
MANAGER_HOST
+
"/kjy/manager/testUser/encode"
;
public
static
final
String
MANAGER_ID_ENCODE
=
MANAGER_HOST
+
"/kjy/manager/testUser/encode"
;
public
static
final
String
MANAGER_ID_DECODE
=
MANAGER_HOST
+
"/kjy/manager/testUser/decode"
;
public
static
final
String
MANAGER_ID_DECODE
=
MANAGER_HOST
+
"/kjy/manager/testUser/decode"
;
public
static
final
String
MANAGER_disableUser
=
MANAGER_HOST
+
"/kjy/manager/testUser/disableUser"
;
public
static
final
String
MANAGER_updateTypeOrDate
=
MANAGER_HOST
+
"/kjy/manager/seller/updateTypeOrDate"
;
public
static
final
String
MANAGER_oamsg
=
HOST
+
"/kjy/notify/oamsg"
;
public
static
final
String
MANAGER_encryptTku
=
MANAGER_HOST
+
"/kjy/manager/testUser/encryptTku"
;
public
static
final
String
MANAGER_changeCompany
=
MANAGER_HOST
+
"/kjy/manager/seller/changeCompany"
;
//*************** 自动化用户 ***************
//*************** 自动化用户 ***************
public
static
final
String
TEST_testerSave
=
MOBILE_HOST
+
"/test/user/test/save"
;
public
static
final
String
TEST_testerSave
=
MOBILE_HOST
+
"/test/user/test/save"
;
...
...
src/test/java/com/oto/resource/uploadCase.mp4
deleted
100644 → 0
View file @
9f9f6086
File deleted
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