去除多余代码

This commit is contained in:
cool 2024-03-08 16:48:54 +08:00
parent 27e2402707
commit 2d933364f3

View File

@ -39,7 +39,7 @@ export class BaseSysLogService extends BaseService {
sysLog.ip = typeof ip === 'string' ? ip : ip.join(',');
const ipAddrArr = [];
for (const e of sysLog.ip.split(','))
ipAddrArr.push(await await this.utils.getIpAddr(context, e));
ipAddrArr.push(await this.utils.getIpAddr(context, e));
sysLog.ipAddr = ipAddrArr.join(',');
sysLog.action = url.split('?')[0];
sysLog.params = params;