Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
dj
/
rop-dj-strategy
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit dcfa1934
authored
Jan 28, 2026
by
林永健
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
fix(controller): 修正日志输出和测试参数
1 parent
1d5b4513
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
4 deletions
src/main/java/cn/com/glsx/dj/strategy/controller/MerchantStaffController.java
src/test/java/cn/com/glsx/dj/strategy/controller/MerchantStaffControllerTest.java
src/main/java/cn/com/glsx/dj/strategy/controller/MerchantStaffController.java
View file @
dcfa193
...
@@ -89,8 +89,8 @@ public class MerchantStaffController {
...
@@ -89,8 +89,8 @@ public class MerchantStaffController {
throw
new
RpcServiceException
(
DefaultErrorEnum
.
SERVER_ERROR
,
"查询4s店关联的园区店失败"
);
throw
new
RpcServiceException
(
DefaultErrorEnum
.
SERVER_ERROR
,
"查询4s店关联的园区店失败"
);
}
}
Integer
yqMerchantId
=
yqMerchantInfo
.
getResult
().
getMerchantId
();
Integer
yqMerchantId
=
yqMerchantInfo
.
getResult
().
getMerchantId
();
log
.
info
(
"查询4s店关联的园区店成功,merchantId:{}, scene:{}"
,
yqMerchantId
,
scene
);
request
.
setYqMerchantId
(
yqMerchantId
);
request
.
setYqMerchantId
(
yqMerchantId
);
log
.
info
(
"查询4s店关联的园区店成功,merchantId:{}, ydMerchantId:{}, scene:{}"
,
request
.
getMerchantId
(),
request
.
getYqMerchantId
(),
scene
);
// 查询手机号员工是否已存在
// 查询手机号员工是否已存在
MerchantStaffListRequest
staffQuery
=
new
MerchantStaffListRequest
();
MerchantStaffListRequest
staffQuery
=
new
MerchantStaffListRequest
();
...
...
src/test/java/cn/com/glsx/dj/strategy/controller/MerchantStaffControllerTest.java
View file @
dcfa193
...
@@ -15,9 +15,9 @@ public class MerchantStaffControllerTest extends BaseControllerTest {
...
@@ -15,9 +15,9 @@ public class MerchantStaffControllerTest extends BaseControllerTest {
MultiValueMap
<
String
,
String
>
params
=
new
LinkedMultiValueMap
<
String
,
String
>(
4
);
MultiValueMap
<
String
,
String
>
params
=
new
LinkedMultiValueMap
<
String
,
String
>(
4
);
params
.
add
(
"v"
,
"1.0.0"
);
params
.
add
(
"v"
,
"1.0.0"
);
params
.
add
(
"method"
,
"dj.api.strategy.merchant.staff.add"
);
params
.
add
(
"method"
,
"dj.api.strategy.merchant.staff.add"
);
params
.
add
(
"merchantId"
,
"44
190245
"
);
params
.
add
(
"merchantId"
,
"44
211547
"
);
params
.
add
(
"staffPhone"
,
"1
7875511832
"
);
params
.
add
(
"staffPhone"
,
"1
3553300001
"
);
params
.
add
(
"staffName"
,
"
林永健test002
"
);
params
.
add
(
"staffName"
,
"
lyjtest001
"
);
params
.
add
(
"staffLabel"
,
"0"
);
params
.
add
(
"staffLabel"
,
"0"
);
System
.
out
.
println
(
post
(
params
));
System
.
out
.
println
(
post
(
params
));
}
}
...
...
Write
Preview
Markdown
is supported
Attach a file
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 post a comment