12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152 |
- //
- // YMGlobalUtils.h
- // MSYOUPAI
- //
- // Created by YoMi on 2024/2/4.
- // Copyright © 2024 MS. All rights reserved.
- //
- #import <Foundation/Foundation.h>
- #import <UIKit/UIKit.h>
- #import "YMProvinceModel.h"
- #import "YMPayMethodCellViewModel.h"
- NS_ASSUME_NONNULL_BEGIN
- @interface YMGlobalUtils : NSObject
- + (instancetype)shared;
- + (UIViewController *)getCurrentVC;
- + (void)registerRouter;
- - (void)getConfig;
- /// 请求省市级
- - (void)requestProvinceCity;
- /// 请求城市代码
- - (void)requestCityCode;
- /// 上电视网页链接
- - (NSString*)onTvWebUrl;
- /// 提示星级网页链接
- - (NSString*)increaseStarRatingUrl;
- /// 在线客服、合作洽谈网页链接
- - (NSString*)helpUrl;
- /// 充值协议网页链接
- - (NSString*)rechargeAgreementUrl;
- /// 未成年保护计划网页链接
- - (NSString*)minorProtectionProgramUrl;
- /// 获取邀请码
- - (void)getInviteCode:(void(^)(NSString *code))handler;
- /// 支付方式数据
- @property (nonatomic, strong, readonly) NSArray <YMPayMethodCellViewModel*>*payMethodDataArray;
- /// 省市级字典
- @property (nonatomic, strong, readonly) NSArray *provinceCityArr;
- /// 城市代码字典
- @property (nonatomic, strong, readonly) NSDictionary *cityCodeDic;
- @end
- NS_ASSUME_NONNULL_END
|