Commit 596c2ee7 by linboxuan

print getVerifyCodeByMoblie fetchDefaultVCode

parent 10ce8a27
......@@ -26,6 +26,9 @@ class AccessAuthAPI extends APIBase {
var result = system.getResult(null, "get msg error");
if (itemResult.status != 0) {
result = await this.opPlatformUtils.fetchDefaultVCode(pobj.actionBody.mobile, pobj.appInfo.uapp_key, pobj.appInfo.uapp_secret);
console.log("--------------fetchDefaultVCode result start")
console.log(result);
console.log("--------------fetchDefaultVCode result end")
return result;
}
var param = {
......
......@@ -126,7 +126,7 @@ class OpPlatformUtils {
if (restResult.status != 0 || !restResult.data) {
return system.getResult(null, restResult.msg);
}
return system.getResultSuccess();
return system.getResultSuccess(restResult);
}
/**
* 创建用户信息
......
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