测试网络,修改UI

This commit is contained in:
2025-10-30 13:10:33 +08:00
parent 8ce1d95c8c
commit 9b43274e93
6 changed files with 21 additions and 10 deletions

View File

@@ -26,6 +26,8 @@ NSErrorDomain const KBNetworkErrorDomain = @"com.company.keyboard.network";
_enabled = NO; //
_timeout = 10.0;
_defaultHeaders = @{ @"Accept": @"application/json" };
//
_baseURL = [NSURL URLWithString:KB_BASE_URL];
}
return self;
}

View File

@@ -17,5 +17,8 @@
#import "Masonry.h"
// 网络基地址Mock环境
#define KB_BASE_URL @"https://m1.apifoxmock.com/m1/5438099-5113192-default/"
#endif /* PrefixHeader_pch */