@echo 1.online
@echo 2.preview
@echo 3.test

@set targetFile=GlobalConfig.json
@set appFile=GlobalConfig_app.json
@set previewFile=GlobalConfig_preview.json
@set testFile=GlobalConfig_test.json

@set type=
@set /p type="please input:"
@if %type% equ 1 (
    @copy %appFile% %targetFile%
    @echo switch to online version

)
@if %type% equ 2 (
    @copy %previewFile% %targetFile%
    @echo switch to preview version
    
)
@if %type% equ 3 (
    @copy %testFile% %targetFile%
    @echo switch to test version
)