
- Removed YuMi/Library/ (138 MB, not tracked) - Removed YuMi/Resources/ (23 MB, not tracked) - Removed old version assets (566 files, not tracked) - Excluded Pods/, xcuserdata/ and other build artifacts - Clean repository optimized for company server deployment
31 lines
633 B
Objective-C
31 lines
633 B
Objective-C
//
|
|
// RechargeStorage.h
|
|
// YUMI
|
|
//
|
|
// Created by YUMI on 2021/9/26.
|
|
//
|
|
|
|
#import <Foundation/Foundation.h>
|
|
|
|
NS_ASSUME_NONNULL_BEGIN
|
|
|
|
@interface RechargeStorage : NSObject
|
|
|
|
/// 根据商品id保存凭证
|
|
+ (BOOL)saveTransactionId:(NSString *)transactionId
|
|
receipt:(NSString *)receipt
|
|
uid:(NSString *)uid;
|
|
|
|
/// 获取所有凭证
|
|
+ (NSArray *)getAllReceiptsWithUid:(NSString *)uid;
|
|
|
|
/// 根据订单删除凭证
|
|
+ (BOOL)delegateTransactionId:(NSString *)transactionId
|
|
uid:(NSString *)uid;
|
|
|
|
/// 删除所有凭证
|
|
+ (void)delegateAllTransactionIdsWithUid:(NSString *)uid;
|
|
@end
|
|
|
|
NS_ASSUME_NONNULL_END
|