import re

# 打开文件并读取内容
with open(r'C:\Users\Administrator\Desktop\1.txt', 'r',encoding='utf-8') as file:
    content = file.read()

# 使用正则表达式匹配 "y": 后的整数 
pattern = r'(\\\"y\\\":\s*)(\d+)'
matches = re.findall(pattern, content)

# 对每个匹配项，增加111000 
for match in matches:
    original = f'{match[0]}{match[1]}'
    replacement = f'{match[0]}{str(int(match[1]) + 111000)}'
    content = content.replace(original, replacement, 1)

# 将修改后的内容写回文件
with open(r'C:\Users\Administrator\Desktop\1.txt', 'w',encoding='utf-8') as file:
    file.write(content)