Commit 39fff5a8 by ludi

保存一下,准备做新版本座驾动画,随时需要回滚的

parent a22dc9eb
...@@ -55,6 +55,8 @@ import RxSwift ...@@ -55,6 +55,8 @@ import RxSwift
get{ FUSSwiftCacheDataShare.share.settingConfigModel.value } get{ FUSSwiftCacheDataShare.share.settingConfigModel.value }
set{ FUSSwiftCacheDataShare.share.settingConfigModel.accept(newValue) } set{ FUSSwiftCacheDataShare.share.settingConfigModel.accept(newValue) }
} }
/// 用户是否点击过检查更新
@objc public var oc_localUserHadVerifyUpdateVersion: Bool = true
// - swift PART // - swift PART
/// 当前是否登录 /// 当前是否登录
...@@ -79,6 +81,8 @@ import RxSwift ...@@ -79,6 +81,8 @@ import RxSwift
public let levelModelList: BehaviorRelay<[FUSLevelDataModel]?> = .init(value: nil) public let levelModelList: BehaviorRelay<[FUSLevelDataModel]?> = .init(value: nil)
/// 用户一些设置 /// 用户一些设置
public let settingConfigModel: BehaviorRelay<FUSSettingConfigModel?> = .init(value: nil) public let settingConfigModel: BehaviorRelay<FUSSettingConfigModel?> = .init(value: nil)
/// 是否需要sj
public let shouldUpdateVersion: BehaviorRelay<Bool> = .init(value: false)
/// 背包类型的数据 /// 背包类型的数据
public let backpackTypeList: BehaviorRelay<[FUSBackpackTypeModel]?> = .init(value: nil) public let backpackTypeList: BehaviorRelay<[FUSBackpackTypeModel]?> = .init(value: nil)
......
...@@ -48,6 +48,7 @@ ...@@ -48,6 +48,7 @@
00B778632D12DA11003D7F56 /* FUSBackpackGiftCell.swift in Sources */ = {isa = PBXBuildFile; fileRef = 00B778622D12DA11003D7F56 /* FUSBackpackGiftCell.swift */; }; 00B778632D12DA11003D7F56 /* FUSBackpackGiftCell.swift in Sources */ = {isa = PBXBuildFile; fileRef = 00B778622D12DA11003D7F56 /* FUSBackpackGiftCell.swift */; };
00B778652D12DB89003D7F56 /* FUSBackpackMotorView.swift in Sources */ = {isa = PBXBuildFile; fileRef = 00B778642D12DB89003D7F56 /* FUSBackpackMotorView.swift */; }; 00B778652D12DB89003D7F56 /* FUSBackpackMotorView.swift in Sources */ = {isa = PBXBuildFile; fileRef = 00B778642D12DB89003D7F56 /* FUSBackpackMotorView.swift */; };
00B778672D12DC21003D7F56 /* FUSBackpackMotorCell.swift in Sources */ = {isa = PBXBuildFile; fileRef = 00B778662D12DC21003D7F56 /* FUSBackpackMotorCell.swift */; }; 00B778672D12DC21003D7F56 /* FUSBackpackMotorCell.swift in Sources */ = {isa = PBXBuildFile; fileRef = 00B778662D12DC21003D7F56 /* FUSBackpackMotorCell.swift */; };
00BD441C2D1E98650099A96F /* FUSVerifyVersionController.swift in Sources */ = {isa = PBXBuildFile; fileRef = 00BD441B2D1E98650099A96F /* FUSVerifyVersionController.swift */; };
9E8D0BED6061C8C88FBF8686 /* Pods_FUSUserCenterModule.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = BED3EAC4EA2F921CB5B2FEE8 /* Pods_FUSUserCenterModule.framework */; }; 9E8D0BED6061C8C88FBF8686 /* Pods_FUSUserCenterModule.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = BED3EAC4EA2F921CB5B2FEE8 /* Pods_FUSUserCenterModule.framework */; };
BE189A2D2C7323FE0008418B /* FSRDynamicImModel.h in Headers */ = {isa = PBXBuildFile; fileRef = BE1899A72C7323FE0008418B /* FSRDynamicImModel.h */; }; BE189A2D2C7323FE0008418B /* FSRDynamicImModel.h in Headers */ = {isa = PBXBuildFile; fileRef = BE1899A72C7323FE0008418B /* FSRDynamicImModel.h */; };
BE189A2E2C7323FE0008418B /* FSRDynamicImModel.m in Sources */ = {isa = PBXBuildFile; fileRef = BE1899A82C7323FE0008418B /* FSRDynamicImModel.m */; }; BE189A2E2C7323FE0008418B /* FSRDynamicImModel.m in Sources */ = {isa = PBXBuildFile; fileRef = BE1899A82C7323FE0008418B /* FSRDynamicImModel.m */; };
...@@ -929,6 +930,7 @@ ...@@ -929,6 +930,7 @@
00B778622D12DA11003D7F56 /* FUSBackpackGiftCell.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = FUSBackpackGiftCell.swift; sourceTree = "<group>"; }; 00B778622D12DA11003D7F56 /* FUSBackpackGiftCell.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = FUSBackpackGiftCell.swift; sourceTree = "<group>"; };
00B778642D12DB89003D7F56 /* FUSBackpackMotorView.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = FUSBackpackMotorView.swift; sourceTree = "<group>"; }; 00B778642D12DB89003D7F56 /* FUSBackpackMotorView.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = FUSBackpackMotorView.swift; sourceTree = "<group>"; };
00B778662D12DC21003D7F56 /* FUSBackpackMotorCell.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = FUSBackpackMotorCell.swift; sourceTree = "<group>"; }; 00B778662D12DC21003D7F56 /* FUSBackpackMotorCell.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = FUSBackpackMotorCell.swift; sourceTree = "<group>"; };
00BD441B2D1E98650099A96F /* FUSVerifyVersionController.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = FUSVerifyVersionController.swift; sourceTree = "<group>"; };
29DC17A1A1D4B29CA3BB6003 /* Pods-FUSUserCenterModule.debug.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-FUSUserCenterModule.debug.xcconfig"; path = "Target Support Files/Pods-FUSUserCenterModule/Pods-FUSUserCenterModule.debug.xcconfig"; sourceTree = "<group>"; }; 29DC17A1A1D4B29CA3BB6003 /* Pods-FUSUserCenterModule.debug.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-FUSUserCenterModule.debug.xcconfig"; path = "Target Support Files/Pods-FUSUserCenterModule/Pods-FUSUserCenterModule.debug.xcconfig"; sourceTree = "<group>"; };
BE1899A72C7323FE0008418B /* FSRDynamicImModel.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = FSRDynamicImModel.h; sourceTree = "<group>"; }; BE1899A72C7323FE0008418B /* FSRDynamicImModel.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = FSRDynamicImModel.h; sourceTree = "<group>"; };
BE1899A82C7323FE0008418B /* FSRDynamicImModel.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = FSRDynamicImModel.m; sourceTree = "<group>"; }; BE1899A82C7323FE0008418B /* FSRDynamicImModel.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = FSRDynamicImModel.m; sourceTree = "<group>"; };
...@@ -2814,6 +2816,7 @@ ...@@ -2814,6 +2816,7 @@
BE78C9E42C538D7D00F38855 /* FUSVerifyResultViewController.h */, BE78C9E42C538D7D00F38855 /* FUSVerifyResultViewController.h */,
BE78C9E52C538D7D00F38855 /* FUSVerifyResultViewController.m */, BE78C9E52C538D7D00F38855 /* FUSVerifyResultViewController.m */,
BE78C9E62C538D7D00F38855 /* FUSVerifyResultViewController.xib */, BE78C9E62C538D7D00F38855 /* FUSVerifyResultViewController.xib */,
00BD441B2D1E98650099A96F /* FUSVerifyVersionController.swift */,
); );
path = Controller; path = Controller;
sourceTree = "<group>"; sourceTree = "<group>";
...@@ -4528,6 +4531,7 @@ ...@@ -4528,6 +4531,7 @@
008DEFEE2D1D35E0000CD56E /* FUSNotificationAlertTipsView.swift in Sources */, 008DEFEE2D1D35E0000CD56E /* FUSNotificationAlertTipsView.swift in Sources */,
008DEFEF2D1D35E0000CD56E /* FUSNotificationSettingsView.swift in Sources */, 008DEFEF2D1D35E0000CD56E /* FUSNotificationSettingsView.swift in Sources */,
008DEFF02D1D35E0000CD56E /* FUSNotificationUserLikeModel.m in Sources */, 008DEFF02D1D35E0000CD56E /* FUSNotificationUserLikeModel.m in Sources */,
00BD441C2D1E98650099A96F /* FUSVerifyVersionController.swift in Sources */,
008DEFF12D1D35E0000CD56E /* FUSNotificationAnchorView.swift in Sources */, 008DEFF12D1D35E0000CD56E /* FUSNotificationAnchorView.swift in Sources */,
008DEFF42D1D35E0000CD56E /* FUSNotificationSettingViewModel.swift in Sources */, 008DEFF42D1D35E0000CD56E /* FUSNotificationSettingViewModel.swift in Sources */,
BE78CBD02C538D7F00F38855 /* FUSTaskCenterHeaderTableViewCell.m in Sources */, BE78CBD02C538D7F00F38855 /* FUSTaskCenterHeaderTableViewCell.m in Sources */,
......
...@@ -80,7 +80,7 @@ protocol FUSCompleteUserInfoBaseProtocol { ...@@ -80,7 +80,7 @@ protocol FUSCompleteUserInfoBaseProtocol {
nextStepEnableMask.layer.cornerRadius = nextStepBtn.layer.cornerRadius nextStepEnableMask.layer.cornerRadius = nextStepBtn.layer.cornerRadius
nextStepEnableMask.layer.masksToBounds = true nextStepEnableMask.layer.masksToBounds = true
nextStepEnableMask.backgroundColor = UIColor.init(hex: "#000000").withAlphaComponent(0.5) nextStepEnableMask.backgroundColor = UIColor.white.withAlphaComponent(0.5)
nextStepEnableMask.isUserInteractionEnabled = false nextStepEnableMask.isUserInteractionEnabled = false
nextStepBtn.addSubview(nextStepEnableMask) nextStepBtn.addSubview(nextStepEnableMask)
nextStepEnableMask.snp.makeConstraints { make in nextStepEnableMask.snp.makeConstraints { make in
......
...@@ -1027,6 +1027,9 @@ ...@@ -1027,6 +1027,9 @@
FUSSettingInitDataModel *initData = [FUSSettingInitDataModel fus_modelWithDict:dataDict]; FUSSettingInitDataModel *initData = [FUSSettingInitDataModel fus_modelWithDict:dataDict];
[FUSCacheDataShare shareStore].settingInitDataModel = initData; [FUSCacheDataShare shareStore].settingInitDataModel = initData;
if (initData.versionUpdate.integerValue != -1) {
[FUSSwiftCacheDataShare share].oc_localUserHadVerifyUpdateVersion = NO;
}
} failure:^(NSDictionary * _Nullable dataDict, int code) { } failure:^(NSDictionary * _Nullable dataDict, int code) {
......
...@@ -46,6 +46,7 @@ ...@@ -46,6 +46,7 @@
#import <Masonry/Masonry.h> #import <Masonry/Masonry.h>
#import <FUSUserCenterModule/FUSUserCenterModule-Swift.h> #import <FUSUserCenterModule/FUSUserCenterModule-Swift.h>
#import <FUSCommon/FUSCommon-Swift.h>
@interface FUSSettingViewController () @interface FUSSettingViewController ()
...@@ -56,6 +57,8 @@ ...@@ -56,6 +57,8 @@
@property (nonatomic, strong) FUSCustomSettingItem *clearItem; @property (nonatomic, strong) FUSCustomSettingItem *clearItem;
@property (nonatomic, strong) FUSCustomSettingItem *versionItem;
/// tableview 的Footer /// tableview 的Footer
@property (nonatomic, strong) UIView *logoutFooterView; @property (nonatomic, strong) UIView *logoutFooterView;
...@@ -229,11 +232,18 @@ ...@@ -229,11 +232,18 @@
[FUSFileHelper fus_deleteFileAtPath:[FUSFileHelper appCacheChatImagePath]]; [FUSFileHelper fus_deleteFileAtPath:[FUSFileHelper appCacheChatImagePath]];
}; };
FUSCustomSettingItem *versionItem = [FUSCustomSettingItem fus_itemWithTitle:[NSString fus_localString:@"检测版本"] type:CustomSettingItemTypeShowText]; self.versionItem = [FUSCustomSettingItem fus_itemWithTitle:[NSString fus_localString:@"检测版本"] type:CustomSettingItemTypeArrow];
versionItem.titleColor = [UIColor colorWithWhite:0 alpha:0.6]; self.versionItem.titleColor = [UIColor colorWithWhite:0 alpha:0.6];
versionItem.rightShowText = [[[NSBundle mainBundle] infoDictionary] objectForKey:@"CFBundleShortVersionString"]; self.versionItem.rightShowText = [[[NSBundle mainBundle] infoDictionary] objectForKey:@"CFBundleShortVersionString"];
versionItem.itemClick = ^(FUSCustomSettingItem *item) { self.versionItem.redCircleColor = [UIColor redColor];
self.versionItem.isShowRedCirclePoint = [FUSSwiftCacheDataShare share].oc_localUserHadVerifyUpdateVersion == NO;
self.versionItem.itemClick = ^(FUSCustomSettingItem *item) {
//TODO:版本检测: added By Pidan //TODO:版本检测: added By Pidan
[FUSSwiftCacheDataShare share].oc_localUserHadVerifyUpdateVersion = YES;
weakSelf.versionItem.isShowRedCirclePoint = NO;
[weakSelf.tableView reloadData];
FUSVerifyVersionController *vc = [[FUSVerifyVersionController alloc] init];
[weakSelf.navigationController pushViewController:vc animated:YES];
}; };
FUSCustomSettingItem *webItem = [FUSCustomSettingItem fus_itemWithTitle:[NSString fus_localString:@"网络检测"] type:CustomSettingItemTypeArrow]; FUSCustomSettingItem *webItem = [FUSCustomSettingItem fus_itemWithTitle:[NSString fus_localString:@"网络检测"] type:CustomSettingItemTypeArrow];
...@@ -249,7 +259,7 @@ ...@@ -249,7 +259,7 @@
}]; }];
}; };
group3.items = @[officialItem, rateItem, self.clearItem, webItem, versionItem]; group3.items = @[officialItem, rateItem, self.clearItem, webItem, self.versionItem];
[self.allGroups addObject:group3]; [self.allGroups addObject:group3];
} }
......
//
// FUSVerifyVersionController.swift
// PersonalPage
//
// Created by aaa on 2023/9/13.
//
import UIKit
import RxSwift
import RxCocoa
@objcMembers public class FUSVerifyVersionController: FUSBaseViewController {
let disposeBag = DisposeBag()
private let versionGet = BehaviorRelay<[AnyHashable: Any]?>(value: [:])
let currentVersionLabel = UILabel()
let updateMsgBg = UIStackView()
let updateTitleLabel = UILabel()
let lineView = UIView()
let updateMsgLabel = UILabel()
let udBtn = UIButton(type: .custom)
public override func viewDidLoad() {
super.viewDidLoad()
makeUI()
//请求gx信息
loadUpdateNetwork()
}
// MARK: UI
func makeUI() {
self.view.backgroundColor = .white
self.backBtnStyle = .black
self.fus_enableNavigationBack(withPop: .popViewController, withAnimated: true)
self.title = .fus_versionLocalString("检测版本")
//logo
let logoImg = UIImageView(image: .fus_naviLogoIcon())
logoImg.contentMode = .scaleAspectFit
view.addSubview(logoImg)
logoImg.snp.makeConstraints { make in
make.centerX.equalToSuperview()
make.top.equalTo(44)
make.size.equalTo(CGSizeMake(134, 87))
}
//当前版本
currentVersionLabel.font = .fus_themeFont(15)
currentVersionLabel.textColor = .fus_textColorRich()
view.addSubview(currentVersionLabel)
currentVersionLabel.snp.makeConstraints { make in
make.top.equalTo(logoImg.snp.bottom).offset(22)
make.centerX.equalToSuperview()
}
var versionText = ""
if FUSConfig.sharedInstanced().devConfigs.devLevel == .developer {
versionText = "v" + FUSConfig.sharedInstanced().appConfigs.appVersion + "(\(Bundle.main.infoDictionary?["CFBundleVersion"] ?? ""))"
} else {
versionText = "v" + FUSConfig.sharedInstanced().appConfigs.appVersion
}
currentVersionLabel.text = String.fus_versionLocalString("当前版本") + ": " + versionText
//sj按钮
udBtn.backgroundColor = .fus_theme()
udBtn.layer.cornerRadius = 40/2.0
udBtn.setTitleColor(.fus_textColorRich(), for: .normal)
udBtn.setTitle(.fus_versionLocalString("升级版本"), for: .normal)
view.addSubview(udBtn)
udBtn.snp.makeConstraints { make in
make.bottom.equalTo(-42)
make.size.equalTo(CGSizeMake(234, 40))
make.centerX.equalToSuperview()
}
udBtn.rx.tap.subscribe { [weak self] _ in
self?.gotoStore()
}.disposed(by: disposeBag)
//sj内容的背图
updateMsgBg.backgroundColor = .fus_textInputBackgroundGray()
updateMsgBg.layer.cornerRadius = 12
updateMsgBg.axis = .vertical
updateMsgBg.distribution = .fill
updateMsgBg.alignment = .center
updateMsgBg.spacing = 0
view.addSubview(updateMsgBg)
updateMsgBg.snp.makeConstraints { make in
make.left.equalTo(15)
make.right.equalTo(-15)
make.top.equalTo(currentVersionLabel.snp.bottom).offset(40)
make.bottom.lessThanOrEqualTo(udBtn.snp.top).offset(-20)
}
//sj标题部分
let titleBgView = UIView()
updateMsgBg.addArrangedSubview(titleBgView)
titleBgView.snp.makeConstraints { make in
make.height.equalTo(46)
make.width.equalToSuperview()
}
let dotView = UIView()
dotView.backgroundColor = .fus_theme()
dotView.layer.cornerRadius = 5/2.0
titleBgView.addSubview(dotView)
dotView.snp.makeConstraints { make in
make.left.equalTo(12)
make.centerY.equalToSuperview()
make.size.equalTo(CGSizeMake(5, 5))
}
updateTitleLabel.textColor = .fus_textColorMedium()
updateTitleLabel.font = .fus_themeFont(15)
titleBgView.addSubview(updateTitleLabel)
updateTitleLabel.snp.makeConstraints { make in
make.left.equalTo(dotView.snp.right).offset(7)
make.centerY.equalToSuperview()
}
//中间隔断的横线
lineView.backgroundColor = .fus_line()
updateMsgBg.addArrangedSubview(lineView)
lineView.snp.makeConstraints { make in
// make.left.equalTo(20)
// make.right.equalTo(-20)
make.height.equalTo(0.5)
make.width.equalToSuperview().offset(-40)
}
//sj版本内容
updateMsgLabel.font = .fus_themeFont(13)
updateMsgLabel.textColor = .fus_textColorLight2()
updateMsgLabel.numberOfLines = 0
updateMsgBg.addArrangedSubview(updateMsgLabel)
updateMsgLabel.snp.makeConstraints { make in
// make.left.equalTo(22)
// make.right.equalTo(-22)
make.width.equalToSuperview().offset(-44)
}
//补一个顶格的view
let blankView = UIView()
updateMsgBg.addArrangedSubview(blankView)
//设置一下特殊间隔
updateMsgBg.setCustomSpacing(14, after: lineView)
updateMsgBg.setCustomSpacing(30, after: updateMsgLabel)
//绑定下rx
FUSSwiftCacheDataShare.share.shouldUpdateVersion.map({ [weak self] shouldUpdateVersion in
guard let self = self else { return "" }
if shouldUpdateVersion {
self.lineView.isHidden = false
self.updateMsgLabel.isHidden = false
self.udBtn.isHidden = false
return String.fus_versionLocalString("最新版本")
}else{
self.lineView.isHidden = true
self.updateMsgLabel.isHidden = true
self.udBtn.isHidden = true
return String.fus_versionLocalString("已经是最新版本")
}
}).bind(to: updateTitleLabel.rx.text).disposed(by: disposeBag)
versionGet.map { json in
guard let jsonResult = json?["result"] as? [String: Any] else { return "" }
guard let resText = jsonResult["text"] as? String else { return "" }
return resText
}.bind(to: updateMsgLabel.rx.text).disposed(by: disposeBag)
}
///请求版本信息
func loadUpdateNetwork() {
FUSSettingHttpRequest.fus_verifyVersionUpdate(withSource: 1) {[weak self] dataDict in
FUSSwiftCacheDataShare.share.shouldUpdateVersion.accept(true)
self?.versionGet.accept(dataDict)
} failure: { msg, code in
if code == -21{
FUSSwiftCacheDataShare.share.shouldUpdateVersion.accept(false)
}
}
}
///去苹果商店
func gotoStore() {
guard let result = versionGet.value?["result"] as? [AnyHashable: Any] else { return }
guard let storeUrl = result["downurl"] as? String else { return }
if let appStoreURL = URL(string: storeUrl) {
UIApplication.shared.open(appStoreURL, options: [:], completionHandler: nil)
}
}
}
...@@ -302,4 +302,11 @@ ...@@ -302,4 +302,11 @@
success:(void(^)(NSDictionary *dataDict))success success:(void(^)(NSDictionary *dataDict))success
failure:(void(^)(NSString *msg, int code))failure; failure:(void(^)(NSString *msg, int code))failure;
/// 检查是否有gx
/// @param source 来源(0:打开App、1:设置界面)
/// @param success 1
/// @param failure 0
+(void)fus_verifyVersionUpdateWithSource:(NSInteger)source
Success:(void(^)(NSDictionary *dataDict))success
failure:(void(^)(NSString *msg, int code))failure;
@end @end
...@@ -684,5 +684,16 @@ ...@@ -684,5 +684,16 @@
} }
}]; }];
} }
/// 检查是否有gx
+ (void)fus_verifyVersionUpdateWithSource:(NSInteger)source Success:(void (^)(NSDictionary *))success failure:(void (^)(NSString *, int))failure{
NSDictionary *parm = @{@"source":@(source)};
[FUSHttpHelper postRequestBinaryWithUrl:FUSUserCenterURLs.fus_URL_verifyVersionUpdate params:parm success:^(NSDictionary * _Nullable dataDict, int code) {
success(dataDict);
} failure:^(NSDictionary * _Nullable dataDict, int code) {
if (failure) {
failure(FAILURE_MESSAGE,code);
}
}];
}
@end @end
...@@ -392,6 +392,9 @@ NS_ASSUME_NONNULL_BEGIN ...@@ -392,6 +392,9 @@ NS_ASSUME_NONNULL_BEGIN
///包裹礼物送礼 ///包裹礼物送礼
+ (NSString *)fus_URL_LIVE_USE_PROPS; + (NSString *)fus_URL_LIVE_USE_PROPS;
/// 验证版本是否需要更新,来源(0:打开App、1:设置界面)
+ (NSString *)fus_URL_verifyVersionUpdate;
@end @end
NS_ASSUME_NONNULL_END NS_ASSUME_NONNULL_END
...@@ -635,4 +635,9 @@ ...@@ -635,4 +635,9 @@
return [FUSConfig.sharedInstanced.pathConfigs apiUrl:@"/inventory/props/use"]; return [FUSConfig.sharedInstanced.pathConfigs apiUrl:@"/inventory/props/use"];
} }
/// 验证版本是否需要更新,来源(0:打开App、1:设置界面)
+ (NSString *)fus_URL_verifyVersionUpdate {
return [FUSConfig.sharedInstanced.pathConfigs apiUrl:@"/update/version/get"];
}
@end @end
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment