Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Q
qa-platform
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
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
QA
qa-platform
Commits
239dfe37
Commit
239dfe37
authored
Apr 29, 2021
by
黎博
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修复bug
parent
3062ffa8
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
8 deletions
+3
-8
VccGenController.java
.../qg/qaplatform/zdata/controller/vcc/VccGenController.java
+0
-3
VccDataServiceImpl.java
...qaplatform/zdata/service/vcc/impl/VccDataServiceImpl.java
+3
-5
No files found.
src/main/java/cn/qg/qaplatform/zdata/controller/vcc/VccGenController.java
View file @
239dfe37
...
@@ -26,9 +26,6 @@ public class VccGenController {
...
@@ -26,9 +26,6 @@ public class VccGenController {
if
(
status
!=
1
&&
status
!=
2
&&
status
!=
3
&&
status
!=
4
)
{
if
(
status
!=
1
&&
status
!=
2
&&
status
!=
3
&&
status
!=
4
)
{
return
JsonResult
.
clientFailed
(
"状态值必须是1、2、3、4中的一个!"
);
return
JsonResult
.
clientFailed
(
"状态值必须是1、2、3、4中的一个!"
);
}
}
// if (!channel.equals("214") && !channel.equals("217")) {
// return JsonResult.clientFailed("渠道必须为214或217");
// }
VccOpenResultVo
result
=
vccDataService
.
makeVccUser
(
namespace
,
phoneNo
,
channel
,
status
);
VccOpenResultVo
result
=
vccDataService
.
makeVccUser
(
namespace
,
phoneNo
,
channel
,
status
);
if
(
result
==
null
)
{
if
(
result
==
null
)
{
return
JsonResult
.
serverFailed
();
return
JsonResult
.
serverFailed
();
...
...
src/main/java/cn/qg/qaplatform/zdata/service/vcc/impl/VccDataServiceImpl.java
View file @
239dfe37
...
@@ -52,12 +52,10 @@ public class VccDataServiceImpl implements VccDataService {
...
@@ -52,12 +52,10 @@ public class VccDataServiceImpl implements VccDataService {
String
vccChannel
=
null
;
String
vccChannel
=
null
;
if
(
openedChannel
.
equals
(
"214"
))
{
if
(
openedChannel
.
equals
(
"214"
))
{
vccChannel
=
"159904"
;
vccChannel
=
"159904"
;
}
}
else
if
(
openedChannel
.
equals
(
"217"
))
{
if
(
openedChannel
.
equals
(
"217"
))
{
vccChannel
=
"159905"
;
vccChannel
=
"159905"
;
}
}
else
{
if
(
vccChannel
==
null
)
{
vccChannel
=
openedChannel
;
return
null
;
}
}
// 登录
// 登录
Map
loginResult
=
Vcc
.
login
(
namespace
,
phoneNo
,
openedChannel
,
openedChannel
);
Map
loginResult
=
Vcc
.
login
(
namespace
,
phoneNo
,
openedChannel
,
openedChannel
);
...
...
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