Commit 7e335e70 by zhaoxiqing

gsb

parent 79c97af3
......@@ -69,7 +69,7 @@ class ActionAPI extends APIBase {
case "autoSign":
// opResult = await this.userSve.info(action_body);
break;
case "test":
case "ceshi":
opResult = await this.enginsignSve.autoSign(action_body);
break;
default:
......@@ -113,6 +113,7 @@ class ActionAPI extends APIBase {
}
let sign = md5(signArr.join("&") + "&key=" + app.secret).toUpperCase();
console.log(sign);
console.log(params.sign, sign);
if (params.sign != sign) {
return system.getResultFail(1001001, "签名验证失败");
......
......@@ -15,7 +15,13 @@ class EngineSignService extends ServiceBase {
}
//二要素验证
/*
*二要素验证
* 姓名:id_name
*身份证:id_no
*
* */
async TwoFactorVerification(params) {
try {
return await this.callms("engine_auth", "TwoFactorVerification", params);
......@@ -24,7 +30,11 @@ class EngineSignService extends ServiceBase {
}
}
//三要素验证
/* 三要素验证
* 姓名:id_name
*身份证:id_no
*银行卡:bank_no
* */
async ThreeFactorVerification(params) {
try {
return await this.callms("engine_auth", "ThreeFactorVerification", params);
......@@ -33,7 +43,12 @@ class EngineSignService extends ServiceBase {
}
}
//四要素验证
/*四要素验证
* 姓名:id_name
*身份证:id_no
*银行卡:bank_no
*手机号:mobile
* */
async FourFactorVerification(params) {
try {
return await this.callms("engine_auth", "FourFactorVerification", params);
......
......@@ -183,7 +183,7 @@ class System {
// 用户服务
sve_uc: local + ":3651" + path,
// 商户服务
sve_merchant: local + ":3652" + path,
sve_merchant: dev + ":3652" + path,
// 订单服务
sve_order: dev + ":3653" + path,
}
......
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