mirror of
https://github.com/cool-team-official/cool-admin-midway.git
synced 2025-12-11 00:22:49 +00:00
去除多余代码
This commit is contained in:
parent
27e2402707
commit
2d933364f3
@ -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;
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user