mirror of
https://github.com/lyz05/danmaku.git
synced 2026-07-16 11:24:07 +08:00
fix: 修复日志中显示ip地理位置信息
This commit is contained in:
@@ -42,7 +42,7 @@ async function danmakuQuery(date) {
|
||||
|
||||
function add(className,obj) {
|
||||
if (obj.ip || obj.remoteIP)
|
||||
obj.ipCountry = getipCountry(obj.ip | obj.remoteIP);
|
||||
obj.ipCountry = getipCountry(obj.ip || obj.remoteIP);
|
||||
const classInstance = AV.Object.extend(className);
|
||||
const record = new classInstance();
|
||||
for (const key of Object.keys(obj)){
|
||||
|
||||
Reference in New Issue
Block a user