Commit d1a82021 by 王悦

去掉冗余代码

parent 1ec73e28
...@@ -10,7 +10,7 @@ class AppServiceBase { ...@@ -10,7 +10,7 @@ class AppServiceBase {
} }
/** /**
* 验证签名 * 验证签名
* @param {*} params 要验证的参数 * @param {*} params 要验证的参数
* @param {*} app_key 应用的校验key * @param {*} app_key 应用的校验key
*/ */
async verifySign(params, app_key) { async verifySign(params, app_key) {
...@@ -98,5 +98,13 @@ class AppServiceBase { ...@@ -98,5 +98,13 @@ class AppServiceBase {
} }
return uuid.join(''); return uuid.join('');
} }
getResult(uuid,msg){
return {
"requestId": uuid,
"success": !msg,
"errorMsg": msg||"",
"errorCode": "ok"
};
}
} }
module.exports = AppServiceBase; module.exports = AppServiceBase;
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