From 58c28e935487d44ef2e49c7390dcbf34ca213fdc Mon Sep 17 00:00:00 2001 From: client_Hale <339726288@qq.com> Date: 星期四, 10 一月 2019 16:27:13 +0800 Subject: [PATCH] update 灵宝记ios相关提交 --- SDK相关/自由SDK/IOS_P/iosSdk/YLOrder.h | 26 +++++++++++++ SDK相关/自由SDK/IOS_P/iosSdk/MonkeyFruitConstant.h | 18 +++++++++ SDK相关/自由SDK/IOS_P/iosSdk/YLAccount.h | 63 +++++++++++++++++++++++++++++++ SDK相关/自由SDK/IOS_P/iosSdk/libFreeSDK.a | 0 4 files changed, 107 insertions(+), 0 deletions(-) diff --git "a/SDK\347\233\270\345\205\263/\350\207\252\347\224\261SDK/IOS_P/iosSdk/MonkeyFruitConstant.h" "b/SDK\347\233\270\345\205\263/\350\207\252\347\224\261SDK/IOS_P/iosSdk/MonkeyFruitConstant.h" new file mode 100644 index 0000000..c06bde0 --- /dev/null +++ "b/SDK\347\233\270\345\205\263/\350\207\252\347\224\261SDK/IOS_P/iosSdk/MonkeyFruitConstant.h" @@ -0,0 +1,18 @@ +// +// MonkeyFruitConstant.h +// MonkeyFruit +// +// Created by Meeno04 on 15/10/9. +// Copyright 漏 2015骞� Meeno04. All rights reserved. +// + +#ifndef MonkeyFruitConstant_h +#define MonkeyFruitConstant_h + +//platform type + + + +//WXLogin + +#endif /* MonkeyFruitConstant_h */ diff --git "a/SDK\347\233\270\345\205\263/\350\207\252\347\224\261SDK/IOS_P/iosSdk/YLAccount.h" "b/SDK\347\233\270\345\205\263/\350\207\252\347\224\261SDK/IOS_P/iosSdk/YLAccount.h" new file mode 100644 index 0000000..a14a9b7 --- /dev/null +++ "b/SDK\347\233\270\345\205\263/\350\207\252\347\224\261SDK/IOS_P/iosSdk/YLAccount.h" @@ -0,0 +1,63 @@ +// +// YLAccount.h +// YileSDK +// +// Created by 鏉庤嫳杈� on 11/11/17. +// +@class DYYFloatWindow; + +#import <UIKit/UIKit.h> + +/** + * 鐜╁璐﹀彿绫� + */ +@interface YLAccount : NSObject <NSCoding> + +@property (nonatomic, assign) NSInteger accountId; +@property (nonatomic, strong) NSString * identifier; +@property (nonatomic, strong) NSString * token; +@property (nonatomic, strong) NSDate * tokenExpiry; +@property (nonatomic, strong) NSString * password; +//@property (nonatomic, strong) NSString * phoneNumber; + +@property(nonatomic, assign)NSInteger hasBindPhone; // -1 鏈畾涔� 0 鏈粦瀹� 1缁戝畾 +@property (nonatomic, readonly) BOOL loggedIn; + +//灏忓姪鎵嬩綅缃� +@property(nonatomic) CGFloat x; +@property(nonatomic) CGFloat y; + +/** + * 妫�鏌ヤ护鐗屾槸鍚﹁繃鏈� + * + * @return 鏄惁杩囨湡 + */ +- (BOOL)tokenExpired; + +/** + * 鑾峰彇褰撳墠鐧诲綍鐨勭帺瀹惰处鍙� + */ ++ (YLAccount *)sharedInstance; + +//灏忓姪鎵� +-(DYYFloatWindow *)floatBtn; + +/// 鏄剧ず灏忓姪鎵� +- (void)showFloatBtn; +/// 闅愯棌灏忓姪鎵� +- (void)hideFloatBtn; + +//鏄剧ず缁戝畾鎵嬫満鍙烽〉闈� isLogin鏄惁鏄櫥褰曡嚜鍔ㄥ脊鍑� +- (void)showBindPhoneView:(BOOL)isLogin; + +/** + * 灏嗚处鍙风浉鍏充俊鎭簭鍒楀寲鍒版湰鍦拌繘琛岀紦瀛橈紝涓嬫鍙厤鐧婚檰锛坱oken杩囨湡鍒欎粛闇�閲嶆柊鐧诲綍锛� + */ ++ (BOOL)rememberCurrentAccount; + +/** + * 閫�鍑哄綋鍓嶈处鍙� + */ ++ (void)logout; + +@end diff --git "a/SDK\347\233\270\345\205\263/\350\207\252\347\224\261SDK/IOS_P/iosSdk/YLOrder.h" "b/SDK\347\233\270\345\205\263/\350\207\252\347\224\261SDK/IOS_P/iosSdk/YLOrder.h" new file mode 100644 index 0000000..f625231 --- /dev/null +++ "b/SDK\347\233\270\345\205\263/\350\207\252\347\224\261SDK/IOS_P/iosSdk/YLOrder.h" @@ -0,0 +1,26 @@ +// +// YLOrder.h +// YileSDK +// +// Created by 闊╁嚡 on 7/9/15. +// Copyright (c) 2015 姹熻嫃鏄撲箰缃戠粶绉戞妧鏈夐檺鍏徃. All rights reserved. +// + +#import <Foundation/Foundation.h> + +/** + * 鍏呭�艰鍗曠被 + */ +@interface YLOrder : NSObject + +@property (nonatomic, strong) NSString * identifier; + +@property (nonatomic, strong) NSString * cpOrderId; + +@property (nonatomic, strong) NSString * title; + +@property (nonatomic, assign) float total; + +@property (nonatomic, strong) NSString * cpInfo; + +@end diff --git "a/SDK\347\233\270\345\205\263/\350\207\252\347\224\261SDK/IOS_P/iosSdk/libFreeSDK.a" "b/SDK\347\233\270\345\205\263/\350\207\252\347\224\261SDK/IOS_P/iosSdk/libFreeSDK.a" index 54f7743..b4f7537 100644 --- "a/SDK\347\233\270\345\205\263/\350\207\252\347\224\261SDK/IOS_P/iosSdk/libFreeSDK.a" +++ "b/SDK\347\233\270\345\205\263/\350\207\252\347\224\261SDK/IOS_P/iosSdk/libFreeSDK.a" Binary files differ -- Gitblit v1.8.0