提取baseurl配置
This commit is contained in:
25
Shared/KBConfig.h
Normal file
25
Shared/KBConfig.h
Normal file
@@ -0,0 +1,25 @@
|
||||
//
|
||||
// KBConfig.h
|
||||
// Shared config/macros for both main app and keyboard extension.
|
||||
//
|
||||
// Edit these values once and both targets pick them up via PCH import.
|
||||
//
|
||||
|
||||
#ifndef KBConfig_h
|
||||
#define KBConfig_h
|
||||
|
||||
// 基础baseUrl
|
||||
#ifndef KB_BASE_URL
|
||||
#define KB_BASE_URL @"https://m1.apifoxmock.com/m1/5438099-5113192-default/"
|
||||
#endif
|
||||
|
||||
// Universal Links 通用链接
|
||||
#ifndef KB_UL_BASE
|
||||
#define KB_UL_BASE @"https://your.domain/ul"
|
||||
#endif
|
||||
|
||||
#define KB_UL_LOGIN KB_UL_BASE @"/login"
|
||||
#define KB_UL_SETTINGS KB_UL_BASE @"/settings"
|
||||
|
||||
#endif /* KBConfig_h */
|
||||
|
||||
Reference in New Issue
Block a user