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
245037dd
Commit
245037dd
authored
Sep 10, 2021
by
黎博
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
优化vcc造数据接口
parent
740d9758
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
1 deletion
+8
-1
VccController.java
.../cn/qg/qaplatform/controller/zdata/vcc/VccController.java
+8
-1
No files found.
src/main/java/cn/qg/qaplatform/controller/zdata/vcc/VccController.java
View file @
245037dd
...
@@ -67,6 +67,7 @@ public class VccController {
...
@@ -67,6 +67,7 @@ public class VccController {
* @param phoneNo 手机号
* @param phoneNo 手机号
* @param channel 渠道号
* @param channel 渠道号
* @param status 状态,1-授信成功,2-授信失败,3-开户成功,4-开户失败
* @param status 状态,1-授信成功,2-授信失败,3-开户成功,4-开户失败
* @param amount 授信金额
* @return
* @return
* @throws Exception
* @throws Exception
*/
*/
...
@@ -185,7 +186,13 @@ public class VccController {
...
@@ -185,7 +186,13 @@ public class VccController {
// 基本信息
// 基本信息
Vcc
.
basicInfo
(
namespace
,
token
,
vccChannel
);
Vcc
.
basicInfo
(
namespace
,
token
,
vccChannel
);
// 发送验证码
// 发送验证码
String
requestId
=
Vcc
.
bindCardSms
(
namespace
,
token
,
vccChannel
,
"ABC"
,
"6228272537046278993"
);
String
requestId
;
try
{
requestId
=
Vcc
.
bindCardSms
(
namespace
,
token
,
vccChannel
,
"ABC"
,
"6228272537046278993"
);
}
catch
(
Exception
e
)
{
e
.
printStackTrace
();
return
Result
.
buildErrorStateResult
(
"发送绑卡验证码接口异常,请检查gu-bei服务日志"
,
false
);
}
// 额度激活
// 额度激活
JSONObject
quotaActivationResult
=
Vcc
.
quotaActivation
(
namespace
,
token
,
vccChannel
,
"6228272537046278993"
,
requestId
);
JSONObject
quotaActivationResult
=
Vcc
.
quotaActivation
(
namespace
,
token
,
vccChannel
,
"6228272537046278993"
,
requestId
);
if
(
status
==
3
)
{
if
(
status
==
3
)
{
...
...
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