Commit 8ab26aa7 authored by 姜登's avatar 姜登

gjjapi

parent 6de03fe6
Pipeline #6856 passed with stage
in 2 seconds
......@@ -32,7 +32,7 @@ module.exports = {
this.body = { code: -1, msg: '请求参数有误' };
return;
}
if (!/token/.test(err.message)) {
if (!/token|appKey/.test(err.message)) {
if (/[a-zA-Z]+/.test(err.message)) {
this.body = { code: err.code || -1, msg: '系统错误, 请稍后再试' };
return;
......
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