Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
X
xm-sportstest
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
xiamai-test
xm-sportstest
Commits
7c9f9f5a
Commit
7c9f9f5a
authored
Mar 16, 2024
by
yangfangfang
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
完善标签管理各种场景
parent
9dad5640
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
src/main/java/com/xiaomai/cases/polar/setting/TagTools.java
+4
-4
No files found.
src/main/java/com/xiaomai/cases/polar/setting/TagTools.java
View file @
7c9f9f5a
...
@@ -127,7 +127,7 @@ public class TagTools extends XMBaseTest {
...
@@ -127,7 +127,7 @@ public class TagTools extends XMBaseTest {
* @date: 2024/3/16 16:28
* @date: 2024/3/16 16:28
* @return: com.alibaba.fastjson.JSONObject
* @return: com.alibaba.fastjson.JSONObject
**/
**/
public
JSONObject
forceUpdate
(
String
memberId
,
String
name
,
String
phone
,
String
status
,
String
tag
s
,
DataUserInfo
...
dataUserInfos
)
{
public
JSONObject
forceUpdate
(
String
memberId
,
String
name
,
String
phone
,
String
status
,
String
tag
Id
,
DataUserInfo
...
dataUserInfos
)
{
dataApi
.
setApiModule
(
ApiModule
.
Polar_Clue
)
dataApi
.
setApiModule
(
ApiModule
.
Polar_Clue
)
.
setApiName
(
"API_forceUpdate"
)
.
setApiName
(
"API_forceUpdate"
)
...
@@ -143,9 +143,9 @@ public class TagTools extends XMBaseTest {
...
@@ -143,9 +143,9 @@ public class TagTools extends XMBaseTest {
dataJson
.
put
(
"status"
,
status
);
dataJson
.
put
(
"status"
,
status
);
dataJson
.
put
(
"studioId"
,
xmAppApi
.
getLoginInfo
().
getStudioId
());
dataJson
.
put
(
"studioId"
,
xmAppApi
.
getLoginInfo
().
getStudioId
());
List
list
=
new
ArrayList
();
List
tags
=
new
ArrayList
();
list
.
add
(
tags
);
tags
.
add
(
tagId
);
dataJson
.
put
(
"tags"
,
list
);
dataJson
.
put
(
"tags"
,
tags
);
dataApi
.
doRequest
(
RequestType
.
JSON
,
dataparams
,
dataJson
.
toJSONString
(),
dataheadrs
).
assetsSuccess
(
true
);
dataApi
.
doRequest
(
RequestType
.
JSON
,
dataparams
,
dataJson
.
toJSONString
(),
dataheadrs
).
assetsSuccess
(
true
);
JSONObject
response
=
dataApi
.
getBodyInJSON
();
JSONObject
response
=
dataApi
.
getBodyInJSON
();
...
...
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