12345678910111213141516171819202122232425262728293031323334 |
- //
- // XSConfiguration.m
- // XenonSDK
- //
- // Created by SAGESSE on 2019/5/28.
- // Copyright © 2019 SAGESSE. All rights reserved.
- //
- #import "XSConfiguration.h"
- @implementation XSConfiguration
- + (BOOL)propertyIsOptional:(NSString *)propertyName {
- return YES;
- }
- - (NSString*)fixLinkQQ {
- NSArray* arr = [self.linkTel componentsSeparatedByString:@"&"];
- if (arr.count >= 2) {
- return arr[0];
- }
- return @"1342752907";
- }
- - (NSString*)fixLinkTel {
- NSArray* arr = [self.linkTel componentsSeparatedByString:@"&"];
- if (arr.count >= 2) {
- return arr[1];
- }
- return @"0755-27083935";
-
- }
- @end
|