本仓库为远程超声诊断平台的统一代码仓库,包含前端、后端、AI质控模块以及专网实时通信中间件。 采用 Monorepo 结构管理,方便统一版本控制,支持针对不同医院/客户进行定制化开发。
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 

18 lines
549 B

import sys
path = r'd:/Projects/洛川康复中医院/imurs/src/main/java/com/imurs/controller/ApplyBModeController.java'
try:
with open(path, 'r', encoding='utf-8') as f:
content = f.read()
# Remove spaces: { " -> {" and " } -> "}
new_content = content.replace('{ "', '{"').replace('" }', '"}')
with open(path, 'w', encoding='utf-8') as f:
f.write(new_content)
print("Successfully removed spaces from RequestMapping annotations.")
except Exception as e:
print(f"Error: {e}")
sys.exit(1)