45 lines
880 B
Objective-C
45 lines
880 B
Objective-C
//
|
|
// XSPhoneConfig.h
|
|
// nochange
|
|
//
|
|
// Created by mac on 2024/10/15.
|
|
//
|
|
|
|
#ifndef XSPhoneConfig_h
|
|
#define XSPhoneConfig_h
|
|
|
|
#define AES_KEY @"89njl01e.1e8;o[1"
|
|
#define AES_IV @"tnhs@ra9,23;shra"
|
|
|
|
|
|
@interface XSPhoneConfig : NSObject
|
|
+(instancetype)sharedInstance;
|
|
- (BOOL) SetIPhoneName: (NSString*) name;
|
|
- (NSString *)IPhoneName;
|
|
- (NSString *)GetFullServerURL: (NSString *)url;
|
|
- (NSString *)MainServerURL;
|
|
- (NSString *)GetMainServerURL: (NSString *)url;
|
|
- (NSString *)ServerURL;
|
|
- (BOOL) SetServerURL:(NSString *)url;
|
|
- (NSString *)DeviceId;
|
|
- (long)LastReboot ;
|
|
- (void) SetLastReboot: (long) val ;
|
|
|
|
- (long) SenderId;
|
|
- (void) SetSenderId:(long) val ;
|
|
|
|
- (NSString *)GetRemoteIPURL;
|
|
|
|
- (NSString *)ApiKey;
|
|
- (void) SetApiKey: (NSString *)key;
|
|
|
|
- (NSDate *) GetLastOverTime;
|
|
- (void) SetLastOverTime: (NSDate *)date;
|
|
|
|
- (void) reLoad;
|
|
|
|
@end
|
|
|
|
|
|
#endif /* XSPhoneConfig_h */
|