Commit 245037dd authored by 黎博's avatar 黎博

优化vcc造数据接口

parent 740d9758
...@@ -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) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment