修复测试环境无法连网问题bug
This commit is contained in:
@@ -5,6 +5,8 @@
|
||||
// Created by YUMI on 2021/9/10.
|
||||
//
|
||||
///一些宏
|
||||
#import "NSBundle+Localizable.h"
|
||||
|
||||
#ifndef YUMIMacroUitls_h
|
||||
#define YUMIMacroUitls_h
|
||||
|
||||
@@ -49,7 +51,7 @@ isPhoneXSeries = [[UIApplication sharedApplication] delegate].window.safeAreaIns
|
||||
|
||||
|
||||
#ifdef DEBUG
|
||||
#define API_HOST_URL [NSString stringWithFormat:@"%@%@",@"https://beta.api",@".pekolive.com"]
|
||||
#define API_HOST_URL [NSString stringWithFormat:@"%@%@",@"http://beta.api",@".pekolive.com"]
|
||||
|
||||
#else
|
||||
|
||||
@@ -58,7 +60,7 @@ isPhoneXSeries = [[UIApplication sharedApplication] delegate].window.safeAreaIns
|
||||
#endif
|
||||
|
||||
#define API_Image_URL @"https://image.hfighting.com"
|
||||
#import "NSBundle+Localizable.h"
|
||||
|
||||
#define YMLocalizedString(key) \
|
||||
[NSBundle ymLocalizedStringForKey:(key)]
|
||||
#endif /* YUMIMacroUitls_h */
|
||||
|
Reference in New Issue
Block a user