Commit 0c925a13 by 王昆

gsb

parent 83227084
......@@ -12,6 +12,9 @@ class AuthService extends ServiceBase {
}
async createAccount(params) {
try {
params.apiName = "sign@";
params.isFee = false;
// 验证参数
let idName = this.trim(params.idName);
let idNo = this.trim(params.idNo).toUpperCase();
......@@ -22,7 +25,6 @@ class AuthService extends ServiceBase {
if (!idNo) {
return system.getResultFail(1000000, "身份证错误");
}
params.apiName = "sign@";
return this.operatorSign(params, async (p) => {
// 调用创建账户API
let validRes = await this.enginesignSve.createAccount({
......@@ -39,11 +41,28 @@ class AuthService extends ServiceBase {
}
async createTemplate(params) {
try {
params.apiName = "sign@";
params.isFee = false;
} catch (error) {
return system.getResult(null, `系统错误 错误信息 ${error}`);
}
}
async handSign(params) {
try {
params.apiName = "sign@hand";
params.isFee = true;
} catch (error) {
return system.getResult(null, `系统错误 错误信息 ${error}`);
}
}
async sign(params) {
async autosign(params) {
params.apiName = "sign@auto";
params.isFee = true;
try {
} catch (error) {
return system.getResult(null, `系统错误 错误信息 ${error}`);
......
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