解决冲突
This commit is contained in:
@@ -156,4 +156,4 @@ SPEC CHECKSUMS:
|
|||||||
|
|
||||||
PODFILE CHECKSUM: cc88fa05da662ee682fc0eeb502faab221faa032
|
PODFILE CHECKSUM: cc88fa05da662ee682fc0eeb502faab221faa032
|
||||||
|
|
||||||
COCOAPODS: 1.12.1
|
COCOAPODS: 1.14.2
|
||||||
|
@@ -54,13 +54,12 @@
|
|||||||
8C4D535C2AFD4CF700238AE6 /* Assets.xcassets in Resources */ = {isa = PBXBuildFile; fileRef = 8C4D535B2AFD4CF700238AE6 /* Assets.xcassets */; };
|
8C4D535C2AFD4CF700238AE6 /* Assets.xcassets in Resources */ = {isa = PBXBuildFile; fileRef = 8C4D535B2AFD4CF700238AE6 /* Assets.xcassets */; };
|
||||||
8C4D535F2AFD4CF700238AE6 /* LaunchScreen.storyboard in Resources */ = {isa = PBXBuildFile; fileRef = 8C4D535D2AFD4CF700238AE6 /* LaunchScreen.storyboard */; };
|
8C4D535F2AFD4CF700238AE6 /* LaunchScreen.storyboard in Resources */ = {isa = PBXBuildFile; fileRef = 8C4D535D2AFD4CF700238AE6 /* LaunchScreen.storyboard */; };
|
||||||
8C4D53622AFD4CF700238AE6 /* main.m in Sources */ = {isa = PBXBuildFile; fileRef = 8C4D53612AFD4CF700238AE6 /* main.m */; };
|
8C4D53622AFD4CF700238AE6 /* main.m in Sources */ = {isa = PBXBuildFile; fileRef = 8C4D53612AFD4CF700238AE6 /* main.m */; };
|
||||||
8C92A8042B0EED72008F362C /* LoginBindPhoneResultViewController.m in Sources */ = {isa = PBXBuildFile; fileRef = 8C92A8032B0EED72008F362C /* LoginBindPhoneResultViewController.m */; };
|
8C92A8072B0EEDD0008F362C /* MewLoginVerifBindPhoneViewController.m in Sources */ = {isa = PBXBuildFile; fileRef = 8C92A8062B0EEDD0008F362C /* MewLoginVerifBindPhoneViewController.m */; };
|
||||||
8C92A8072B0EEDD0008F362C /* LoginVerifBindPhoneViewController.m in Sources */ = {isa = PBXBuildFile; fileRef = 8C92A8062B0EEDD0008F362C /* LoginVerifBindPhoneViewController.m */; };
|
8C92A80B2B0EEE73008F362C /* MewLoginVerifBindPhonePresenter.m in Sources */ = {isa = PBXBuildFile; fileRef = 8C92A80A2B0EEE73008F362C /* MewLoginVerifBindPhonePresenter.m */; };
|
||||||
8C92A80B2B0EEE73008F362C /* LoginVerifBindPhonePresenter.m in Sources */ = {isa = PBXBuildFile; fileRef = 8C92A80A2B0EEE73008F362C /* LoginVerifBindPhonePresenter.m */; };
|
8C92A80E2B0EEF3A008F362C /* MewLoginBindPhoneViewController.m in Sources */ = {isa = PBXBuildFile; fileRef = 8C92A80D2B0EEF3A008F362C /* MewLoginBindPhoneViewController.m */; };
|
||||||
8C92A80E2B0EEF3A008F362C /* LoginBindPhoneViewController.m in Sources */ = {isa = PBXBuildFile; fileRef = 8C92A80D2B0EEF3A008F362C /* LoginBindPhoneViewController.m */; };
|
8C92A8112B0EEFAE008F362C /* MewLoginBindPhonePresent.m in Sources */ = {isa = PBXBuildFile; fileRef = 8C92A8102B0EEFAE008F362C /* MewLoginBindPhonePresent.m */; };
|
||||||
8C92A8112B0EEFAE008F362C /* LoginBindPhonePresent.m in Sources */ = {isa = PBXBuildFile; fileRef = 8C92A8102B0EEFAE008F362C /* LoginBindPhonePresent.m */; };
|
8C92A8142B0EF1D8008F362C /* MewMineLoginPasswordViewController.m in Sources */ = {isa = PBXBuildFile; fileRef = 8C92A8132B0EF1D8008F362C /* MewMineLoginPasswordViewController.m */; };
|
||||||
8C92A8142B0EF1D8008F362C /* MineLoginPasswordViewController.m in Sources */ = {isa = PBXBuildFile; fileRef = 8C92A8132B0EF1D8008F362C /* MineLoginPasswordViewController.m */; };
|
8C92A8182B0EF3E9008F362C /* MewMineModifPayPwdView.m in Sources */ = {isa = PBXBuildFile; fileRef = 8C92A8172B0EF3E9008F362C /* MewMineModifPayPwdView.m */; };
|
||||||
8C92A8182B0EF3E9008F362C /* MineModifPayPwdView.m in Sources */ = {isa = PBXBuildFile; fileRef = 8C92A8172B0EF3E9008F362C /* MineModifPayPwdView.m */; };
|
|
||||||
8C92A81C2B0EF449008F362C /* UIButton+EnlargeTouchArea.m in Sources */ = {isa = PBXBuildFile; fileRef = 8C92A81B2B0EF449008F362C /* UIButton+EnlargeTouchArea.m */; };
|
8C92A81C2B0EF449008F362C /* UIButton+EnlargeTouchArea.m in Sources */ = {isa = PBXBuildFile; fileRef = 8C92A81B2B0EF449008F362C /* UIButton+EnlargeTouchArea.m */; };
|
||||||
8C92A81F2B0EF4D2008F362C /* MineLoginPasswordPresenter.m in Sources */ = {isa = PBXBuildFile; fileRef = 8C92A81E2B0EF4D2008F362C /* MineLoginPasswordPresenter.m */; };
|
8C92A81F2B0EF4D2008F362C /* MineLoginPasswordPresenter.m in Sources */ = {isa = PBXBuildFile; fileRef = 8C92A81E2B0EF4D2008F362C /* MineLoginPasswordPresenter.m */; };
|
||||||
8C92A8232B0FE1DC008F362C /* MewHtmlUrl.m in Sources */ = {isa = PBXBuildFile; fileRef = 8C92A8222B0FE1DC008F362C /* MewHtmlUrl.m */; };
|
8C92A8232B0FE1DC008F362C /* MewHtmlUrl.m in Sources */ = {isa = PBXBuildFile; fileRef = 8C92A8222B0FE1DC008F362C /* MewHtmlUrl.m */; };
|
||||||
@@ -115,35 +114,35 @@
|
|||||||
8C9C842A2B0C697A00A601BC /* Api+Room.m in Sources */ = {isa = PBXBuildFile; fileRef = 8C9C83212B0C697A00A601BC /* Api+Room.m */; };
|
8C9C842A2B0C697A00A601BC /* Api+Room.m in Sources */ = {isa = PBXBuildFile; fileRef = 8C9C83212B0C697A00A601BC /* Api+Room.m */; };
|
||||||
8C9C84302B0C697A00A601BC /* MewSessionListTableViewCell.m in Sources */ = {isa = PBXBuildFile; fileRef = 8C9C83342B0C697A00A601BC /* MewSessionListTableViewCell.m */; };
|
8C9C84302B0C697A00A601BC /* MewSessionListTableViewCell.m in Sources */ = {isa = PBXBuildFile; fileRef = 8C9C83342B0C697A00A601BC /* MewSessionListTableViewCell.m */; };
|
||||||
8C9C84312B0C697A00A601BC /* MewSessionListViewController.m in Sources */ = {isa = PBXBuildFile; fileRef = 8C9C83352B0C697A00A601BC /* MewSessionListViewController.m */; };
|
8C9C84312B0C697A00A601BC /* MewSessionListViewController.m in Sources */ = {isa = PBXBuildFile; fileRef = 8C9C83352B0C697A00A601BC /* MewSessionListViewController.m */; };
|
||||||
8C9C843A2B0C697A00A601BC /* BaseRtcImpl.m in Sources */ = {isa = PBXBuildFile; fileRef = 8C9C83502B0C697A00A601BC /* BaseRtcImpl.m */; };
|
8C9C843A2B0C697A00A601BC /* MewBaseRtcImpl.m in Sources */ = {isa = PBXBuildFile; fileRef = 8C9C83502B0C697A00A601BC /* MewBaseRtcImpl.m */; };
|
||||||
8C9C843B2B0C697A00A601BC /* TRTCRtcImpl.m in Sources */ = {isa = PBXBuildFile; fileRef = 8C9C83512B0C697A00A601BC /* TRTCRtcImpl.m */; };
|
8C9C843B2B0C697A00A601BC /* MewTRTCRtcImpl.m in Sources */ = {isa = PBXBuildFile; fileRef = 8C9C83512B0C697A00A601BC /* MewTRTCRtcImpl.m */; };
|
||||||
8C9C843C2B0C697A00A601BC /* RtcManager.m in Sources */ = {isa = PBXBuildFile; fileRef = 8C9C83552B0C697A00A601BC /* RtcManager.m */; };
|
8C9C843C2B0C697A00A601BC /* MewRtcManager.m in Sources */ = {isa = PBXBuildFile; fileRef = 8C9C83552B0C697A00A601BC /* MewRtcManager.m */; };
|
||||||
8C9C843D2B0C697A00A601BC /* YMMineCollectRoomPresenter.m in Sources */ = {isa = PBXBuildFile; fileRef = 8C9C835A2B0C697A00A601BC /* YMMineCollectRoomPresenter.m */; };
|
8C9C843D2B0C697A00A601BC /* MewMineCollectRoomPresenter.m in Sources */ = {isa = PBXBuildFile; fileRef = 8C9C835A2B0C697A00A601BC /* MewMineCollectRoomPresenter.m */; };
|
||||||
8C9C843E2B0C697A00A601BC /* YMMineSettingPresenter.m in Sources */ = {isa = PBXBuildFile; fileRef = 8C9C835B2B0C697A00A601BC /* YMMineSettingPresenter.m */; };
|
8C9C843E2B0C697A00A601BC /* MewMineSettingPresenter.m in Sources */ = {isa = PBXBuildFile; fileRef = 8C9C835B2B0C697A00A601BC /* MewMineSettingPresenter.m */; };
|
||||||
8C9C843F2B0C697A00A601BC /* FansInfoModel.m in Sources */ = {isa = PBXBuildFile; fileRef = 8C9C83642B0C697A00A601BC /* FansInfoModel.m */; };
|
8C9C843F2B0C697A00A601BC /* MewFansInfoModel.m in Sources */ = {isa = PBXBuildFile; fileRef = 8C9C83642B0C697A00A601BC /* MewFansInfoModel.m */; };
|
||||||
8C9C84402B0C697A00A601BC /* YMMineSettingItemModel.m in Sources */ = {isa = PBXBuildFile; fileRef = 8C9C83652B0C697A00A601BC /* YMMineSettingItemModel.m */; };
|
8C9C84402B0C697A00A601BC /* MewMineSettingItemModel.m in Sources */ = {isa = PBXBuildFile; fileRef = 8C9C83652B0C697A00A601BC /* MewMineSettingItemModel.m */; };
|
||||||
8C9C84412B0C697A00A601BC /* MineCollectRoomModel.m in Sources */ = {isa = PBXBuildFile; fileRef = 8C9C83662B0C697A00A601BC /* MineCollectRoomModel.m */; };
|
8C9C84412B0C697A00A601BC /* MewMineCollectRoomModel.m in Sources */ = {isa = PBXBuildFile; fileRef = 8C9C83662B0C697A00A601BC /* MewMineCollectRoomModel.m */; };
|
||||||
8C9C84422B0C697A00A601BC /* RechargeListModel.m in Sources */ = {isa = PBXBuildFile; fileRef = 8C9C836A2B0C697A00A601BC /* RechargeListModel.m */; };
|
8C9C84422B0C697A00A601BC /* MewRechargeListModel.m in Sources */ = {isa = PBXBuildFile; fileRef = 8C9C836A2B0C697A00A601BC /* MewRechargeListModel.m */; };
|
||||||
8C9C84432B0C697A00A601BC /* WalletInfoModel.m in Sources */ = {isa = PBXBuildFile; fileRef = 8C9C836B2B0C697A00A601BC /* WalletInfoModel.m */; };
|
8C9C84432B0C697A00A601BC /* MewWalletInfoModel.m in Sources */ = {isa = PBXBuildFile; fileRef = 8C9C836B2B0C697A00A601BC /* MewWalletInfoModel.m */; };
|
||||||
8C9C84442B0C697A00A601BC /* YMMineCollectRoomCell.m in Sources */ = {isa = PBXBuildFile; fileRef = 8C9C83722B0C697A00A601BC /* YMMineCollectRoomCell.m */; };
|
8C9C84442B0C697A00A601BC /* MewMineCollectRoomCell.m in Sources */ = {isa = PBXBuildFile; fileRef = 8C9C83722B0C697A00A601BC /* MewMineCollectRoomCell.m */; };
|
||||||
8C9C84452B0C697A00A601BC /* YMMineCollectRoomViewController.m in Sources */ = {isa = PBXBuildFile; fileRef = 8C9C83742B0C697A00A601BC /* YMMineCollectRoomViewController.m */; };
|
8C9C84452B0C697A00A601BC /* MewMineCollectRoomViewController.m in Sources */ = {isa = PBXBuildFile; fileRef = 8C9C83742B0C697A00A601BC /* MewMineCollectRoomViewController.m */; };
|
||||||
8C9C84462B0C697A00A601BC /* YMMineSettingViewController.m in Sources */ = {isa = PBXBuildFile; fileRef = 8C9C83772B0C697A00A601BC /* YMMineSettingViewController.m */; };
|
8C9C84462B0C697A00A601BC /* MewMineSettingViewController.m in Sources */ = {isa = PBXBuildFile; fileRef = 8C9C83772B0C697A00A601BC /* MewMineSettingViewController.m */; };
|
||||||
8C9C84472B0C697A00A601BC /* MewMineCollectionTableViewCell.m in Sources */ = {isa = PBXBuildFile; fileRef = 8C9C837A2B0C697A00A601BC /* MewMineCollectionTableViewCell.m */; };
|
8C9C84472B0C697A00A601BC /* MewMineCollectionTableViewCell.m in Sources */ = {isa = PBXBuildFile; fileRef = 8C9C837A2B0C697A00A601BC /* MewMineCollectionTableViewCell.m */; };
|
||||||
8C9C84482B0C697A00A601BC /* YMMineSettingTableViewCell.m in Sources */ = {isa = PBXBuildFile; fileRef = 8C9C837B2B0C697A00A601BC /* YMMineSettingTableViewCell.m */; };
|
8C9C84482B0C697A00A601BC /* MewMineSettingTableViewCell.m in Sources */ = {isa = PBXBuildFile; fileRef = 8C9C837B2B0C697A00A601BC /* MewMineSettingTableViewCell.m */; };
|
||||||
8C9C84492B0C697A00A601BC /* YMMineAboutUsViewController.m in Sources */ = {isa = PBXBuildFile; fileRef = 8C9C837E2B0C697A00A601BC /* YMMineAboutUsViewController.m */; };
|
8C9C84492B0C697A00A601BC /* MewMineAboutUsViewController.m in Sources */ = {isa = PBXBuildFile; fileRef = 8C9C837E2B0C697A00A601BC /* MewMineAboutUsViewController.m */; };
|
||||||
8C9C844A2B0C697A00A601BC /* Api+Mine.m in Sources */ = {isa = PBXBuildFile; fileRef = 8C9C83802B0C697A00A601BC /* Api+Mine.m */; };
|
8C9C844A2B0C697A00A601BC /* Api+Mine.m in Sources */ = {isa = PBXBuildFile; fileRef = 8C9C83802B0C697A00A601BC /* Api+Mine.m */; };
|
||||||
8C9C844B2B0C697A00A601BC /* AttachmentModel.m in Sources */ = {isa = PBXBuildFile; fileRef = 8C9C83852B0C697A00A601BC /* AttachmentModel.m */; };
|
8C9C844B2B0C697A00A601BC /* MewAttachmentModel.m in Sources */ = {isa = PBXBuildFile; fileRef = 8C9C83852B0C697A00A601BC /* MewAttachmentModel.m */; };
|
||||||
8C9C844C2B0C697A00A601BC /* CustomAttachmentDecoder.m in Sources */ = {isa = PBXBuildFile; fileRef = 8C9C83882B0C697A00A601BC /* CustomAttachmentDecoder.m */; };
|
8C9C844C2B0C697A00A601BC /* MewCustomAttachmentDecoder.m in Sources */ = {isa = PBXBuildFile; fileRef = 8C9C83882B0C697A00A601BC /* MewCustomAttachmentDecoder.m */; };
|
||||||
8C9C844D2B0C697A00A601BC /* LoginForgetPasswordPresent.m in Sources */ = {isa = PBXBuildFile; fileRef = 8C9C838B2B0C697A00A601BC /* LoginForgetPasswordPresent.m */; };
|
8C9C844D2B0C697A00A601BC /* MewLoginForgetPasswordPresent.m in Sources */ = {isa = PBXBuildFile; fileRef = 8C9C838B2B0C697A00A601BC /* MewLoginForgetPasswordPresent.m */; };
|
||||||
8C9C844E2B0C697A00A601BC /* LoginPresenter.m in Sources */ = {isa = PBXBuildFile; fileRef = 8C9C838F2B0C697A00A601BC /* LoginPresenter.m */; };
|
8C9C844E2B0C697A00A601BC /* MewLoginPresenter.m in Sources */ = {isa = PBXBuildFile; fileRef = 8C9C838F2B0C697A00A601BC /* MewLoginPresenter.m */; };
|
||||||
8C9C844F2B0C697A00A601BC /* LoginFullInfoPresenter.m in Sources */ = {isa = PBXBuildFile; fileRef = 8C9C83912B0C697A00A601BC /* LoginFullInfoPresenter.m */; };
|
8C9C844F2B0C697A00A601BC /* MewLoginFullInfoPresenter.m in Sources */ = {isa = PBXBuildFile; fileRef = 8C9C83912B0C697A00A601BC /* MewLoginFullInfoPresenter.m */; };
|
||||||
8C9C84502B0C697A00A601BC /* LoginVerifCodePresent.m in Sources */ = {isa = PBXBuildFile; fileRef = 8C9C83922B0C697A00A601BC /* LoginVerifCodePresent.m */; };
|
8C9C84502B0C697A00A601BC /* MewLoginVerifCodePresent.m in Sources */ = {isa = PBXBuildFile; fileRef = 8C9C83922B0C697A00A601BC /* MewLoginVerifCodePresent.m */; };
|
||||||
8C9C84512B0C697A00A601BC /* LoginPasswordPresent.m in Sources */ = {isa = PBXBuildFile; fileRef = 8C9C83942B0C697A00A601BC /* LoginPasswordPresent.m */; };
|
8C9C84512B0C697A00A601BC /* MewLoginPasswordPresent.m in Sources */ = {isa = PBXBuildFile; fileRef = 8C9C83942B0C697A00A601BC /* MewLoginPasswordPresent.m */; };
|
||||||
8C9C84522B0C697A00A601BC /* ThirdUserInfo.m in Sources */ = {isa = PBXBuildFile; fileRef = 8C9C839D2B0C697A00A601BC /* ThirdUserInfo.m */; };
|
8C9C84522B0C697A00A601BC /* MewThirdUserInfo.m in Sources */ = {isa = PBXBuildFile; fileRef = 8C9C839D2B0C697A00A601BC /* MewThirdUserInfo.m */; };
|
||||||
8C9C84532B0C697A00A601BC /* LoginForgetPasswordViewController.m in Sources */ = {isa = PBXBuildFile; fileRef = 8C9C839F2B0C697A00A601BC /* LoginForgetPasswordViewController.m */; };
|
8C9C84532B0C697A00A601BC /* MewLoginForgetPasswordViewController.m in Sources */ = {isa = PBXBuildFile; fileRef = 8C9C839F2B0C697A00A601BC /* MewLoginForgetPasswordViewController.m */; };
|
||||||
8C9C84542B0C697A00A601BC /* LoginInputView.m in Sources */ = {isa = PBXBuildFile; fileRef = 8C9C83A32B0C697A00A601BC /* LoginInputView.m */; };
|
8C9C84542B0C697A00A601BC /* MewLoginInputView.m in Sources */ = {isa = PBXBuildFile; fileRef = 8C9C83A32B0C697A00A601BC /* MewLoginInputView.m */; };
|
||||||
8C9C84552B0C697A00A601BC /* LoginForgetEditView.m in Sources */ = {isa = PBXBuildFile; fileRef = 8C9C83A62B0C697A00A601BC /* LoginForgetEditView.m */; };
|
8C9C84552B0C697A00A601BC /* MewLoginForgetEditView.m in Sources */ = {isa = PBXBuildFile; fileRef = 8C9C83A62B0C697A00A601BC /* MewLoginForgetEditView.m */; };
|
||||||
8C9C84562B0C697A00A601BC /* LoginFullInfoViewController.m in Sources */ = {isa = PBXBuildFile; fileRef = 8C9C83A72B0C697A00A601BC /* LoginFullInfoViewController.m */; };
|
8C9C84562B0C697A00A601BC /* MewLoginFullInfoViewController.m in Sources */ = {isa = PBXBuildFile; fileRef = 8C9C83A72B0C697A00A601BC /* MewLoginFullInfoViewController.m */; };
|
||||||
8C9C84572B0C697A00A601BC /* Api+Login.m in Sources */ = {isa = PBXBuildFile; fileRef = 8C9C83AA2B0C697A00A601BC /* Api+Login.m */; };
|
8C9C84572B0C697A00A601BC /* Api+Login.m in Sources */ = {isa = PBXBuildFile; fileRef = 8C9C83AA2B0C697A00A601BC /* Api+Login.m */; };
|
||||||
8C9C84582B0C697A00A601BC /* MainPresenter.m in Sources */ = {isa = PBXBuildFile; fileRef = 8C9C83AE2B0C697A00A601BC /* MainPresenter.m */; };
|
8C9C84582B0C697A00A601BC /* MainPresenter.m in Sources */ = {isa = PBXBuildFile; fileRef = 8C9C83AE2B0C697A00A601BC /* MainPresenter.m */; };
|
||||||
8C9C84592B0C697A00A601BC /* TabbarViewController.m in Sources */ = {isa = PBXBuildFile; fileRef = 8C9C83B42B0C697A00A601BC /* TabbarViewController.m */; };
|
8C9C84592B0C697A00A601BC /* TabbarViewController.m in Sources */ = {isa = PBXBuildFile; fileRef = 8C9C83B42B0C697A00A601BC /* TabbarViewController.m */; };
|
||||||
@@ -190,7 +189,7 @@
|
|||||||
8C9C84AD2B0D9AB900A601BC /* MewRoomMessageHeaderView.m in Sources */ = {isa = PBXBuildFile; fileRef = 8C9C84AC2B0D9AB900A601BC /* MewRoomMessageHeaderView.m */; };
|
8C9C84AD2B0D9AB900A601BC /* MewRoomMessageHeaderView.m in Sources */ = {isa = PBXBuildFile; fileRef = 8C9C84AC2B0D9AB900A601BC /* MewRoomMessageHeaderView.m */; };
|
||||||
8C9C84B12B0DEAE100A601BC /* YMIButton.m in Sources */ = {isa = PBXBuildFile; fileRef = 8C9C84B02B0DEAE100A601BC /* YMIButton.m */; };
|
8C9C84B12B0DEAE100A601BC /* YMIButton.m in Sources */ = {isa = PBXBuildFile; fileRef = 8C9C84B02B0DEAE100A601BC /* YMIButton.m */; };
|
||||||
8C9C84B42B0E951200A601BC /* StoreKit.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 8C9C84B32B0E951200A601BC /* StoreKit.framework */; };
|
8C9C84B42B0E951200A601BC /* StoreKit.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 8C9C84B32B0E951200A601BC /* StoreKit.framework */; };
|
||||||
8C9C84BA2B0ECD2100A601BC /* MineRechargePresenter.m in Sources */ = {isa = PBXBuildFile; fileRef = 8C9C84B92B0ECD2100A601BC /* MineRechargePresenter.m */; };
|
8C9C84BA2B0ECD2100A601BC /* MewMineRechargePresenter.m in Sources */ = {isa = PBXBuildFile; fileRef = 8C9C84B92B0ECD2100A601BC /* MewMineRechargePresenter.m */; };
|
||||||
8CAB96F52B1AB15200ED8639 /* MewRoomAnimationGroup.m in Sources */ = {isa = PBXBuildFile; fileRef = 8CAB96F42B1AB15200ED8639 /* MewRoomAnimationGroup.m */; };
|
8CAB96F52B1AB15200ED8639 /* MewRoomAnimationGroup.m in Sources */ = {isa = PBXBuildFile; fileRef = 8CAB96F42B1AB15200ED8639 /* MewRoomAnimationGroup.m */; };
|
||||||
8CAB97012B1FE16000ED8639 /* UITableView+NIMScrollToBottom.m in Sources */ = {isa = PBXBuildFile; fileRef = 8CAB97002B1FE16000ED8639 /* UITableView+NIMScrollToBottom.m */; };
|
8CAB97012B1FE16000ED8639 /* UITableView+NIMScrollToBottom.m in Sources */ = {isa = PBXBuildFile; fileRef = 8CAB97002B1FE16000ED8639 /* UITableView+NIMScrollToBottom.m */; };
|
||||||
FFDAAB800AD6BB4653B4427F /* Pods_yinmeng_ios.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 1797344FB85F47F60D0CC2A0 /* Pods_yinmeng_ios.framework */; };
|
FFDAAB800AD6BB4653B4427F /* Pods_yinmeng_ios.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 1797344FB85F47F60D0CC2A0 /* Pods_yinmeng_ios.framework */; };
|
||||||
@@ -291,21 +290,19 @@
|
|||||||
8C4D535E2AFD4CF700238AE6 /* Base */ = {isa = PBXFileReference; lastKnownFileType = file.storyboard; name = Base; path = Base.lproj/LaunchScreen.storyboard; sourceTree = "<group>"; };
|
8C4D535E2AFD4CF700238AE6 /* Base */ = {isa = PBXFileReference; lastKnownFileType = file.storyboard; name = Base; path = Base.lproj/LaunchScreen.storyboard; sourceTree = "<group>"; };
|
||||||
8C4D53602AFD4CF700238AE6 /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = "<group>"; };
|
8C4D53602AFD4CF700238AE6 /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = "<group>"; };
|
||||||
8C4D53612AFD4CF700238AE6 /* main.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = main.m; sourceTree = "<group>"; };
|
8C4D53612AFD4CF700238AE6 /* main.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = main.m; sourceTree = "<group>"; };
|
||||||
8C92A8022B0EED72008F362C /* LoginBindPhoneResultViewController.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = LoginBindPhoneResultViewController.h; sourceTree = "<group>"; };
|
8C92A8052B0EEDD0008F362C /* MewLoginVerifBindPhoneViewController.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = MewLoginVerifBindPhoneViewController.h; sourceTree = "<group>"; };
|
||||||
8C92A8032B0EED72008F362C /* LoginBindPhoneResultViewController.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = LoginBindPhoneResultViewController.m; sourceTree = "<group>"; };
|
8C92A8062B0EEDD0008F362C /* MewLoginVerifBindPhoneViewController.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = MewLoginVerifBindPhoneViewController.m; sourceTree = "<group>"; };
|
||||||
8C92A8052B0EEDD0008F362C /* LoginVerifBindPhoneViewController.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = LoginVerifBindPhoneViewController.h; sourceTree = "<group>"; };
|
8C92A8082B0EEE3C008F362C /* MewLoginVerifBindPhoneProtocol.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = MewLoginVerifBindPhoneProtocol.h; sourceTree = "<group>"; };
|
||||||
8C92A8062B0EEDD0008F362C /* LoginVerifBindPhoneViewController.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = LoginVerifBindPhoneViewController.m; sourceTree = "<group>"; };
|
8C92A8092B0EEE73008F362C /* MewLoginVerifBindPhonePresenter.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = MewLoginVerifBindPhonePresenter.h; sourceTree = "<group>"; };
|
||||||
8C92A8082B0EEE3C008F362C /* LoginVerifBindPhoneProtocol.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = LoginVerifBindPhoneProtocol.h; sourceTree = "<group>"; };
|
8C92A80A2B0EEE73008F362C /* MewLoginVerifBindPhonePresenter.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = MewLoginVerifBindPhonePresenter.m; sourceTree = "<group>"; };
|
||||||
8C92A8092B0EEE73008F362C /* LoginVerifBindPhonePresenter.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = LoginVerifBindPhonePresenter.h; sourceTree = "<group>"; };
|
8C92A80C2B0EEF3A008F362C /* MewLoginBindPhoneViewController.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = MewLoginBindPhoneViewController.h; sourceTree = "<group>"; };
|
||||||
8C92A80A2B0EEE73008F362C /* LoginVerifBindPhonePresenter.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = LoginVerifBindPhonePresenter.m; sourceTree = "<group>"; };
|
8C92A80D2B0EEF3A008F362C /* MewLoginBindPhoneViewController.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = MewLoginBindPhoneViewController.m; sourceTree = "<group>"; };
|
||||||
8C92A80C2B0EEF3A008F362C /* LoginBindPhoneViewController.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = LoginBindPhoneViewController.h; sourceTree = "<group>"; };
|
8C92A80F2B0EEFAE008F362C /* MewLoginBindPhonePresent.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = MewLoginBindPhonePresent.h; sourceTree = "<group>"; };
|
||||||
8C92A80D2B0EEF3A008F362C /* LoginBindPhoneViewController.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = LoginBindPhoneViewController.m; sourceTree = "<group>"; };
|
8C92A8102B0EEFAE008F362C /* MewLoginBindPhonePresent.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = MewLoginBindPhonePresent.m; sourceTree = "<group>"; };
|
||||||
8C92A80F2B0EEFAE008F362C /* LoginBindPhonePresent.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = LoginBindPhonePresent.h; sourceTree = "<group>"; };
|
8C92A8122B0EF1D8008F362C /* MewMineLoginPasswordViewController.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = MewMineLoginPasswordViewController.h; sourceTree = "<group>"; };
|
||||||
8C92A8102B0EEFAE008F362C /* LoginBindPhonePresent.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = LoginBindPhonePresent.m; sourceTree = "<group>"; };
|
8C92A8132B0EF1D8008F362C /* MewMineLoginPasswordViewController.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = MewMineLoginPasswordViewController.m; sourceTree = "<group>"; };
|
||||||
8C92A8122B0EF1D8008F362C /* MineLoginPasswordViewController.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = MineLoginPasswordViewController.h; sourceTree = "<group>"; };
|
8C92A8162B0EF3E9008F362C /* MewMineModifPayPwdView.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = MewMineModifPayPwdView.h; sourceTree = "<group>"; };
|
||||||
8C92A8132B0EF1D8008F362C /* MineLoginPasswordViewController.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = MineLoginPasswordViewController.m; sourceTree = "<group>"; };
|
8C92A8172B0EF3E9008F362C /* MewMineModifPayPwdView.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = MewMineModifPayPwdView.m; sourceTree = "<group>"; };
|
||||||
8C92A8162B0EF3E9008F362C /* MineModifPayPwdView.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = MineModifPayPwdView.h; sourceTree = "<group>"; };
|
|
||||||
8C92A8172B0EF3E9008F362C /* MineModifPayPwdView.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = MineModifPayPwdView.m; sourceTree = "<group>"; };
|
|
||||||
8C92A81A2B0EF449008F362C /* UIButton+EnlargeTouchArea.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = "UIButton+EnlargeTouchArea.h"; sourceTree = "<group>"; };
|
8C92A81A2B0EF449008F362C /* UIButton+EnlargeTouchArea.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = "UIButton+EnlargeTouchArea.h"; sourceTree = "<group>"; };
|
||||||
8C92A81B2B0EF449008F362C /* UIButton+EnlargeTouchArea.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = "UIButton+EnlargeTouchArea.m"; sourceTree = "<group>"; };
|
8C92A81B2B0EF449008F362C /* UIButton+EnlargeTouchArea.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = "UIButton+EnlargeTouchArea.m"; sourceTree = "<group>"; };
|
||||||
8C92A81D2B0EF4D2008F362C /* MineLoginPasswordPresenter.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = MineLoginPasswordPresenter.h; sourceTree = "<group>"; };
|
8C92A81D2B0EF4D2008F362C /* MineLoginPasswordPresenter.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = MineLoginPasswordPresenter.h; sourceTree = "<group>"; };
|
||||||
@@ -428,74 +425,74 @@
|
|||||||
8C9C83352B0C697A00A601BC /* MewSessionListViewController.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = MewSessionListViewController.m; sourceTree = "<group>"; };
|
8C9C83352B0C697A00A601BC /* MewSessionListViewController.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = MewSessionListViewController.m; sourceTree = "<group>"; };
|
||||||
8C9C83362B0C697A00A601BC /* MewSessionListTableViewCell.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = MewSessionListTableViewCell.h; sourceTree = "<group>"; };
|
8C9C83362B0C697A00A601BC /* MewSessionListTableViewCell.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = MewSessionListTableViewCell.h; sourceTree = "<group>"; };
|
||||||
8C9C83372B0C697A00A601BC /* MewSessionListViewController.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = MewSessionListViewController.h; sourceTree = "<group>"; };
|
8C9C83372B0C697A00A601BC /* MewSessionListViewController.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = MewSessionListViewController.h; sourceTree = "<group>"; };
|
||||||
8C9C834F2B0C697A00A601BC /* RtcInterface.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = RtcInterface.h; sourceTree = "<group>"; };
|
8C9C834F2B0C697A00A601BC /* MewRtcInterface.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = MewRtcInterface.h; sourceTree = "<group>"; };
|
||||||
8C9C83502B0C697A00A601BC /* BaseRtcImpl.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = BaseRtcImpl.m; sourceTree = "<group>"; };
|
8C9C83502B0C697A00A601BC /* MewBaseRtcImpl.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = MewBaseRtcImpl.m; sourceTree = "<group>"; };
|
||||||
8C9C83512B0C697A00A601BC /* TRTCRtcImpl.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = TRTCRtcImpl.m; sourceTree = "<group>"; };
|
8C9C83512B0C697A00A601BC /* MewTRTCRtcImpl.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = MewTRTCRtcImpl.m; sourceTree = "<group>"; };
|
||||||
8C9C83522B0C697A00A601BC /* RtcImplDelegate.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = RtcImplDelegate.h; sourceTree = "<group>"; };
|
8C9C83522B0C697A00A601BC /* MewRtcImplDelegate.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = MewRtcImplDelegate.h; sourceTree = "<group>"; };
|
||||||
8C9C83532B0C697A00A601BC /* TRTCRtcImpl.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = TRTCRtcImpl.h; sourceTree = "<group>"; };
|
8C9C83532B0C697A00A601BC /* MewTRTCRtcImpl.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = MewTRTCRtcImpl.h; sourceTree = "<group>"; };
|
||||||
8C9C83542B0C697A00A601BC /* BaseRtcImpl.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = BaseRtcImpl.h; sourceTree = "<group>"; };
|
8C9C83542B0C697A00A601BC /* MewBaseRtcImpl.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = MewBaseRtcImpl.h; sourceTree = "<group>"; };
|
||||||
8C9C83552B0C697A00A601BC /* RtcManager.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = RtcManager.m; sourceTree = "<group>"; };
|
8C9C83552B0C697A00A601BC /* MewRtcManager.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = MewRtcManager.m; sourceTree = "<group>"; };
|
||||||
8C9C83562B0C697A00A601BC /* RtcDelegate.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = RtcDelegate.h; sourceTree = "<group>"; };
|
8C9C83562B0C697A00A601BC /* MewRtcDelegate.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = MewRtcDelegate.h; sourceTree = "<group>"; };
|
||||||
8C9C83572B0C697A00A601BC /* RtcManager.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = RtcManager.h; sourceTree = "<group>"; };
|
8C9C83572B0C697A00A601BC /* MewRtcManager.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = MewRtcManager.h; sourceTree = "<group>"; };
|
||||||
8C9C835A2B0C697A00A601BC /* YMMineCollectRoomPresenter.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = YMMineCollectRoomPresenter.m; sourceTree = "<group>"; };
|
8C9C835A2B0C697A00A601BC /* MewMineCollectRoomPresenter.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = MewMineCollectRoomPresenter.m; sourceTree = "<group>"; };
|
||||||
8C9C835B2B0C697A00A601BC /* YMMineSettingPresenter.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = YMMineSettingPresenter.m; sourceTree = "<group>"; };
|
8C9C835B2B0C697A00A601BC /* MewMineSettingPresenter.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = MewMineSettingPresenter.m; sourceTree = "<group>"; };
|
||||||
8C9C835C2B0C697A00A601BC /* YMMineSettingPresenter.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = YMMineSettingPresenter.h; sourceTree = "<group>"; };
|
8C9C835C2B0C697A00A601BC /* MewMineSettingPresenter.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = MewMineSettingPresenter.h; sourceTree = "<group>"; };
|
||||||
8C9C835D2B0C697A00A601BC /* YMMineCollectRoomPresenter.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = YMMineCollectRoomPresenter.h; sourceTree = "<group>"; };
|
8C9C835D2B0C697A00A601BC /* MewMineCollectRoomPresenter.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = MewMineCollectRoomPresenter.h; sourceTree = "<group>"; };
|
||||||
8C9C835F2B0C697A00A601BC /* YMMineSettingProtocol.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = YMMineSettingProtocol.h; sourceTree = "<group>"; };
|
8C9C835F2B0C697A00A601BC /* MewMineSettingProtocol.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = MewMineSettingProtocol.h; sourceTree = "<group>"; };
|
||||||
8C9C83602B0C697A00A601BC /* YMMineCollectRoomProtocol.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = YMMineCollectRoomProtocol.h; sourceTree = "<group>"; };
|
8C9C83602B0C697A00A601BC /* MewMineCollectRoomProtocol.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = MewMineCollectRoomProtocol.h; sourceTree = "<group>"; };
|
||||||
8C9C83632B0C697A00A601BC /* FansInfoModel.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = FansInfoModel.h; sourceTree = "<group>"; };
|
8C9C83632B0C697A00A601BC /* MewFansInfoModel.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = MewFansInfoModel.h; sourceTree = "<group>"; };
|
||||||
8C9C83642B0C697A00A601BC /* FansInfoModel.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = FansInfoModel.m; sourceTree = "<group>"; };
|
8C9C83642B0C697A00A601BC /* MewFansInfoModel.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = MewFansInfoModel.m; sourceTree = "<group>"; };
|
||||||
8C9C83652B0C697A00A601BC /* YMMineSettingItemModel.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = YMMineSettingItemModel.m; sourceTree = "<group>"; };
|
8C9C83652B0C697A00A601BC /* MewMineSettingItemModel.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = MewMineSettingItemModel.m; sourceTree = "<group>"; };
|
||||||
8C9C83662B0C697A00A601BC /* MineCollectRoomModel.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = MineCollectRoomModel.m; sourceTree = "<group>"; };
|
8C9C83662B0C697A00A601BC /* MewMineCollectRoomModel.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = MewMineCollectRoomModel.m; sourceTree = "<group>"; };
|
||||||
8C9C83682B0C697A00A601BC /* RechargeListModel.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = RechargeListModel.h; sourceTree = "<group>"; };
|
8C9C83682B0C697A00A601BC /* MewRechargeListModel.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = MewRechargeListModel.h; sourceTree = "<group>"; };
|
||||||
8C9C83692B0C697A00A601BC /* WalletInfoModel.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = WalletInfoModel.h; sourceTree = "<group>"; };
|
8C9C83692B0C697A00A601BC /* MewWalletInfoModel.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = MewWalletInfoModel.h; sourceTree = "<group>"; };
|
||||||
8C9C836A2B0C697A00A601BC /* RechargeListModel.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = RechargeListModel.m; sourceTree = "<group>"; };
|
8C9C836A2B0C697A00A601BC /* MewRechargeListModel.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = MewRechargeListModel.m; sourceTree = "<group>"; };
|
||||||
8C9C836B2B0C697A00A601BC /* WalletInfoModel.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = WalletInfoModel.m; sourceTree = "<group>"; };
|
8C9C836B2B0C697A00A601BC /* MewWalletInfoModel.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = MewWalletInfoModel.m; sourceTree = "<group>"; };
|
||||||
8C9C836C2B0C697A00A601BC /* YMMineSettingItemModel.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = YMMineSettingItemModel.h; sourceTree = "<group>"; };
|
8C9C836C2B0C697A00A601BC /* MewMineSettingItemModel.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = MewMineSettingItemModel.h; sourceTree = "<group>"; };
|
||||||
8C9C836D2B0C697A00A601BC /* MineCollectRoomModel.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = MineCollectRoomModel.h; sourceTree = "<group>"; };
|
8C9C836D2B0C697A00A601BC /* MewMineCollectRoomModel.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = MewMineCollectRoomModel.h; sourceTree = "<group>"; };
|
||||||
8C9C83702B0C697A00A601BC /* YMMineCollectRoomViewController.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = YMMineCollectRoomViewController.h; sourceTree = "<group>"; };
|
8C9C83702B0C697A00A601BC /* MewMineCollectRoomViewController.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = MewMineCollectRoomViewController.h; sourceTree = "<group>"; };
|
||||||
8C9C83722B0C697A00A601BC /* YMMineCollectRoomCell.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = YMMineCollectRoomCell.m; sourceTree = "<group>"; };
|
8C9C83722B0C697A00A601BC /* MewMineCollectRoomCell.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = MewMineCollectRoomCell.m; sourceTree = "<group>"; };
|
||||||
8C9C83732B0C697A00A601BC /* YMMineCollectRoomCell.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = YMMineCollectRoomCell.h; sourceTree = "<group>"; };
|
8C9C83732B0C697A00A601BC /* MewMineCollectRoomCell.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = MewMineCollectRoomCell.h; sourceTree = "<group>"; };
|
||||||
8C9C83742B0C697A00A601BC /* YMMineCollectRoomViewController.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = YMMineCollectRoomViewController.m; sourceTree = "<group>"; };
|
8C9C83742B0C697A00A601BC /* MewMineCollectRoomViewController.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = MewMineCollectRoomViewController.m; sourceTree = "<group>"; };
|
||||||
8C9C83762B0C697A00A601BC /* YMMineAboutUsViewController.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = YMMineAboutUsViewController.h; sourceTree = "<group>"; };
|
8C9C83762B0C697A00A601BC /* MewMineAboutUsViewController.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = MewMineAboutUsViewController.h; sourceTree = "<group>"; };
|
||||||
8C9C83772B0C697A00A601BC /* YMMineSettingViewController.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = YMMineSettingViewController.m; sourceTree = "<group>"; };
|
8C9C83772B0C697A00A601BC /* MewMineSettingViewController.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = MewMineSettingViewController.m; sourceTree = "<group>"; };
|
||||||
8C9C83792B0C697A00A601BC /* YMMineSettingTableViewCell.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = YMMineSettingTableViewCell.h; sourceTree = "<group>"; };
|
8C9C83792B0C697A00A601BC /* MewMineSettingTableViewCell.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = MewMineSettingTableViewCell.h; sourceTree = "<group>"; };
|
||||||
8C9C837A2B0C697A00A601BC /* MewMineCollectionTableViewCell.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = MewMineCollectionTableViewCell.m; sourceTree = "<group>"; };
|
8C9C837A2B0C697A00A601BC /* MewMineCollectionTableViewCell.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = MewMineCollectionTableViewCell.m; sourceTree = "<group>"; };
|
||||||
8C9C837B2B0C697A00A601BC /* YMMineSettingTableViewCell.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = YMMineSettingTableViewCell.m; sourceTree = "<group>"; };
|
8C9C837B2B0C697A00A601BC /* MewMineSettingTableViewCell.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = MewMineSettingTableViewCell.m; sourceTree = "<group>"; };
|
||||||
8C9C837C2B0C697A00A601BC /* MewMineCollectionTableViewCell.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = MewMineCollectionTableViewCell.h; sourceTree = "<group>"; };
|
8C9C837C2B0C697A00A601BC /* MewMineCollectionTableViewCell.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = MewMineCollectionTableViewCell.h; sourceTree = "<group>"; };
|
||||||
8C9C837D2B0C697A00A601BC /* YMMineSettingViewController.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = YMMineSettingViewController.h; sourceTree = "<group>"; };
|
8C9C837D2B0C697A00A601BC /* MewMineSettingViewController.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = MewMineSettingViewController.h; sourceTree = "<group>"; };
|
||||||
8C9C837E2B0C697A00A601BC /* YMMineAboutUsViewController.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = YMMineAboutUsViewController.m; sourceTree = "<group>"; };
|
8C9C837E2B0C697A00A601BC /* MewMineAboutUsViewController.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = MewMineAboutUsViewController.m; sourceTree = "<group>"; };
|
||||||
8C9C83802B0C697A00A601BC /* Api+Mine.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = "Api+Mine.m"; sourceTree = "<group>"; };
|
8C9C83802B0C697A00A601BC /* Api+Mine.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = "Api+Mine.m"; sourceTree = "<group>"; };
|
||||||
8C9C83812B0C697A00A601BC /* Api+Mine.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = "Api+Mine.h"; sourceTree = "<group>"; };
|
8C9C83812B0C697A00A601BC /* Api+Mine.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = "Api+Mine.h"; sourceTree = "<group>"; };
|
||||||
8C9C83842B0C697A00A601BC /* AttachmentModel.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = AttachmentModel.h; sourceTree = "<group>"; };
|
8C9C83842B0C697A00A601BC /* MewAttachmentModel.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = MewAttachmentModel.h; sourceTree = "<group>"; };
|
||||||
8C9C83852B0C697A00A601BC /* AttachmentModel.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = AttachmentModel.m; sourceTree = "<group>"; };
|
8C9C83852B0C697A00A601BC /* MewAttachmentModel.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = MewAttachmentModel.m; sourceTree = "<group>"; };
|
||||||
8C9C83872B0C697A00A601BC /* CustomAttachmentDecoder.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = CustomAttachmentDecoder.h; sourceTree = "<group>"; };
|
8C9C83872B0C697A00A601BC /* MewCustomAttachmentDecoder.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = MewCustomAttachmentDecoder.h; sourceTree = "<group>"; };
|
||||||
8C9C83882B0C697A00A601BC /* CustomAttachmentDecoder.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = CustomAttachmentDecoder.m; sourceTree = "<group>"; };
|
8C9C83882B0C697A00A601BC /* MewCustomAttachmentDecoder.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = MewCustomAttachmentDecoder.m; sourceTree = "<group>"; };
|
||||||
8C9C838B2B0C697A00A601BC /* LoginForgetPasswordPresent.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = LoginForgetPasswordPresent.m; sourceTree = "<group>"; };
|
8C9C838B2B0C697A00A601BC /* MewLoginForgetPasswordPresent.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = MewLoginForgetPasswordPresent.m; sourceTree = "<group>"; };
|
||||||
8C9C838C2B0C697A00A601BC /* LoginFullInfoPresenter.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = LoginFullInfoPresenter.h; sourceTree = "<group>"; };
|
8C9C838C2B0C697A00A601BC /* MewLoginFullInfoPresenter.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = MewLoginFullInfoPresenter.h; sourceTree = "<group>"; };
|
||||||
8C9C838D2B0C697A00A601BC /* LoginVerifCodePresent.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = LoginVerifCodePresent.h; sourceTree = "<group>"; };
|
8C9C838D2B0C697A00A601BC /* MewLoginVerifCodePresent.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = MewLoginVerifCodePresent.h; sourceTree = "<group>"; };
|
||||||
8C9C838E2B0C697A00A601BC /* LoginPasswordPresent.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = LoginPasswordPresent.h; sourceTree = "<group>"; };
|
8C9C838E2B0C697A00A601BC /* MewLoginPasswordPresent.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = MewLoginPasswordPresent.h; sourceTree = "<group>"; };
|
||||||
8C9C838F2B0C697A00A601BC /* LoginPresenter.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = LoginPresenter.m; sourceTree = "<group>"; };
|
8C9C838F2B0C697A00A601BC /* MewLoginPresenter.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = MewLoginPresenter.m; sourceTree = "<group>"; };
|
||||||
8C9C83902B0C697A00A601BC /* LoginForgetPasswordPresent.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = LoginForgetPasswordPresent.h; sourceTree = "<group>"; };
|
8C9C83902B0C697A00A601BC /* MewLoginForgetPasswordPresent.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = MewLoginForgetPasswordPresent.h; sourceTree = "<group>"; };
|
||||||
8C9C83912B0C697A00A601BC /* LoginFullInfoPresenter.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = LoginFullInfoPresenter.m; sourceTree = "<group>"; };
|
8C9C83912B0C697A00A601BC /* MewLoginFullInfoPresenter.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = MewLoginFullInfoPresenter.m; sourceTree = "<group>"; };
|
||||||
8C9C83922B0C697A00A601BC /* LoginVerifCodePresent.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = LoginVerifCodePresent.m; sourceTree = "<group>"; };
|
8C9C83922B0C697A00A601BC /* MewLoginVerifCodePresent.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = MewLoginVerifCodePresent.m; sourceTree = "<group>"; };
|
||||||
8C9C83932B0C697A00A601BC /* LoginPresenter.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = LoginPresenter.h; sourceTree = "<group>"; };
|
8C9C83932B0C697A00A601BC /* MewLoginPresenter.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = MewLoginPresenter.h; sourceTree = "<group>"; };
|
||||||
8C9C83942B0C697A00A601BC /* LoginPasswordPresent.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = LoginPasswordPresent.m; sourceTree = "<group>"; };
|
8C9C83942B0C697A00A601BC /* MewLoginPasswordPresent.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = MewLoginPasswordPresent.m; sourceTree = "<group>"; };
|
||||||
8C9C83962B0C697A00A601BC /* LoginForgetPasswordProtocol.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = LoginForgetPasswordProtocol.h; sourceTree = "<group>"; };
|
8C9C83962B0C697A00A601BC /* MewLoginForgetPasswordProtocol.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = MewLoginForgetPasswordProtocol.h; sourceTree = "<group>"; };
|
||||||
8C9C83972B0C697A00A601BC /* LoginProtocol.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = LoginProtocol.h; sourceTree = "<group>"; };
|
8C9C83972B0C697A00A601BC /* MewLoginProtocol.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = MewLoginProtocol.h; sourceTree = "<group>"; };
|
||||||
8C9C83982B0C697A00A601BC /* LoginPasswordProtocol.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = LoginPasswordProtocol.h; sourceTree = "<group>"; };
|
8C9C83982B0C697A00A601BC /* MewLoginPasswordProtocol.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = MewLoginPasswordProtocol.h; sourceTree = "<group>"; };
|
||||||
8C9C83992B0C697A00A601BC /* LoginFullInfoProtocol.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = LoginFullInfoProtocol.h; sourceTree = "<group>"; };
|
8C9C83992B0C697A00A601BC /* MewLoginFullInfoProtocol.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = MewLoginFullInfoProtocol.h; sourceTree = "<group>"; };
|
||||||
8C9C839A2B0C697A00A601BC /* LoginVerifCodeProtocol.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = LoginVerifCodeProtocol.h; sourceTree = "<group>"; };
|
8C9C839A2B0C697A00A601BC /* MewLoginVerifCodeProtocol.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = MewLoginVerifCodeProtocol.h; sourceTree = "<group>"; };
|
||||||
8C9C839C2B0C697A00A601BC /* ThirdUserInfo.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = ThirdUserInfo.h; sourceTree = "<group>"; };
|
8C9C839C2B0C697A00A601BC /* MewThirdUserInfo.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = MewThirdUserInfo.h; sourceTree = "<group>"; };
|
||||||
8C9C839D2B0C697A00A601BC /* ThirdUserInfo.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = ThirdUserInfo.m; sourceTree = "<group>"; };
|
8C9C839D2B0C697A00A601BC /* MewThirdUserInfo.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = MewThirdUserInfo.m; sourceTree = "<group>"; };
|
||||||
8C9C839F2B0C697A00A601BC /* LoginForgetPasswordViewController.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = LoginForgetPasswordViewController.m; sourceTree = "<group>"; };
|
8C9C839F2B0C697A00A601BC /* MewLoginForgetPasswordViewController.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = MewLoginForgetPasswordViewController.m; sourceTree = "<group>"; };
|
||||||
8C9C83A02B0C697A00A601BC /* LoginFullInfoViewController.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = LoginFullInfoViewController.h; sourceTree = "<group>"; };
|
8C9C83A02B0C697A00A601BC /* MewLoginFullInfoViewController.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = MewLoginFullInfoViewController.h; sourceTree = "<group>"; };
|
||||||
8C9C83A12B0C697A00A601BC /* LoginForgetPasswordViewController.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = LoginForgetPasswordViewController.h; sourceTree = "<group>"; };
|
8C9C83A12B0C697A00A601BC /* MewLoginForgetPasswordViewController.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = MewLoginForgetPasswordViewController.h; sourceTree = "<group>"; };
|
||||||
8C9C83A32B0C697A00A601BC /* LoginInputView.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = LoginInputView.m; sourceTree = "<group>"; };
|
8C9C83A32B0C697A00A601BC /* MewLoginInputView.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = MewLoginInputView.m; sourceTree = "<group>"; };
|
||||||
8C9C83A42B0C697A00A601BC /* LoginForgetEditView.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = LoginForgetEditView.h; sourceTree = "<group>"; };
|
8C9C83A42B0C697A00A601BC /* MewLoginForgetEditView.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = MewLoginForgetEditView.h; sourceTree = "<group>"; };
|
||||||
8C9C83A52B0C697A00A601BC /* LoginInputView.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = LoginInputView.h; sourceTree = "<group>"; };
|
8C9C83A52B0C697A00A601BC /* MewLoginInputView.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = MewLoginInputView.h; sourceTree = "<group>"; };
|
||||||
8C9C83A62B0C697A00A601BC /* LoginForgetEditView.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = LoginForgetEditView.m; sourceTree = "<group>"; };
|
8C9C83A62B0C697A00A601BC /* MewLoginForgetEditView.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = MewLoginForgetEditView.m; sourceTree = "<group>"; };
|
||||||
8C9C83A72B0C697A00A601BC /* LoginFullInfoViewController.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = LoginFullInfoViewController.m; sourceTree = "<group>"; };
|
8C9C83A72B0C697A00A601BC /* MewLoginFullInfoViewController.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = MewLoginFullInfoViewController.m; sourceTree = "<group>"; };
|
||||||
8C9C83A92B0C697A00A601BC /* Api+Login.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = "Api+Login.h"; sourceTree = "<group>"; };
|
8C9C83A92B0C697A00A601BC /* Api+Login.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = "Api+Login.h"; sourceTree = "<group>"; };
|
||||||
8C9C83AA2B0C697A00A601BC /* Api+Login.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = "Api+Login.m"; sourceTree = "<group>"; };
|
8C9C83AA2B0C697A00A601BC /* Api+Login.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = "Api+Login.m"; sourceTree = "<group>"; };
|
||||||
8C9C83AD2B0C697A00A601BC /* MainPresenter.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = MainPresenter.h; sourceTree = "<group>"; };
|
8C9C83AD2B0C697A00A601BC /* MainPresenter.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = MainPresenter.h; sourceTree = "<group>"; };
|
||||||
@@ -590,9 +587,9 @@
|
|||||||
8C9C84B02B0DEAE100A601BC /* YMIButton.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = YMIButton.m; sourceTree = "<group>"; };
|
8C9C84B02B0DEAE100A601BC /* YMIButton.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = YMIButton.m; sourceTree = "<group>"; };
|
||||||
8C9C84B22B0E94FA00A601BC /* yinmeng-ios.entitlements */ = {isa = PBXFileReference; lastKnownFileType = text.plist.entitlements; path = "yinmeng-ios.entitlements"; sourceTree = "<group>"; };
|
8C9C84B22B0E94FA00A601BC /* yinmeng-ios.entitlements */ = {isa = PBXFileReference; lastKnownFileType = text.plist.entitlements; path = "yinmeng-ios.entitlements"; sourceTree = "<group>"; };
|
||||||
8C9C84B32B0E951200A601BC /* StoreKit.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = StoreKit.framework; path = System/Library/Frameworks/StoreKit.framework; sourceTree = SDKROOT; };
|
8C9C84B32B0E951200A601BC /* StoreKit.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = StoreKit.framework; path = System/Library/Frameworks/StoreKit.framework; sourceTree = SDKROOT; };
|
||||||
8C9C84B82B0ECD2100A601BC /* MineRechargePresenter.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = MineRechargePresenter.h; sourceTree = "<group>"; };
|
8C9C84B82B0ECD2100A601BC /* MewMineRechargePresenter.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = MewMineRechargePresenter.h; sourceTree = "<group>"; };
|
||||||
8C9C84B92B0ECD2100A601BC /* MineRechargePresenter.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = MineRechargePresenter.m; sourceTree = "<group>"; };
|
8C9C84B92B0ECD2100A601BC /* MewMineRechargePresenter.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = MewMineRechargePresenter.m; sourceTree = "<group>"; };
|
||||||
8C9C84BE2B0ED1D000A601BC /* MineRechargeProtocol.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = MineRechargeProtocol.h; sourceTree = "<group>"; };
|
8C9C84BE2B0ED1D000A601BC /* MewMineRechargeProtocol.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = MewMineRechargeProtocol.h; sourceTree = "<group>"; };
|
||||||
8CAB96F22B1A729300ED8639 /* MewRoomHostDelegate.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = MewRoomHostDelegate.h; sourceTree = "<group>"; };
|
8CAB96F22B1A729300ED8639 /* MewRoomHostDelegate.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = MewRoomHostDelegate.h; sourceTree = "<group>"; };
|
||||||
8CAB96F32B1AB15200ED8639 /* MewRoomAnimationGroup.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = MewRoomAnimationGroup.h; sourceTree = "<group>"; };
|
8CAB96F32B1AB15200ED8639 /* MewRoomAnimationGroup.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = MewRoomAnimationGroup.h; sourceTree = "<group>"; };
|
||||||
8CAB96F42B1AB15200ED8639 /* MewRoomAnimationGroup.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = MewRoomAnimationGroup.m; sourceTree = "<group>"; };
|
8CAB96F42B1AB15200ED8639 /* MewRoomAnimationGroup.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = MewRoomAnimationGroup.m; sourceTree = "<group>"; };
|
||||||
@@ -947,8 +944,8 @@
|
|||||||
8C92A8152B0EF3CE008F362C /* SubView */ = {
|
8C92A8152B0EF3CE008F362C /* SubView */ = {
|
||||||
isa = PBXGroup;
|
isa = PBXGroup;
|
||||||
children = (
|
children = (
|
||||||
8C92A8162B0EF3E9008F362C /* MineModifPayPwdView.h */,
|
8C92A8162B0EF3E9008F362C /* MewMineModifPayPwdView.h */,
|
||||||
8C92A8172B0EF3E9008F362C /* MineModifPayPwdView.m */,
|
8C92A8172B0EF3E9008F362C /* MewMineModifPayPwdView.m */,
|
||||||
);
|
);
|
||||||
path = SubView;
|
path = SubView;
|
||||||
sourceTree = "<group>";
|
sourceTree = "<group>";
|
||||||
@@ -1423,9 +1420,9 @@
|
|||||||
isa = PBXGroup;
|
isa = PBXGroup;
|
||||||
children = (
|
children = (
|
||||||
8C9C834E2B0C697A00A601BC /* Impl */,
|
8C9C834E2B0C697A00A601BC /* Impl */,
|
||||||
8C9C83552B0C697A00A601BC /* RtcManager.m */,
|
8C9C83572B0C697A00A601BC /* MewRtcManager.h */,
|
||||||
8C9C83562B0C697A00A601BC /* RtcDelegate.h */,
|
8C9C83552B0C697A00A601BC /* MewRtcManager.m */,
|
||||||
8C9C83572B0C697A00A601BC /* RtcManager.h */,
|
8C9C83562B0C697A00A601BC /* MewRtcDelegate.h */,
|
||||||
);
|
);
|
||||||
path = RTC;
|
path = RTC;
|
||||||
sourceTree = "<group>";
|
sourceTree = "<group>";
|
||||||
@@ -1433,12 +1430,12 @@
|
|||||||
8C9C834E2B0C697A00A601BC /* Impl */ = {
|
8C9C834E2B0C697A00A601BC /* Impl */ = {
|
||||||
isa = PBXGroup;
|
isa = PBXGroup;
|
||||||
children = (
|
children = (
|
||||||
8C9C834F2B0C697A00A601BC /* RtcInterface.h */,
|
8C9C83542B0C697A00A601BC /* MewBaseRtcImpl.h */,
|
||||||
8C9C83502B0C697A00A601BC /* BaseRtcImpl.m */,
|
8C9C83502B0C697A00A601BC /* MewBaseRtcImpl.m */,
|
||||||
8C9C83512B0C697A00A601BC /* TRTCRtcImpl.m */,
|
8C9C83532B0C697A00A601BC /* MewTRTCRtcImpl.h */,
|
||||||
8C9C83522B0C697A00A601BC /* RtcImplDelegate.h */,
|
8C9C83512B0C697A00A601BC /* MewTRTCRtcImpl.m */,
|
||||||
8C9C83532B0C697A00A601BC /* TRTCRtcImpl.h */,
|
8C9C834F2B0C697A00A601BC /* MewRtcInterface.h */,
|
||||||
8C9C83542B0C697A00A601BC /* BaseRtcImpl.h */,
|
8C9C83522B0C697A00A601BC /* MewRtcImplDelegate.h */,
|
||||||
);
|
);
|
||||||
path = Impl;
|
path = Impl;
|
||||||
sourceTree = "<group>";
|
sourceTree = "<group>";
|
||||||
@@ -1458,12 +1455,12 @@
|
|||||||
8C9C83592B0C697A00A601BC /* Presenter */ = {
|
8C9C83592B0C697A00A601BC /* Presenter */ = {
|
||||||
isa = PBXGroup;
|
isa = PBXGroup;
|
||||||
children = (
|
children = (
|
||||||
8C9C835A2B0C697A00A601BC /* YMMineCollectRoomPresenter.m */,
|
8C9C835D2B0C697A00A601BC /* MewMineCollectRoomPresenter.h */,
|
||||||
8C9C835B2B0C697A00A601BC /* YMMineSettingPresenter.m */,
|
8C9C835A2B0C697A00A601BC /* MewMineCollectRoomPresenter.m */,
|
||||||
8C9C835C2B0C697A00A601BC /* YMMineSettingPresenter.h */,
|
8C9C835C2B0C697A00A601BC /* MewMineSettingPresenter.h */,
|
||||||
8C9C835D2B0C697A00A601BC /* YMMineCollectRoomPresenter.h */,
|
8C9C835B2B0C697A00A601BC /* MewMineSettingPresenter.m */,
|
||||||
8C9C84B82B0ECD2100A601BC /* MineRechargePresenter.h */,
|
8C9C84B82B0ECD2100A601BC /* MewMineRechargePresenter.h */,
|
||||||
8C9C84B92B0ECD2100A601BC /* MineRechargePresenter.m */,
|
8C9C84B92B0ECD2100A601BC /* MewMineRechargePresenter.m */,
|
||||||
);
|
);
|
||||||
path = Presenter;
|
path = Presenter;
|
||||||
sourceTree = "<group>";
|
sourceTree = "<group>";
|
||||||
@@ -1471,9 +1468,9 @@
|
|||||||
8C9C835E2B0C697A00A601BC /* Protocol */ = {
|
8C9C835E2B0C697A00A601BC /* Protocol */ = {
|
||||||
isa = PBXGroup;
|
isa = PBXGroup;
|
||||||
children = (
|
children = (
|
||||||
8C9C835F2B0C697A00A601BC /* YMMineSettingProtocol.h */,
|
8C9C835F2B0C697A00A601BC /* MewMineSettingProtocol.h */,
|
||||||
8C9C83602B0C697A00A601BC /* YMMineCollectRoomProtocol.h */,
|
8C9C83602B0C697A00A601BC /* MewMineCollectRoomProtocol.h */,
|
||||||
8C9C84BE2B0ED1D000A601BC /* MineRechargeProtocol.h */,
|
8C9C84BE2B0ED1D000A601BC /* MewMineRechargeProtocol.h */,
|
||||||
);
|
);
|
||||||
path = Protocol;
|
path = Protocol;
|
||||||
sourceTree = "<group>";
|
sourceTree = "<group>";
|
||||||
@@ -1482,11 +1479,11 @@
|
|||||||
isa = PBXGroup;
|
isa = PBXGroup;
|
||||||
children = (
|
children = (
|
||||||
8C9C83622B0C697A00A601BC /* Friend */,
|
8C9C83622B0C697A00A601BC /* Friend */,
|
||||||
8C9C83652B0C697A00A601BC /* YMMineSettingItemModel.m */,
|
8C9C836C2B0C697A00A601BC /* MewMineSettingItemModel.h */,
|
||||||
8C9C83662B0C697A00A601BC /* MineCollectRoomModel.m */,
|
8C9C83652B0C697A00A601BC /* MewMineSettingItemModel.m */,
|
||||||
|
8C9C836D2B0C697A00A601BC /* MewMineCollectRoomModel.h */,
|
||||||
|
8C9C83662B0C697A00A601BC /* MewMineCollectRoomModel.m */,
|
||||||
8C9C83672B0C697A00A601BC /* Recharge */,
|
8C9C83672B0C697A00A601BC /* Recharge */,
|
||||||
8C9C836C2B0C697A00A601BC /* YMMineSettingItemModel.h */,
|
|
||||||
8C9C836D2B0C697A00A601BC /* MineCollectRoomModel.h */,
|
|
||||||
);
|
);
|
||||||
path = Model;
|
path = Model;
|
||||||
sourceTree = "<group>";
|
sourceTree = "<group>";
|
||||||
@@ -1494,8 +1491,8 @@
|
|||||||
8C9C83622B0C697A00A601BC /* Friend */ = {
|
8C9C83622B0C697A00A601BC /* Friend */ = {
|
||||||
isa = PBXGroup;
|
isa = PBXGroup;
|
||||||
children = (
|
children = (
|
||||||
8C9C83632B0C697A00A601BC /* FansInfoModel.h */,
|
8C9C83632B0C697A00A601BC /* MewFansInfoModel.h */,
|
||||||
8C9C83642B0C697A00A601BC /* FansInfoModel.m */,
|
8C9C83642B0C697A00A601BC /* MewFansInfoModel.m */,
|
||||||
);
|
);
|
||||||
path = Friend;
|
path = Friend;
|
||||||
sourceTree = "<group>";
|
sourceTree = "<group>";
|
||||||
@@ -1503,10 +1500,10 @@
|
|||||||
8C9C83672B0C697A00A601BC /* Recharge */ = {
|
8C9C83672B0C697A00A601BC /* Recharge */ = {
|
||||||
isa = PBXGroup;
|
isa = PBXGroup;
|
||||||
children = (
|
children = (
|
||||||
8C9C83682B0C697A00A601BC /* RechargeListModel.h */,
|
8C9C83682B0C697A00A601BC /* MewRechargeListModel.h */,
|
||||||
8C9C83692B0C697A00A601BC /* WalletInfoModel.h */,
|
8C9C836A2B0C697A00A601BC /* MewRechargeListModel.m */,
|
||||||
8C9C836A2B0C697A00A601BC /* RechargeListModel.m */,
|
8C9C83692B0C697A00A601BC /* MewWalletInfoModel.h */,
|
||||||
8C9C836B2B0C697A00A601BC /* WalletInfoModel.m */,
|
8C9C836B2B0C697A00A601BC /* MewWalletInfoModel.m */,
|
||||||
);
|
);
|
||||||
path = Recharge;
|
path = Recharge;
|
||||||
sourceTree = "<group>";
|
sourceTree = "<group>";
|
||||||
@@ -1524,9 +1521,9 @@
|
|||||||
8C9C836F2B0C697A00A601BC /* CollectRoom */ = {
|
8C9C836F2B0C697A00A601BC /* CollectRoom */ = {
|
||||||
isa = PBXGroup;
|
isa = PBXGroup;
|
||||||
children = (
|
children = (
|
||||||
8C9C83702B0C697A00A601BC /* YMMineCollectRoomViewController.h */,
|
|
||||||
8C9C83712B0C697A00A601BC /* Cell */,
|
8C9C83712B0C697A00A601BC /* Cell */,
|
||||||
8C9C83742B0C697A00A601BC /* YMMineCollectRoomViewController.m */,
|
8C9C83702B0C697A00A601BC /* MewMineCollectRoomViewController.h */,
|
||||||
|
8C9C83742B0C697A00A601BC /* MewMineCollectRoomViewController.m */,
|
||||||
);
|
);
|
||||||
path = CollectRoom;
|
path = CollectRoom;
|
||||||
sourceTree = "<group>";
|
sourceTree = "<group>";
|
||||||
@@ -1534,8 +1531,8 @@
|
|||||||
8C9C83712B0C697A00A601BC /* Cell */ = {
|
8C9C83712B0C697A00A601BC /* Cell */ = {
|
||||||
isa = PBXGroup;
|
isa = PBXGroup;
|
||||||
children = (
|
children = (
|
||||||
8C9C83722B0C697A00A601BC /* YMMineCollectRoomCell.m */,
|
8C9C83722B0C697A00A601BC /* MewMineCollectRoomCell.m */,
|
||||||
8C9C83732B0C697A00A601BC /* YMMineCollectRoomCell.h */,
|
8C9C83732B0C697A00A601BC /* MewMineCollectRoomCell.h */,
|
||||||
);
|
);
|
||||||
path = Cell;
|
path = Cell;
|
||||||
sourceTree = "<group>";
|
sourceTree = "<group>";
|
||||||
@@ -1543,11 +1540,11 @@
|
|||||||
8C9C83752B0C697A00A601BC /* Setting */ = {
|
8C9C83752B0C697A00A601BC /* Setting */ = {
|
||||||
isa = PBXGroup;
|
isa = PBXGroup;
|
||||||
children = (
|
children = (
|
||||||
8C9C83762B0C697A00A601BC /* YMMineAboutUsViewController.h */,
|
8C9C83762B0C697A00A601BC /* MewMineAboutUsViewController.h */,
|
||||||
8C9C83772B0C697A00A601BC /* YMMineSettingViewController.m */,
|
8C9C837E2B0C697A00A601BC /* MewMineAboutUsViewController.m */,
|
||||||
|
8C9C837D2B0C697A00A601BC /* MewMineSettingViewController.h */,
|
||||||
|
8C9C83772B0C697A00A601BC /* MewMineSettingViewController.m */,
|
||||||
8C9C83782B0C697A00A601BC /* Cell */,
|
8C9C83782B0C697A00A601BC /* Cell */,
|
||||||
8C9C837D2B0C697A00A601BC /* YMMineSettingViewController.h */,
|
|
||||||
8C9C837E2B0C697A00A601BC /* YMMineAboutUsViewController.m */,
|
|
||||||
);
|
);
|
||||||
path = Setting;
|
path = Setting;
|
||||||
sourceTree = "<group>";
|
sourceTree = "<group>";
|
||||||
@@ -1555,10 +1552,10 @@
|
|||||||
8C9C83782B0C697A00A601BC /* Cell */ = {
|
8C9C83782B0C697A00A601BC /* Cell */ = {
|
||||||
isa = PBXGroup;
|
isa = PBXGroup;
|
||||||
children = (
|
children = (
|
||||||
8C9C83792B0C697A00A601BC /* YMMineSettingTableViewCell.h */,
|
8C9C83792B0C697A00A601BC /* MewMineSettingTableViewCell.h */,
|
||||||
8C9C837A2B0C697A00A601BC /* MewMineCollectionTableViewCell.m */,
|
8C9C837B2B0C697A00A601BC /* MewMineSettingTableViewCell.m */,
|
||||||
8C9C837B2B0C697A00A601BC /* YMMineSettingTableViewCell.m */,
|
|
||||||
8C9C837C2B0C697A00A601BC /* MewMineCollectionTableViewCell.h */,
|
8C9C837C2B0C697A00A601BC /* MewMineCollectionTableViewCell.h */,
|
||||||
|
8C9C837A2B0C697A00A601BC /* MewMineCollectionTableViewCell.m */,
|
||||||
);
|
);
|
||||||
path = Cell;
|
path = Cell;
|
||||||
sourceTree = "<group>";
|
sourceTree = "<group>";
|
||||||
@@ -1584,8 +1581,8 @@
|
|||||||
8C9C83832B0C697A00A601BC /* Model */ = {
|
8C9C83832B0C697A00A601BC /* Model */ = {
|
||||||
isa = PBXGroup;
|
isa = PBXGroup;
|
||||||
children = (
|
children = (
|
||||||
8C9C83842B0C697A00A601BC /* AttachmentModel.h */,
|
8C9C83842B0C697A00A601BC /* MewAttachmentModel.h */,
|
||||||
8C9C83852B0C697A00A601BC /* AttachmentModel.m */,
|
8C9C83852B0C697A00A601BC /* MewAttachmentModel.m */,
|
||||||
);
|
);
|
||||||
path = Model;
|
path = Model;
|
||||||
sourceTree = "<group>";
|
sourceTree = "<group>";
|
||||||
@@ -1593,8 +1590,8 @@
|
|||||||
8C9C83862B0C697A00A601BC /* Tool */ = {
|
8C9C83862B0C697A00A601BC /* Tool */ = {
|
||||||
isa = PBXGroup;
|
isa = PBXGroup;
|
||||||
children = (
|
children = (
|
||||||
8C9C83872B0C697A00A601BC /* CustomAttachmentDecoder.h */,
|
8C9C83872B0C697A00A601BC /* MewCustomAttachmentDecoder.h */,
|
||||||
8C9C83882B0C697A00A601BC /* CustomAttachmentDecoder.m */,
|
8C9C83882B0C697A00A601BC /* MewCustomAttachmentDecoder.m */,
|
||||||
);
|
);
|
||||||
path = Tool;
|
path = Tool;
|
||||||
sourceTree = "<group>";
|
sourceTree = "<group>";
|
||||||
@@ -1614,20 +1611,20 @@
|
|||||||
8C9C838A2B0C697A00A601BC /* Presenter */ = {
|
8C9C838A2B0C697A00A601BC /* Presenter */ = {
|
||||||
isa = PBXGroup;
|
isa = PBXGroup;
|
||||||
children = (
|
children = (
|
||||||
8C9C838B2B0C697A00A601BC /* LoginForgetPasswordPresent.m */,
|
8C9C83902B0C697A00A601BC /* MewLoginForgetPasswordPresent.h */,
|
||||||
8C9C838C2B0C697A00A601BC /* LoginFullInfoPresenter.h */,
|
8C9C838B2B0C697A00A601BC /* MewLoginForgetPasswordPresent.m */,
|
||||||
8C9C838D2B0C697A00A601BC /* LoginVerifCodePresent.h */,
|
8C9C838C2B0C697A00A601BC /* MewLoginFullInfoPresenter.h */,
|
||||||
8C9C838E2B0C697A00A601BC /* LoginPasswordPresent.h */,
|
8C9C83912B0C697A00A601BC /* MewLoginFullInfoPresenter.m */,
|
||||||
8C9C838F2B0C697A00A601BC /* LoginPresenter.m */,
|
8C9C838D2B0C697A00A601BC /* MewLoginVerifCodePresent.h */,
|
||||||
8C9C83902B0C697A00A601BC /* LoginForgetPasswordPresent.h */,
|
8C9C83922B0C697A00A601BC /* MewLoginVerifCodePresent.m */,
|
||||||
8C9C83912B0C697A00A601BC /* LoginFullInfoPresenter.m */,
|
8C9C838E2B0C697A00A601BC /* MewLoginPasswordPresent.h */,
|
||||||
8C9C83922B0C697A00A601BC /* LoginVerifCodePresent.m */,
|
8C9C83942B0C697A00A601BC /* MewLoginPasswordPresent.m */,
|
||||||
8C9C83932B0C697A00A601BC /* LoginPresenter.h */,
|
8C9C83932B0C697A00A601BC /* MewLoginPresenter.h */,
|
||||||
8C9C83942B0C697A00A601BC /* LoginPasswordPresent.m */,
|
8C9C838F2B0C697A00A601BC /* MewLoginPresenter.m */,
|
||||||
8C92A8092B0EEE73008F362C /* LoginVerifBindPhonePresenter.h */,
|
8C92A8092B0EEE73008F362C /* MewLoginVerifBindPhonePresenter.h */,
|
||||||
8C92A80A2B0EEE73008F362C /* LoginVerifBindPhonePresenter.m */,
|
8C92A80A2B0EEE73008F362C /* MewLoginVerifBindPhonePresenter.m */,
|
||||||
8C92A80F2B0EEFAE008F362C /* LoginBindPhonePresent.h */,
|
8C92A80F2B0EEFAE008F362C /* MewLoginBindPhonePresent.h */,
|
||||||
8C92A8102B0EEFAE008F362C /* LoginBindPhonePresent.m */,
|
8C92A8102B0EEFAE008F362C /* MewLoginBindPhonePresent.m */,
|
||||||
8C92A81D2B0EF4D2008F362C /* MineLoginPasswordPresenter.h */,
|
8C92A81D2B0EF4D2008F362C /* MineLoginPasswordPresenter.h */,
|
||||||
8C92A81E2B0EF4D2008F362C /* MineLoginPasswordPresenter.m */,
|
8C92A81E2B0EF4D2008F362C /* MineLoginPasswordPresenter.m */,
|
||||||
);
|
);
|
||||||
@@ -1637,12 +1634,12 @@
|
|||||||
8C9C83952B0C697A00A601BC /* Protocol */ = {
|
8C9C83952B0C697A00A601BC /* Protocol */ = {
|
||||||
isa = PBXGroup;
|
isa = PBXGroup;
|
||||||
children = (
|
children = (
|
||||||
8C9C83962B0C697A00A601BC /* LoginForgetPasswordProtocol.h */,
|
8C9C83962B0C697A00A601BC /* MewLoginForgetPasswordProtocol.h */,
|
||||||
8C9C83972B0C697A00A601BC /* LoginProtocol.h */,
|
8C9C83972B0C697A00A601BC /* MewLoginProtocol.h */,
|
||||||
8C9C83982B0C697A00A601BC /* LoginPasswordProtocol.h */,
|
8C9C83982B0C697A00A601BC /* MewLoginPasswordProtocol.h */,
|
||||||
8C9C83992B0C697A00A601BC /* LoginFullInfoProtocol.h */,
|
8C9C83992B0C697A00A601BC /* MewLoginFullInfoProtocol.h */,
|
||||||
8C9C839A2B0C697A00A601BC /* LoginVerifCodeProtocol.h */,
|
8C9C839A2B0C697A00A601BC /* MewLoginVerifCodeProtocol.h */,
|
||||||
8C92A8082B0EEE3C008F362C /* LoginVerifBindPhoneProtocol.h */,
|
8C92A8082B0EEE3C008F362C /* MewLoginVerifBindPhoneProtocol.h */,
|
||||||
8C92A8202B0EF500008F362C /* MineLoginPasswordProtocol.h */,
|
8C92A8202B0EF500008F362C /* MineLoginPasswordProtocol.h */,
|
||||||
);
|
);
|
||||||
path = Protocol;
|
path = Protocol;
|
||||||
@@ -1651,8 +1648,8 @@
|
|||||||
8C9C839B2B0C697A00A601BC /* Model */ = {
|
8C9C839B2B0C697A00A601BC /* Model */ = {
|
||||||
isa = PBXGroup;
|
isa = PBXGroup;
|
||||||
children = (
|
children = (
|
||||||
8C9C839C2B0C697A00A601BC /* ThirdUserInfo.h */,
|
8C9C839C2B0C697A00A601BC /* MewThirdUserInfo.h */,
|
||||||
8C9C839D2B0C697A00A601BC /* ThirdUserInfo.m */,
|
8C9C839D2B0C697A00A601BC /* MewThirdUserInfo.m */,
|
||||||
);
|
);
|
||||||
path = Model;
|
path = Model;
|
||||||
sourceTree = "<group>";
|
sourceTree = "<group>";
|
||||||
@@ -1660,19 +1657,17 @@
|
|||||||
8C9C839E2B0C697A00A601BC /* View */ = {
|
8C9C839E2B0C697A00A601BC /* View */ = {
|
||||||
isa = PBXGroup;
|
isa = PBXGroup;
|
||||||
children = (
|
children = (
|
||||||
8C9C839F2B0C697A00A601BC /* LoginForgetPasswordViewController.m */,
|
8C9C83A12B0C697A00A601BC /* MewLoginForgetPasswordViewController.h */,
|
||||||
8C9C83A02B0C697A00A601BC /* LoginFullInfoViewController.h */,
|
8C9C839F2B0C697A00A601BC /* MewLoginForgetPasswordViewController.m */,
|
||||||
8C9C83A12B0C697A00A601BC /* LoginForgetPasswordViewController.h */,
|
8C9C83A02B0C697A00A601BC /* MewLoginFullInfoViewController.h */,
|
||||||
|
8C9C83A72B0C697A00A601BC /* MewLoginFullInfoViewController.m */,
|
||||||
8C9C83A22B0C697A00A601BC /* CustomView */,
|
8C9C83A22B0C697A00A601BC /* CustomView */,
|
||||||
8C9C83A72B0C697A00A601BC /* LoginFullInfoViewController.m */,
|
8C92A8052B0EEDD0008F362C /* MewLoginVerifBindPhoneViewController.h */,
|
||||||
8C92A8022B0EED72008F362C /* LoginBindPhoneResultViewController.h */,
|
8C92A8062B0EEDD0008F362C /* MewLoginVerifBindPhoneViewController.m */,
|
||||||
8C92A8032B0EED72008F362C /* LoginBindPhoneResultViewController.m */,
|
8C92A80C2B0EEF3A008F362C /* MewLoginBindPhoneViewController.h */,
|
||||||
8C92A8052B0EEDD0008F362C /* LoginVerifBindPhoneViewController.h */,
|
8C92A80D2B0EEF3A008F362C /* MewLoginBindPhoneViewController.m */,
|
||||||
8C92A8062B0EEDD0008F362C /* LoginVerifBindPhoneViewController.m */,
|
8C92A8122B0EF1D8008F362C /* MewMineLoginPasswordViewController.h */,
|
||||||
8C92A80C2B0EEF3A008F362C /* LoginBindPhoneViewController.h */,
|
8C92A8132B0EF1D8008F362C /* MewMineLoginPasswordViewController.m */,
|
||||||
8C92A80D2B0EEF3A008F362C /* LoginBindPhoneViewController.m */,
|
|
||||||
8C92A8122B0EF1D8008F362C /* MineLoginPasswordViewController.h */,
|
|
||||||
8C92A8132B0EF1D8008F362C /* MineLoginPasswordViewController.m */,
|
|
||||||
);
|
);
|
||||||
path = View;
|
path = View;
|
||||||
sourceTree = "<group>";
|
sourceTree = "<group>";
|
||||||
@@ -1680,10 +1675,10 @@
|
|||||||
8C9C83A22B0C697A00A601BC /* CustomView */ = {
|
8C9C83A22B0C697A00A601BC /* CustomView */ = {
|
||||||
isa = PBXGroup;
|
isa = PBXGroup;
|
||||||
children = (
|
children = (
|
||||||
8C9C83A32B0C697A00A601BC /* LoginInputView.m */,
|
8C9C83A52B0C697A00A601BC /* MewLoginInputView.h */,
|
||||||
8C9C83A42B0C697A00A601BC /* LoginForgetEditView.h */,
|
8C9C83A32B0C697A00A601BC /* MewLoginInputView.m */,
|
||||||
8C9C83A52B0C697A00A601BC /* LoginInputView.h */,
|
8C9C83A62B0C697A00A601BC /* MewLoginForgetEditView.m */,
|
||||||
8C9C83A62B0C697A00A601BC /* LoginForgetEditView.m */,
|
8C9C83A42B0C697A00A601BC /* MewLoginForgetEditView.h */,
|
||||||
);
|
);
|
||||||
path = CustomView;
|
path = CustomView;
|
||||||
sourceTree = "<group>";
|
sourceTree = "<group>";
|
||||||
@@ -2280,15 +2275,15 @@
|
|||||||
isa = PBXSourcesBuildPhase;
|
isa = PBXSourcesBuildPhase;
|
||||||
buildActionMask = 2147483647;
|
buildActionMask = 2147483647;
|
||||||
files = (
|
files = (
|
||||||
8C9C84482B0C697A00A601BC /* YMMineSettingTableViewCell.m in Sources */,
|
8C9C84482B0C697A00A601BC /* MewMineSettingTableViewCell.m in Sources */,
|
||||||
233757682B0CB577001D0B7F /* MewNIMMessageUtils.m in Sources */,
|
233757682B0CB577001D0B7F /* MewNIMMessageUtils.m in Sources */,
|
||||||
8C9C845C2B0C697A00A601BC /* ClientConfig.m in Sources */,
|
8C9C845C2B0C697A00A601BC /* ClientConfig.m in Sources */,
|
||||||
8C9C843B2B0C697A00A601BC /* TRTCRtcImpl.m in Sources */,
|
8C9C843B2B0C697A00A601BC /* MewTRTCRtcImpl.m in Sources */,
|
||||||
2337575C2B0CB577001D0B7F /* MewSessionMessageCell.m in Sources */,
|
2337575C2B0CB577001D0B7F /* MewSessionMessageCell.m in Sources */,
|
||||||
8C9C821F2B0C694900A601BC /* AppDelegate.m in Sources */,
|
8C9C821F2B0C694900A601BC /* AppDelegate.m in Sources */,
|
||||||
8C92A8182B0EF3E9008F362C /* MineModifPayPwdView.m in Sources */,
|
8C92A8182B0EF3E9008F362C /* MewMineModifPayPwdView.m in Sources */,
|
||||||
8C9C84462B0C697A00A601BC /* YMMineSettingViewController.m in Sources */,
|
8C9C84462B0C697A00A601BC /* MewMineSettingViewController.m in Sources */,
|
||||||
8C9C843D2B0C697A00A601BC /* YMMineCollectRoomPresenter.m in Sources */,
|
8C9C843D2B0C697A00A601BC /* MewMineCollectRoomPresenter.m in Sources */,
|
||||||
8C9C82A92B0C695600A601BC /* BaseNavigationController.m in Sources */,
|
8C9C82A92B0C695600A601BC /* BaseNavigationController.m in Sources */,
|
||||||
8C9C82BC2B0C695600A601BC /* UserInfoModel.m in Sources */,
|
8C9C82BC2B0C695600A601BC /* UserInfoModel.m in Sources */,
|
||||||
8C9C84602B0C697A00A601BC /* MewVoiceGuideView.m in Sources */,
|
8C9C84602B0C697A00A601BC /* MewVoiceGuideView.m in Sources */,
|
||||||
@@ -2299,27 +2294,29 @@
|
|||||||
8C9C84892B0D286F00A601BC /* Api+Gift.m in Sources */,
|
8C9C84892B0D286F00A601BC /* Api+Gift.m in Sources */,
|
||||||
237051572B1D7CD500F5DE14 /* MewHUDTool.m in Sources */,
|
237051572B1D7CD500F5DE14 /* MewHUDTool.m in Sources */,
|
||||||
8C9C849E2B0D6A5C00A601BC /* MewGiftStorage.m in Sources */,
|
8C9C849E2B0D6A5C00A601BC /* MewGiftStorage.m in Sources */,
|
||||||
8C9C843A2B0C697A00A601BC /* BaseRtcImpl.m in Sources */,
|
8C9C843A2B0C697A00A601BC /* MewBaseRtcImpl.m in Sources */,
|
||||||
8C9C84672B0C697A00A601BC /* MewHeaderView.m in Sources */,
|
8C9C84672B0C697A00A601BC /* MewHeaderView.m in Sources */,
|
||||||
8C9C84662B0C697A00A601BC /* MewUserIntroductionView.m in Sources */,
|
8C9C84662B0C697A00A601BC /* MewUserIntroductionView.m in Sources */,
|
||||||
8CAB96F52B1AB15200ED8639 /* MewRoomAnimationGroup.m in Sources */,
|
8CAB96F52B1AB15200ED8639 /* MewRoomAnimationGroup.m in Sources */,
|
||||||
8C9C84172B0C697A00A601BC /* YMWebViewController.m in Sources */,
|
8C9C84172B0C697A00A601BC /* YMWebViewController.m in Sources */,
|
||||||
8C92A8232B0FE1DC008F362C /* MewHtmlUrl.m in Sources */,
|
8C92A8232B0FE1DC008F362C /* MewHtmlUrl.m in Sources */,
|
||||||
237051552B1D7CD500F5DE14 /* DESEncrypt.m in Sources */,
|
237051552B1D7CD500F5DE14 /* DESEncrypt.m in Sources */,
|
||||||
8C92A80E2B0EEF3A008F362C /* LoginBindPhoneViewController.m in Sources */,
|
8C92A80E2B0EEF3A008F362C /* MewLoginBindPhoneViewController.m in Sources */,
|
||||||
8C9C84432B0C697A00A601BC /* WalletInfoModel.m in Sources */,
|
8C9C84432B0C697A00A601BC /* MewWalletInfoModel.m in Sources */,
|
||||||
8C9C84552B0C697A00A601BC /* LoginForgetEditView.m in Sources */,
|
8C9C84552B0C697A00A601BC /* MewLoginForgetEditView.m in Sources */,
|
||||||
8C9C82C02B0C695600A601BC /* MvpViewController.m in Sources */,
|
8C9C82C02B0C695600A601BC /* MvpViewController.m in Sources */,
|
||||||
8C9C82B42B0C695600A601BC /* TTAlertView.m in Sources */,
|
8C9C82B42B0C695600A601BC /* TTAlertView.m in Sources */,
|
||||||
8C9C84592B0C697A00A601BC /* TabbarViewController.m in Sources */,
|
8C9C84592B0C697A00A601BC /* TabbarViewController.m in Sources */,
|
||||||
8C9C82BE2B0C695600A601BC /* LoginTicketInfo.m in Sources */,
|
8C9C82BE2B0C695600A601BC /* LoginTicketInfo.m in Sources */,
|
||||||
8C9C84542B0C697A00A601BC /* LoginInputView.m in Sources */,
|
8C9C84542B0C697A00A601BC /* MewLoginInputView.m in Sources */,
|
||||||
233757632B0CB577001D0B7F /* MewMessageContentUnSupportView.m in Sources */,
|
233757632B0CB577001D0B7F /* MewMessageContentUnSupportView.m in Sources */,
|
||||||
2337575E2B0CB577001D0B7F /* MewNIMMessageMaker.m in Sources */,
|
2337575E2B0CB577001D0B7F /* MewNIMMessageMaker.m in Sources */,
|
||||||
8C9C82B92B0C695600A601BC /* NSObject+AutoCoding.m in Sources */,
|
8C9C82B92B0C695600A601BC /* NSObject+AutoCoding.m in Sources */,
|
||||||
233757622B0CB577001D0B7F /* MewMessageContentImage.m in Sources */,
|
233757622B0CB577001D0B7F /* MewMessageContentImage.m in Sources */,
|
||||||
8C9C84772B0C697A00A601BC /* MewLoginPhoneView.m in Sources */,
|
8C9C84772B0C697A00A601BC /* MewLoginPhoneView.m in Sources */,
|
||||||
8C9C84532B0C697A00A601BC /* LoginForgetPasswordViewController.m in Sources */,
|
8C9C84692B0C697A00A601BC /* YMHomeFilterView.m in Sources */,
|
||||||
|
8C9C84532B0C697A00A601BC /* MewLoginForgetPasswordViewController.m in Sources */,
|
||||||
|
|
||||||
8C9C84752B0C697A00A601BC /* MewMineCollectionViewController.m in Sources */,
|
8C9C84752B0C697A00A601BC /* MewMineCollectionViewController.m in Sources */,
|
||||||
8C9C82AF2B0C695600A601BC /* TTAlertConfig.m in Sources */,
|
8C9C82AF2B0C695600A601BC /* TTAlertConfig.m in Sources */,
|
||||||
8C9C82B02B0C695600A601BC /* TTAlertButtonConfig.m in Sources */,
|
8C9C82B02B0C695600A601BC /* TTAlertButtonConfig.m in Sources */,
|
||||||
@@ -2327,7 +2324,7 @@
|
|||||||
8C9C841C2B0C697A00A601BC /* MewRoomInfoModel.m in Sources */,
|
8C9C841C2B0C697A00A601BC /* MewRoomInfoModel.m in Sources */,
|
||||||
2337575B2B0CB577001D0B7F /* UIView+NIM.m in Sources */,
|
2337575B2B0CB577001D0B7F /* UIView+NIM.m in Sources */,
|
||||||
2370515B2B1D7CD500F5DE14 /* MEWThemeColor.m in Sources */,
|
2370515B2B1D7CD500F5DE14 /* MEWThemeColor.m in Sources */,
|
||||||
8C9C843F2B0C697A00A601BC /* FansInfoModel.m in Sources */,
|
8C9C843F2B0C697A00A601BC /* MewFansInfoModel.m in Sources */,
|
||||||
8C9C84712B0C697A00A601BC /* MewPartyModel.m in Sources */,
|
8C9C84712B0C697A00A601BC /* MewPartyModel.m in Sources */,
|
||||||
8C9C82BF2B0C695600A601BC /* AccountModel.m in Sources */,
|
8C9C82BF2B0C695600A601BC /* AccountModel.m in Sources */,
|
||||||
237051512B1D7CD500F5DE14 /* NSArray+MewSafe.m in Sources */,
|
237051512B1D7CD500F5DE14 /* NSArray+MewSafe.m in Sources */,
|
||||||
@@ -2346,9 +2343,9 @@
|
|||||||
8C9C846D2B0C697A00A601BC /* MewRoomRightView.m in Sources */,
|
8C9C846D2B0C697A00A601BC /* MewRoomRightView.m in Sources */,
|
||||||
8C9C84582B0C697A00A601BC /* MainPresenter.m in Sources */,
|
8C9C84582B0C697A00A601BC /* MainPresenter.m in Sources */,
|
||||||
233757562B0CB577001D0B7F /* MewMessagePresenter.m in Sources */,
|
233757562B0CB577001D0B7F /* MewMessagePresenter.m in Sources */,
|
||||||
8C9C84512B0C697A00A601BC /* LoginPasswordPresent.m in Sources */,
|
8C9C84512B0C697A00A601BC /* MewLoginPasswordPresent.m in Sources */,
|
||||||
8C9C841F2B0C697A00A601BC /* CHStageView.m in Sources */,
|
8C9C841F2B0C697A00A601BC /* CHStageView.m in Sources */,
|
||||||
8C9C844D2B0C697A00A601BC /* LoginForgetPasswordPresent.m in Sources */,
|
8C9C844D2B0C697A00A601BC /* MewLoginForgetPasswordPresent.m in Sources */,
|
||||||
8C9C82C12B0C695600A601BC /* Api.m in Sources */,
|
8C9C82C12B0C695600A601BC /* Api.m in Sources */,
|
||||||
23270C2C2B0E041300B9303B /* MewMessageAudioCenter.m in Sources */,
|
23270C2C2B0E041300B9303B /* MewMessageAudioCenter.m in Sources */,
|
||||||
2370514F2B1D7CD500F5DE14 /* UIImage+RW.m in Sources */,
|
2370514F2B1D7CD500F5DE14 /* UIImage+RW.m in Sources */,
|
||||||
@@ -2358,12 +2355,12 @@
|
|||||||
8C9C84622B0C697A00A601BC /* MewVoiceDiscView.m in Sources */,
|
8C9C84622B0C697A00A601BC /* MewVoiceDiscView.m in Sources */,
|
||||||
8C9C82AE2B0C695600A601BC /* TTPopup.m in Sources */,
|
8C9C82AE2B0C695600A601BC /* TTPopup.m in Sources */,
|
||||||
8C9C84AD2B0D9AB900A601BC /* MewRoomMessageHeaderView.m in Sources */,
|
8C9C84AD2B0D9AB900A601BC /* MewRoomMessageHeaderView.m in Sources */,
|
||||||
8C9C84442B0C697A00A601BC /* YMMineCollectRoomCell.m in Sources */,
|
8C9C84442B0C697A00A601BC /* MewMineCollectRoomCell.m in Sources */,
|
||||||
8C9C82B52B0C695600A601BC /* TTActionSheetView.m in Sources */,
|
8C9C82B52B0C695600A601BC /* TTActionSheetView.m in Sources */,
|
||||||
8C9C82B32B0C695600A601BC /* TTPopupManagerService.m in Sources */,
|
8C9C82B32B0C695600A601BC /* TTPopupManagerService.m in Sources */,
|
||||||
8C9C84762B0C697A00A601BC /* MewRechargeSubView.m in Sources */,
|
8C9C84762B0C697A00A601BC /* MewRechargeSubView.m in Sources */,
|
||||||
237051502B1D7CD500F5DE14 /* NSMutableDictionary+MEWSafe.m in Sources */,
|
237051502B1D7CD500F5DE14 /* NSMutableDictionary+MEWSafe.m in Sources */,
|
||||||
8C9C84402B0C697A00A601BC /* YMMineSettingItemModel.m in Sources */,
|
8C9C84402B0C697A00A601BC /* MewMineSettingItemModel.m in Sources */,
|
||||||
8C9C84232B0C697A00A601BC /* MicroStateModel.m in Sources */,
|
8C9C84232B0C697A00A601BC /* MicroStateModel.m in Sources */,
|
||||||
8C9C84212B0C697A00A601BC /* MicroQueueModel.m in Sources */,
|
8C9C84212B0C697A00A601BC /* MicroQueueModel.m in Sources */,
|
||||||
8C9C82DC2B0C696900A601BC /* YMConstant.m in Sources */,
|
8C9C82DC2B0C696900A601BC /* YMConstant.m in Sources */,
|
||||||
@@ -2371,13 +2368,13 @@
|
|||||||
8C9C846A2B0C697A00A601BC /* Api+MewHome.m in Sources */,
|
8C9C846A2B0C697A00A601BC /* Api+MewHome.m in Sources */,
|
||||||
8C9C847A2B0C697A00A601BC /* MewLoginViewController.m in Sources */,
|
8C9C847A2B0C697A00A601BC /* MewLoginViewController.m in Sources */,
|
||||||
237051542B1D7CD500F5DE14 /* MewTimeIntervalUtils.m in Sources */,
|
237051542B1D7CD500F5DE14 /* MewTimeIntervalUtils.m in Sources */,
|
||||||
8C9C844F2B0C697A00A601BC /* LoginFullInfoPresenter.m in Sources */,
|
8C9C844F2B0C697A00A601BC /* MewLoginFullInfoPresenter.m in Sources */,
|
||||||
8C9C84222B0C697A00A601BC /* MicroExtModel.m in Sources */,
|
8C9C84222B0C697A00A601BC /* MicroExtModel.m in Sources */,
|
||||||
8C9C843C2B0C697A00A601BC /* RtcManager.m in Sources */,
|
8C9C843C2B0C697A00A601BC /* MewRtcManager.m in Sources */,
|
||||||
8C9C84BA2B0ECD2100A601BC /* MineRechargePresenter.m in Sources */,
|
8C9C84BA2B0ECD2100A601BC /* MewMineRechargePresenter.m in Sources */,
|
||||||
8C9C84182B0C697A00A601BC /* MewPartyPresenter.m in Sources */,
|
8C9C84182B0C697A00A601BC /* MewPartyPresenter.m in Sources */,
|
||||||
8C9C841E2B0C697A00A601BC /* MewRoomSendTextView.m in Sources */,
|
8C9C841E2B0C697A00A601BC /* MewRoomSendTextView.m in Sources */,
|
||||||
8C9C843E2B0C697A00A601BC /* YMMineSettingPresenter.m in Sources */,
|
8C9C843E2B0C697A00A601BC /* MewMineSettingPresenter.m in Sources */,
|
||||||
8C9C84732B0C697A00A601BC /* MewPartyViewController.m in Sources */,
|
8C9C84732B0C697A00A601BC /* MewPartyViewController.m in Sources */,
|
||||||
2370514C2B1D7CD500F5DE14 /* YYUtility+Device.m in Sources */,
|
2370514C2B1D7CD500F5DE14 /* YYUtility+Device.m in Sources */,
|
||||||
8C4D53622AFD4CF700238AE6 /* main.m in Sources */,
|
8C4D53622AFD4CF700238AE6 /* main.m in Sources */,
|
||||||
@@ -2391,11 +2388,14 @@
|
|||||||
233757582B0CB577001D0B7F /* MewChatLimitModel.m in Sources */,
|
233757582B0CB577001D0B7F /* MewChatLimitModel.m in Sources */,
|
||||||
8C9C82BA2B0C695600A601BC /* AccountInfoStorage.m in Sources */,
|
8C9C82BA2B0C695600A601BC /* AccountInfoStorage.m in Sources */,
|
||||||
8C9C846E2B0C697A00A601BC /* MewRoomHeaderView.m in Sources */,
|
8C9C846E2B0C697A00A601BC /* MewRoomHeaderView.m in Sources */,
|
||||||
8C9C84492B0C697A00A601BC /* YMMineAboutUsViewController.m in Sources */,
|
8C9C84492B0C697A00A601BC /* MewMineAboutUsViewController.m in Sources */,
|
||||||
8C9C84632B0C697A00A601BC /* MewPlayVoiceView.m in Sources */,
|
8C9C84632B0C697A00A601BC /* MewPlayVoiceView.m in Sources */,
|
||||||
8C92A80B2B0EEE73008F362C /* LoginVerifBindPhonePresenter.m in Sources */,
|
|
||||||
8C9C84502B0C697A00A601BC /* LoginVerifCodePresent.m in Sources */,
|
8C92A80B2B0EEE73008F362C /* MewLoginVerifBindPhonePresenter.m in Sources */,
|
||||||
8C9C844C2B0C697A00A601BC /* CustomAttachmentDecoder.m in Sources */,
|
8C9C84502B0C697A00A601BC /* MewLoginVerifCodePresent.m in Sources */,
|
||||||
|
8C9C844C2B0C697A00A601BC /* MewCustomAttachmentDecoder.m in Sources */,
|
||||||
|
8C9C845E2B0C697A00A601BC /* AudioPlayerManager.m in Sources */,
|
||||||
|
|
||||||
8C9C848C2B0D2B8500A601BC /* MewGiftReceiveInfoModel.m in Sources */,
|
8C9C848C2B0D2B8500A601BC /* MewGiftReceiveInfoModel.m in Sources */,
|
||||||
8C9C84572B0C697A00A601BC /* Api+Login.m in Sources */,
|
8C9C84572B0C697A00A601BC /* Api+Login.m in Sources */,
|
||||||
2337575D2B0CB577001D0B7F /* MewSessionToolbarView.m in Sources */,
|
2337575D2B0CB577001D0B7F /* MewSessionToolbarView.m in Sources */,
|
||||||
@@ -2409,27 +2409,26 @@
|
|||||||
8C9C841A2B0C697A00A601BC /* Api+Party.m in Sources */,
|
8C9C841A2B0C697A00A601BC /* Api+Party.m in Sources */,
|
||||||
8C9C82AD2B0C695600A601BC /* YMEmptyTableViewCell.m in Sources */,
|
8C9C82AD2B0C695600A601BC /* YMEmptyTableViewCell.m in Sources */,
|
||||||
8C9C845F2B0C697A00A601BC /* MewHomeViewController.m in Sources */,
|
8C9C845F2B0C697A00A601BC /* MewHomeViewController.m in Sources */,
|
||||||
8C9C84422B0C697A00A601BC /* RechargeListModel.m in Sources */,
|
8C9C84422B0C697A00A601BC /* MewRechargeListModel.m in Sources */,
|
||||||
8C9C845A2B0C697A00A601BC /* ClientDataModel.m in Sources */,
|
8C9C845A2B0C697A00A601BC /* ClientDataModel.m in Sources */,
|
||||||
8C9C84972B0D65E200A601BC /* MewRoomAnimationView.m in Sources */,
|
8C9C84972B0D65E200A601BC /* MewRoomAnimationView.m in Sources */,
|
||||||
2370514E2B1D7CD500F5DE14 /* YYUtility+App.m in Sources */,
|
2370514E2B1D7CD500F5DE14 /* YYUtility+App.m in Sources */,
|
||||||
8C9C82202B0C694900A601BC /* AppDelegate+ThirdConfig.m in Sources */,
|
8C9C82202B0C694900A601BC /* AppDelegate+ThirdConfig.m in Sources */,
|
||||||
8C9C84202B0C697A00A601BC /* MicroView.m in Sources */,
|
8C9C84202B0C697A00A601BC /* MicroView.m in Sources */,
|
||||||
8C9C84522B0C697A00A601BC /* ThirdUserInfo.m in Sources */,
|
8C9C84522B0C697A00A601BC /* MewThirdUserInfo.m in Sources */,
|
||||||
8C9C82BD2B0C695600A601BC /* UserVipInfoVo.m in Sources */,
|
8C9C82BD2B0C695600A601BC /* UserVipInfoVo.m in Sources */,
|
||||||
2370515D2B1D7CD500F5DE14 /* YYReachability.m in Sources */,
|
2370515D2B1D7CD500F5DE14 /* YYReachability.m in Sources */,
|
||||||
8C92A81F2B0EF4D2008F362C /* MineLoginPasswordPresenter.m in Sources */,
|
8C92A81F2B0EF4D2008F362C /* MineLoginPasswordPresenter.m in Sources */,
|
||||||
8C92A8042B0EED72008F362C /* LoginBindPhoneResultViewController.m in Sources */,
|
|
||||||
8C9C84472B0C697A00A601BC /* MewMineCollectionTableViewCell.m in Sources */,
|
8C9C84472B0C697A00A601BC /* MewMineCollectionTableViewCell.m in Sources */,
|
||||||
8C9C844E2B0C697A00A601BC /* LoginPresenter.m in Sources */,
|
8C9C844E2B0C697A00A601BC /* MewLoginPresenter.m in Sources */,
|
||||||
8C9C84642B0C697A00A601BC /* MewRightFollowVoiceView.m in Sources */,
|
8C9C84642B0C697A00A601BC /* MewRightFollowVoiceView.m in Sources */,
|
||||||
8C9C84842B0D25EF00A601BC /* MewGiftInfoModel.m in Sources */,
|
8C9C84842B0D25EF00A601BC /* MewGiftInfoModel.m in Sources */,
|
||||||
8C9C84742B0C697A00A601BC /* MewRechargeViewController.m in Sources */,
|
8C9C84742B0C697A00A601BC /* MewRechargeViewController.m in Sources */,
|
||||||
8C9C84272B0C697A00A601BC /* MewNetImageLabel.m in Sources */,
|
8C9C84272B0C697A00A601BC /* MewNetImageLabel.m in Sources */,
|
||||||
8C9C842A2B0C697A00A601BC /* Api+Room.m in Sources */,
|
8C9C842A2B0C697A00A601BC /* Api+Room.m in Sources */,
|
||||||
8C9C84902B0D439800A601BC /* MewRoomMessageFilter.m in Sources */,
|
8C9C84902B0D439800A601BC /* MewRoomMessageFilter.m in Sources */,
|
||||||
8C92A8072B0EEDD0008F362C /* LoginVerifBindPhoneViewController.m in Sources */,
|
8C92A8072B0EEDD0008F362C /* MewLoginVerifBindPhoneViewController.m in Sources */,
|
||||||
8C9C84412B0C697A00A601BC /* MineCollectRoomModel.m in Sources */,
|
8C9C84412B0C697A00A601BC /* MewMineCollectRoomModel.m in Sources */,
|
||||||
2337576B2B0CB630001D0B7F /* UIView+FilletCorner.m in Sources */,
|
2337576B2B0CB630001D0B7F /* UIView+FilletCorner.m in Sources */,
|
||||||
8C92A81C2B0EF449008F362C /* UIButton+EnlargeTouchArea.m in Sources */,
|
8C92A81C2B0EF449008F362C /* UIButton+EnlargeTouchArea.m in Sources */,
|
||||||
8C9C82B72B0C695600A601BC /* HttpRequestHelper.m in Sources */,
|
8C9C82B72B0C695600A601BC /* HttpRequestHelper.m in Sources */,
|
||||||
@@ -2442,19 +2441,19 @@
|
|||||||
8C9C846C2B0C697A00A601BC /* MewSocialStageView.m in Sources */,
|
8C9C846C2B0C697A00A601BC /* MewSocialStageView.m in Sources */,
|
||||||
8C9C84682B0C697A00A601BC /* MewRightFollowVoiceCollectionCell.m in Sources */,
|
8C9C84682B0C697A00A601BC /* MewRightFollowVoiceCollectionCell.m in Sources */,
|
||||||
2370514D2B1D7CD500F5DE14 /* YYUtility.m in Sources */,
|
2370514D2B1D7CD500F5DE14 /* YYUtility.m in Sources */,
|
||||||
8C9C84452B0C697A00A601BC /* YMMineCollectRoomViewController.m in Sources */,
|
8C9C84452B0C697A00A601BC /* MewMineCollectRoomViewController.m in Sources */,
|
||||||
8C9C82AC2B0C695600A601BC /* NetImageView.m in Sources */,
|
8C9C82AC2B0C695600A601BC /* NetImageView.m in Sources */,
|
||||||
2337575F2B0CB577001D0B7F /* MewSessionInfoViewController.m in Sources */,
|
2337575F2B0CB577001D0B7F /* MewSessionInfoViewController.m in Sources */,
|
||||||
8C9C846B2B0C697A00A601BC /* MewSocialMicroView.m in Sources */,
|
8C9C846B2B0C697A00A601BC /* MewSocialMicroView.m in Sources */,
|
||||||
233757572B0CB577001D0B7F /* MewMessageMenuModel.m in Sources */,
|
233757572B0CB577001D0B7F /* MewMessageMenuModel.m in Sources */,
|
||||||
8C9C844B2B0C697A00A601BC /* AttachmentModel.m in Sources */,
|
8C9C844B2B0C697A00A601BC /* MewAttachmentModel.m in Sources */,
|
||||||
237051582B1D7CD500F5DE14 /* MEWTimer.m in Sources */,
|
237051582B1D7CD500F5DE14 /* MEWTimer.m in Sources */,
|
||||||
237052C42B1F13AD00F5DE14 /* MewAudioPlayerManager.m in Sources */,
|
237052C42B1F13AD00F5DE14 /* MewAudioPlayerManager.m in Sources */,
|
||||||
237051562B1D7CD500F5DE14 /* MEWBase64.m in Sources */,
|
237051562B1D7CD500F5DE14 /* MEWBase64.m in Sources */,
|
||||||
8C92A8112B0EEFAE008F362C /* LoginBindPhonePresent.m in Sources */,
|
8C92A8112B0EEFAE008F362C /* MewLoginBindPhonePresent.m in Sources */,
|
||||||
8C9C84562B0C697A00A601BC /* LoginFullInfoViewController.m in Sources */,
|
8C9C84562B0C697A00A601BC /* MewLoginFullInfoViewController.m in Sources */,
|
||||||
8C9C84262B0C697A00A601BC /* MewMessageRemoteExtModel.m in Sources */,
|
8C9C84262B0C697A00A601BC /* MewMessageRemoteExtModel.m in Sources */,
|
||||||
8C92A8142B0EF1D8008F362C /* MineLoginPasswordViewController.m in Sources */,
|
8C92A8142B0EF1D8008F362C /* MewMineLoginPasswordViewController.m in Sources */,
|
||||||
8C9C82AA2B0C695600A601BC /* UIImageConstant.m in Sources */,
|
8C9C82AA2B0C695600A601BC /* UIImageConstant.m in Sources */,
|
||||||
8C9C82BB2B0C695600A601BC /* BaseModel.m in Sources */,
|
8C9C82BB2B0C695600A601BC /* BaseModel.m in Sources */,
|
||||||
8C9C84942B0D65C300A601BC /* MewRoomAnimationHitView.m in Sources */,
|
8C9C84942B0D65C300A601BC /* MewRoomAnimationHitView.m in Sources */,
|
||||||
|
@@ -9,7 +9,7 @@
|
|||||||
#import <NIMSDK/NIMSDK.h>
|
#import <NIMSDK/NIMSDK.h>
|
||||||
#import <QYSDK_NIM/QYSDK.h>
|
#import <QYSDK_NIM/QYSDK.h>
|
||||||
#import "YMConstant.h"
|
#import "YMConstant.h"
|
||||||
#import "CustomAttachmentDecoder.h"
|
#import "MewCustomAttachmentDecoder.h"
|
||||||
|
|
||||||
@implementation AppDelegate (ThirdConfig)
|
@implementation AppDelegate (ThirdConfig)
|
||||||
- (void)initThirdConfig {
|
- (void)initThirdConfig {
|
||||||
@@ -24,7 +24,7 @@
|
|||||||
[[NIMSDK sharedSDK] registerWithOption:option];
|
[[NIMSDK sharedSDK] registerWithOption:option];
|
||||||
|
|
||||||
// NIM SDK初始化
|
// NIM SDK初始化
|
||||||
[NIMCustomObject registerCustomDecoder:[[CustomAttachmentDecoder alloc] init]];
|
[NIMCustomObject registerCustomDecoder:[[MewCustomAttachmentDecoder alloc] init]];
|
||||||
|
|
||||||
#ifdef DEBUG
|
#ifdef DEBUG
|
||||||
[NIMSDKConfig sharedConfig].enabledHttpsForInfo = NO;
|
[NIMSDKConfig sharedConfig].enabledHttpsForInfo = NO;
|
||||||
|
@@ -30,7 +30,7 @@ NS_ASSUME_NONNULL_BEGIN
|
|||||||
/// @param completion 请求完成
|
/// @param completion 请求完成
|
||||||
/// @param mobile 手机号
|
/// @param mobile 手机号
|
||||||
/// @param type 类型 请看XPEunm中的枚举
|
/// @param type 类型 请看XPEunm中的枚举
|
||||||
+ (void)phoneSmsCode:(HttpRequestHelperCompletion)completion mobile:(NSString *)mobile type:(NSString *)type;
|
+ (void)mew_phoneSmsCode:(HttpRequestHelperCompletion)completion mobile:(NSString *)mobile type:(NSString *)type;
|
||||||
|
|
||||||
/// 批量验证
|
/// 批量验证
|
||||||
/// @param complection 完成
|
/// @param complection 完成
|
||||||
@@ -48,7 +48,7 @@ NS_ASSUME_NONNULL_BEGIN
|
|||||||
/// @param complection 完成
|
/// @param complection 完成
|
||||||
/// @param uid 用户uid
|
/// @param uid 用户uid
|
||||||
/// @param ticket ticketg
|
/// @param ticket ticketg
|
||||||
+ (void)getUserWalletInfo:(HttpRequestHelperCompletion)complection
|
+ (void)mew_getUserWalletInfo:(HttpRequestHelperCompletion)complection
|
||||||
uid:(NSString *)uid
|
uid:(NSString *)uid
|
||||||
ticket:(NSString *)ticket;
|
ticket:(NSString *)ticket;
|
||||||
|
|
||||||
|
@@ -62,7 +62,7 @@
|
|||||||
/// @param completion 请求完成
|
/// @param completion 请求完成
|
||||||
/// @param mobile 手机号
|
/// @param mobile 手机号
|
||||||
/// @param type 类型 请看XPEunm中的枚举
|
/// @param type 类型 请看XPEunm中的枚举
|
||||||
+ (void)phoneSmsCode:(HttpRequestHelperCompletion)completion mobile:(NSString *)mobile type:(NSString *)type {
|
+ (void)mew_phoneSmsCode:(HttpRequestHelperCompletion)completion mobile:(NSString *)mobile type:(NSString *)type {
|
||||||
NSString *getUrl = [NewEncryptTool MEW_aesDecrypt:@"2Hx71goXCYG6r1fVVkSHsA=="];///sms/getCode
|
NSString *getUrl = [NewEncryptTool MEW_aesDecrypt:@"2Hx71goXCYG6r1fVVkSHsA=="];///sms/getCode
|
||||||
[self makeRequest:getUrl method:HttpRequestHelperMethodPOST completion:completion, __FUNCTION__, mobile, type, nil];
|
[self makeRequest:getUrl method:HttpRequestHelperMethodPOST completion:completion, __FUNCTION__, mobile, type, nil];
|
||||||
}
|
}
|
||||||
@@ -81,7 +81,7 @@
|
|||||||
/// @param complection 完成
|
/// @param complection 完成
|
||||||
/// @param uid 用户uid
|
/// @param uid 用户uid
|
||||||
/// @param ticket ticketg
|
/// @param ticket ticketg
|
||||||
+ (void)getUserWalletInfo:(HttpRequestHelperCompletion)complection
|
+ (void)mew_getUserWalletInfo:(HttpRequestHelperCompletion)complection
|
||||||
uid:(NSString *)uid
|
uid:(NSString *)uid
|
||||||
ticket:(NSString *)ticket {
|
ticket:(NSString *)ticket {
|
||||||
NSString *getUrl = [NewEncryptTool MEW_aesDecrypt:@"7xFYk5dOEOCLb2Sfp0mwZw=="];//purse/query
|
NSString *getUrl = [NewEncryptTool MEW_aesDecrypt:@"7xFYk5dOEOCLb2Sfp0mwZw=="];//purse/query
|
||||||
|
@@ -6,7 +6,7 @@
|
|||||||
//
|
//
|
||||||
|
|
||||||
#import <Foundation/Foundation.h>
|
#import <Foundation/Foundation.h>
|
||||||
@class AccountModel, ThirdUserInfo;
|
@class AccountModel, MewThirdUserInfo;
|
||||||
|
|
||||||
NS_ASSUME_NONNULL_BEGIN
|
NS_ASSUME_NONNULL_BEGIN
|
||||||
|
|
||||||
@@ -14,7 +14,7 @@ NS_ASSUME_NONNULL_BEGIN
|
|||||||
|
|
||||||
@property (nonatomic, strong, readonly) AccountModel *accountModel;
|
@property (nonatomic, strong, readonly) AccountModel *accountModel;
|
||||||
///如果是第三方登录的话 保存一下用户信息
|
///如果是第三方登录的话 保存一下用户信息
|
||||||
@property (nonatomic,strong) ThirdUserInfo *thirdUserInfo;
|
@property (nonatomic,strong) MewThirdUserInfo *MewThirdUserInfo;
|
||||||
+ (instancetype)instance;
|
+ (instancetype)instance;
|
||||||
|
|
||||||
- (instancetype)init NS_UNAVAILABLE;
|
- (instancetype)init NS_UNAVAILABLE;
|
||||||
|
@@ -10,7 +10,7 @@
|
|||||||
#import "Api+Mine.h"
|
#import "Api+Mine.h"
|
||||||
#import "MEWUploadFile.h"
|
#import "MEWUploadFile.h"
|
||||||
#import "UserInfoModel.h"
|
#import "UserInfoModel.h"
|
||||||
#import "FansInfoModel.h"
|
#import "MewFansInfoModel.h"
|
||||||
/// Protocol
|
/// Protocol
|
||||||
#import "MewHomeProtocol.h"
|
#import "MewHomeProtocol.h"
|
||||||
#import "TTAlertConfig.h"
|
#import "TTAlertConfig.h"
|
||||||
@@ -89,7 +89,7 @@
|
|||||||
/// 获取两个人的关注状态
|
/// 获取两个人的关注状态
|
||||||
- (void)mew_getUserAttentionState:(NSString *)targetUid {
|
- (void)mew_getUserAttentionState:(NSString *)targetUid {
|
||||||
NSString *uid = [[AccountInfoStorage instance] getUid];
|
NSString *uid = [[AccountInfoStorage instance] getUid];
|
||||||
[Api attentionStatusCompletion:[self createHttpCompletion:^(BaseModel * _Nonnull data) {
|
[Api Mew_AttentionStatusCompletion:[self createHttpCompletion:^(BaseModel * _Nonnull data) {
|
||||||
BOOL isLike = ((NSNumber *)data.data).boolValue;
|
BOOL isLike = ((NSNumber *)data.data).boolValue;
|
||||||
[[self getView] mew_getUserAttentionSuccess:isLike];
|
[[self getView] mew_getUserAttentionSuccess:isLike];
|
||||||
}] uid:uid isLikeUid:targetUid];
|
}] uid:uid isLikeUid:targetUid];
|
||||||
@@ -109,7 +109,7 @@
|
|||||||
|
|
||||||
/// 获取用户详细信息
|
/// 获取用户详细信息
|
||||||
- (void)mew_getUserDetailInfoWithUid:(NSString *)uid {
|
- (void)mew_getUserDetailInfoWithUid:(NSString *)uid {
|
||||||
[Api userDetailInfoCompletion:[self createHttpCompletion:^(BaseModel * _Nonnull data) {
|
[Api Mew_UserDetailInfoCompletion:[self createHttpCompletion:^(BaseModel * _Nonnull data) {
|
||||||
UserInfoModel *infoModel = [UserInfoModel mewModelWithDictionary:data.data];
|
UserInfoModel *infoModel = [UserInfoModel mewModelWithDictionary:data.data];
|
||||||
[[self getView] mew_getUserDetailInfoSuccess:infoModel];
|
[[self getView] mew_getUserDetailInfoSuccess:infoModel];
|
||||||
|
|
||||||
@@ -123,7 +123,7 @@
|
|||||||
NSString * uid= [AccountInfoStorage instance].getUid;
|
NSString * uid= [AccountInfoStorage instance].getUid;
|
||||||
NSString * pageStr = [NSString stringWithFormat:@"%d", page];
|
NSString * pageStr = [NSString stringWithFormat:@"%d", page];
|
||||||
NSString * pageSizeStr = [NSString stringWithFormat:@"%d", pageSize];
|
NSString * pageSizeStr = [NSString stringWithFormat:@"%d", pageSize];
|
||||||
[Api getattentionListCompletion:[self createHttpCompletion:^(BaseModel * _Nonnull data) {
|
[Api Mew_GetAttentionListCompletion:[self createHttpCompletion:^(BaseModel * _Nonnull data) {
|
||||||
NSArray * array = [UserInfoModel mewModelsWithArray:data.data];
|
NSArray * array = [UserInfoModel mewModelsWithArray:data.data];
|
||||||
[[self getView] mew_getUserAttentionListSuccess:array state:state];
|
[[self getView] mew_getUserAttentionListSuccess:array state:state];
|
||||||
}fail:^(NSInteger code, NSString * _Nullable msg) {
|
}fail:^(NSInteger code, NSString * _Nullable msg) {
|
||||||
@@ -148,7 +148,7 @@
|
|||||||
NSString *uid = [[AccountInfoStorage instance] getUid];
|
NSString *uid = [[AccountInfoStorage instance] getUid];
|
||||||
NSString *ticket = [[AccountInfoStorage instance] getTicket];
|
NSString *ticket = [[AccountInfoStorage instance] getTicket];
|
||||||
NSString *type = state ? @"1" : @"2";
|
NSString *type = state ? @"1" : @"2";
|
||||||
[Api attentionCompletion:[self createHttpCompletion:^(BaseModel * _Nonnull data) {
|
[Api Mew_AttentionCompletion:[self createHttpCompletion:^(BaseModel * _Nonnull data) {
|
||||||
[[self getView] mew_attentionUserSuccess:state];
|
[[self getView] mew_attentionUserSuccess:state];
|
||||||
}] uid:uid likedUid:targetUid ticket:ticket type:type];
|
}] uid:uid likedUid:targetUid ticket:ticket type:type];
|
||||||
|
|
||||||
|
@@ -15,7 +15,7 @@
|
|||||||
#import "MewUserIntroductionView.h"
|
#import "MewUserIntroductionView.h"
|
||||||
#import "MewHomeFilterView.h"
|
#import "MewHomeFilterView.h"
|
||||||
#import "MewVoiceGuideView.h"
|
#import "MewVoiceGuideView.h"
|
||||||
#import "YMMineSettingViewController.h"
|
#import "MewMineSettingViewController.h"
|
||||||
#import "MewMineCollectionViewController.h"
|
#import "MewMineCollectionViewController.h"
|
||||||
#import "MewRechargeViewController.h"
|
#import "MewRechargeViewController.h"
|
||||||
#import "MewSessionViewController.h"
|
#import "MewSessionViewController.h"
|
||||||
@@ -28,7 +28,7 @@
|
|||||||
#import "MewHomePresenter.h"
|
#import "MewHomePresenter.h"
|
||||||
#import "MewHomeProtocol.h"
|
#import "MewHomeProtocol.h"
|
||||||
/// Model
|
/// Model
|
||||||
#import "FansInfoModel.h"
|
#import "MewFansInfoModel.h"
|
||||||
#import "UserInfoModel.h"
|
#import "UserInfoModel.h"
|
||||||
|
|
||||||
#import <IQKeyboardManager/IQKeyboardManager.h>
|
#import <IQKeyboardManager/IQKeyboardManager.h>
|
||||||
@@ -276,7 +276,7 @@
|
|||||||
[self.navigationController pushViewController:collectController animated:NO];
|
[self.navigationController pushViewController:collectController animated:NO];
|
||||||
} else {
|
} else {
|
||||||
//设置
|
//设置
|
||||||
YMMineSettingViewController *setVc = [[YMMineSettingViewController alloc]init];
|
MewMineSettingViewController *setVc = [[MewMineSettingViewController alloc]init];
|
||||||
[self.navigationController pushViewController:setVc animated:NO];
|
[self.navigationController pushViewController:setVc animated:NO];
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@@ -13,7 +13,7 @@
|
|||||||
/// Tool
|
/// Tool
|
||||||
#import "YMMacro.h"
|
#import "YMMacro.h"
|
||||||
#import "MEWThemeColor.h"
|
#import "MEWThemeColor.h"
|
||||||
#import "FansInfoModel.h"
|
#import "MewFansInfoModel.h"
|
||||||
#import "UserInfoModel.h"
|
#import "UserInfoModel.h"
|
||||||
#import "NSArray+MewSafe.h"
|
#import "NSArray+MewSafe.h"
|
||||||
|
|
||||||
|
@@ -8,7 +8,7 @@
|
|||||||
#import "MewLoginNumberViewController.h"
|
#import "MewLoginNumberViewController.h"
|
||||||
#import "MewLoginPhoneView.h"
|
#import "MewLoginPhoneView.h"
|
||||||
#import "MewLoginPasswordView.h"
|
#import "MewLoginPasswordView.h"
|
||||||
#import "LoginForgetPasswordViewController.h"
|
#import "MewLoginForgetPasswordViewController.h"
|
||||||
/// Third
|
/// Third
|
||||||
#import <Masonry/Masonry.h>
|
#import <Masonry/Masonry.h>
|
||||||
/// Tool
|
/// Tool
|
||||||
@@ -52,6 +52,7 @@
|
|||||||
#pragma mark - MewLoginPhoneViewDelegate
|
#pragma mark - MewLoginPhoneViewDelegate
|
||||||
/// 手机登录成功
|
/// 手机登录成功
|
||||||
- (void)mew_loginWithPhoneSuccess {
|
- (void)mew_loginWithPhoneSuccess {
|
||||||
|
|
||||||
[self mew_disMissWithVC];
|
[self mew_disMissWithVC];
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -62,7 +63,7 @@
|
|||||||
}
|
}
|
||||||
/// 忘记密码
|
/// 忘记密码
|
||||||
- (void)forgetPassword {
|
- (void)forgetPassword {
|
||||||
LoginForgetPasswordViewController *controller = [[LoginForgetPasswordViewController alloc] init];
|
MewLoginForgetPasswordViewController *controller = [[MewLoginForgetPasswordViewController alloc] init];
|
||||||
[self.navigationController pushViewController:controller animated:NO];
|
[self.navigationController pushViewController:controller animated:NO];
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@@ -28,9 +28,9 @@
|
|||||||
#import "Api+Login.h"
|
#import "Api+Login.h"
|
||||||
#import "MewHtmlUrl.h"
|
#import "MewHtmlUrl.h"
|
||||||
///Present
|
///Present
|
||||||
#import "LoginPresenter.h"
|
#import "MewLoginPresenter.h"
|
||||||
#import "LoginProtocol.h"
|
#import "MewLoginProtocol.h"
|
||||||
#import "ThirdUserInfo.h"
|
#import "MewThirdUserInfo.h"
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
@@ -76,8 +76,8 @@ typedef NS_ENUM(NSUInteger, XYLoginType) {
|
|||||||
@implementation MewLoginViewController
|
@implementation MewLoginViewController
|
||||||
|
|
||||||
|
|
||||||
- (LoginPresenter *)createPresenter {
|
- (MewLoginPresenter *)createPresenter {
|
||||||
return [[LoginPresenter alloc] init];
|
return [[MewLoginPresenter alloc] init];
|
||||||
}
|
}
|
||||||
|
|
||||||
#pragma mark - Life Cycle
|
#pragma mark - Life Cycle
|
||||||
@@ -229,7 +229,7 @@ typedef NS_ENUM(NSUInteger, XYLoginType) {
|
|||||||
|
|
||||||
|
|
||||||
|
|
||||||
#pragma mark - LoginProtocol
|
#pragma mark - MewLoginProtocol
|
||||||
- (void)mew_loginSuccess {
|
- (void)mew_loginSuccess {
|
||||||
[self dismissViewControllerAnimated:YES completion:nil];
|
[self dismissViewControllerAnimated:YES completion:nil];
|
||||||
[self showSuccessToast:@"登录成功"];
|
[self showSuccessToast:@"登录成功"];
|
||||||
@@ -320,7 +320,7 @@ typedef NS_ENUM(NSUInteger, XYLoginType) {
|
|||||||
- (void)authorizationController:(ASAuthorizationController *)controller didCompleteWithAuthorization:(ASAuthorization *)authorization API_AVAILABLE(ios(13.0)) {
|
- (void)authorizationController:(ASAuthorizationController *)controller didCompleteWithAuthorization:(ASAuthorization *)authorization API_AVAILABLE(ios(13.0)) {
|
||||||
|
|
||||||
if ([authorization.credential isKindOfClass:[ASAuthorizationAppleIDCredential class]]) {
|
if ([authorization.credential isKindOfClass:[ASAuthorizationAppleIDCredential class]]) {
|
||||||
ThirdUserInfo *userInfo = [[ThirdUserInfo alloc] init];
|
MewThirdUserInfo *userInfo = [[MewThirdUserInfo alloc] init];
|
||||||
|
|
||||||
ASAuthorizationAppleIDCredential * credential = (ASAuthorizationAppleIDCredential *)authorization.credential;
|
ASAuthorizationAppleIDCredential * credential = (ASAuthorizationAppleIDCredential *)authorization.credential;
|
||||||
|
|
||||||
@@ -343,9 +343,10 @@ typedef NS_ENUM(NSUInteger, XYLoginType) {
|
|||||||
userInfo.userName = [NSString stringWithFormat:@"%@%@",fullName.familyName, fullName.givenName];
|
userInfo.userName = [NSString stringWithFormat:@"%@%@",fullName.familyName, fullName.givenName];
|
||||||
}
|
}
|
||||||
|
|
||||||
[AccountInfoStorage instance].thirdUserInfo = userInfo;
|
[AccountInfoStorage instance].MewThirdUserInfo = userInfo;
|
||||||
[MewHUDTool showLoadingWithMessage:@"正在登录中"];
|
[MewHUDTool showLoadingWithMessage:@"正在登录中"];
|
||||||
[self.presenter thirdmew_loginWithApple:identityToken unionId:userID];
|
[self.presenter mew_thirdLoginWithApple:identityToken unionId:userID];
|
||||||
|
|
||||||
// [Api loginWithThirdPart:^(BaseModel * _Nonnull data, NSInteger code, NSString * _Nonnull msg) {
|
// [Api loginWithThirdPart:^(BaseModel * _Nonnull data, NSInteger code, NSString * _Nonnull msg) {
|
||||||
//
|
//
|
||||||
//
|
//
|
||||||
|
@@ -16,25 +16,25 @@
|
|||||||
#import "YMConstant.h"
|
#import "YMConstant.h"
|
||||||
#import "YMMacro.h"
|
#import "YMMacro.h"
|
||||||
///View
|
///View
|
||||||
#import "LoginInputView.h"
|
#import "MewLoginInputView.h"
|
||||||
///present
|
///present
|
||||||
#import "LoginPasswordPresent.h"
|
#import "MewLoginPasswordPresent.h"
|
||||||
/// protocol
|
/// protocol
|
||||||
#import "LoginPasswordProtocol.h"
|
#import "MewLoginPasswordProtocol.h"
|
||||||
|
|
||||||
@interface MewLoginPasswordView()<LoginPasswordProtocol>
|
@interface MewLoginPasswordView()<MewLoginPasswordProtocol>
|
||||||
|
|
||||||
///手机号
|
///手机号
|
||||||
@property (nonatomic,strong) LoginInputView *phoneView;
|
@property (nonatomic,strong) MewLoginInputView *phoneView;
|
||||||
///密码
|
///密码
|
||||||
@property (nonatomic,strong) LoginInputView *codeView;
|
@property (nonatomic,strong) MewLoginInputView *codeView;
|
||||||
///忘记密码
|
///忘记密码
|
||||||
@property (nonatomic,strong) UIButton *forgetPasswordButton;
|
@property (nonatomic,strong) UIButton *forgetPasswordButton;
|
||||||
///下一步
|
///下一步
|
||||||
@property (nonatomic,strong) UIButton *nextButton;
|
@property (nonatomic,strong) UIButton *nextButton;
|
||||||
|
|
||||||
/// present
|
/// present
|
||||||
@property (nonatomic, strong) LoginPasswordPresent *present;
|
@property (nonatomic, strong) MewLoginPasswordPresent *present;
|
||||||
|
|
||||||
@end
|
@end
|
||||||
|
|
||||||
@@ -51,7 +51,7 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
#pragma mark - LoginPasswordProtocol
|
#pragma mark - MewLoginPasswordProtocol
|
||||||
- (void)mew_phoneAndPasswordLoginSuccess {
|
- (void)mew_phoneAndPasswordLoginSuccess {
|
||||||
[MewHUDTool showSuccessWithMessage:@"登录成功"];
|
[MewHUDTool showSuccessWithMessage:@"登录成功"];
|
||||||
if (self.delegate) {
|
if (self.delegate) {
|
||||||
@@ -78,7 +78,7 @@
|
|||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
[self.present loginWithPhone:self.phoneView.textField.text password:self.codeView.textField.text];
|
[self.present mew_loginWithPhone:self.phoneView.textField.text password:self.codeView.textField.text];
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -165,9 +165,9 @@
|
|||||||
return _forgetPasswordButton;
|
return _forgetPasswordButton;
|
||||||
}
|
}
|
||||||
|
|
||||||
- (LoginInputView *)phoneView {
|
- (MewLoginInputView *)phoneView {
|
||||||
if (!_phoneView) {
|
if (!_phoneView) {
|
||||||
_phoneView = [[LoginInputView alloc] init];
|
_phoneView = [[MewLoginInputView alloc] init];
|
||||||
_phoneView.backgroundColor = UIColor.whiteColor;
|
_phoneView.backgroundColor = UIColor.whiteColor;
|
||||||
_phoneView.layer.masksToBounds = YES;
|
_phoneView.layer.masksToBounds = YES;
|
||||||
_phoneView.layer.cornerRadius = 45/2;
|
_phoneView.layer.cornerRadius = 45/2;
|
||||||
@@ -185,9 +185,9 @@
|
|||||||
return _phoneView;
|
return _phoneView;
|
||||||
}
|
}
|
||||||
|
|
||||||
- (LoginInputView *)codeView {
|
- (MewLoginInputView *)codeView {
|
||||||
if (!_codeView) {
|
if (!_codeView) {
|
||||||
_codeView = [[LoginInputView alloc] init];
|
_codeView = [[MewLoginInputView alloc] init];
|
||||||
_codeView.backgroundColor = UIColor.whiteColor;
|
_codeView.backgroundColor = UIColor.whiteColor;
|
||||||
_codeView.layer.masksToBounds = YES;
|
_codeView.layer.masksToBounds = YES;
|
||||||
_codeView.layer.cornerRadius = 51.0/2;
|
_codeView.layer.cornerRadius = 51.0/2;
|
||||||
@@ -203,9 +203,9 @@
|
|||||||
return _codeView;
|
return _codeView;
|
||||||
}
|
}
|
||||||
|
|
||||||
- (LoginPasswordPresent *)present {
|
- (MewLoginPasswordPresent *)present {
|
||||||
if (!_present) {
|
if (!_present) {
|
||||||
_present = [[LoginPasswordPresent alloc] init];
|
_present = [[MewLoginPasswordPresent alloc] init];
|
||||||
[_present attatchView:self];
|
[_present attatchView:self];
|
||||||
}
|
}
|
||||||
return _present;
|
return _present;
|
||||||
|
@@ -10,20 +10,20 @@
|
|||||||
#import <Masonry/Masonry.h>
|
#import <Masonry/Masonry.h>
|
||||||
#import <ReactiveObjC/ReactiveObjC.h>
|
#import <ReactiveObjC/ReactiveObjC.h>
|
||||||
///Presenter
|
///Presenter
|
||||||
#import "LoginVerifCodePresent.h"
|
#import "MewLoginVerifCodePresent.h"
|
||||||
///Protocole
|
///Protocole
|
||||||
#import "LoginVerifCodeProtocol.h"
|
#import "MewLoginVerifCodeProtocol.h"
|
||||||
/// Tool
|
/// Tool
|
||||||
#import "MEWThemeColor.h"
|
#import "MEWThemeColor.h"
|
||||||
#import "YMMacro.h"
|
#import "YMMacro.h"
|
||||||
#import "MewHUDTool.h"
|
#import "MewHUDTool.h"
|
||||||
#import "UIImage+Utils.h"
|
#import "UIImage+Utils.h"
|
||||||
/// View
|
/// View
|
||||||
#import "LoginInputView.h"
|
#import "MewLoginInputView.h"
|
||||||
|
|
||||||
@interface MewLoginPhoneView()<LoginVerifCodeProtocol>
|
@interface MewLoginPhoneView()<MewLoginVerifCodeProtocol>
|
||||||
/// 手机号码输入框
|
/// 手机号码输入框
|
||||||
@property (nonatomic, strong) LoginInputView *phoneInputView;
|
@property (nonatomic, strong) MewLoginInputView *phoneInputView;
|
||||||
@property (nonatomic, strong) NSString *phone;
|
@property (nonatomic, strong) NSString *phone;
|
||||||
|
|
||||||
///验证码输入框
|
///验证码输入框
|
||||||
@@ -40,7 +40,7 @@
|
|||||||
@property (nonatomic, strong) UIButton *confirmButton;
|
@property (nonatomic, strong) UIButton *confirmButton;
|
||||||
|
|
||||||
/// present
|
/// present
|
||||||
@property (nonatomic, strong) LoginVerifCodePresent *present;
|
@property (nonatomic, strong) MewLoginVerifCodePresent *present;
|
||||||
/// 计时器
|
/// 计时器
|
||||||
@property (strong, nonatomic) dispatch_source_t timer;
|
@property (strong, nonatomic) dispatch_source_t timer;
|
||||||
@end
|
@end
|
||||||
@@ -64,7 +64,7 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
#pragma mark - LoginVerifCodeProtocol
|
#pragma mark - MewLoginVerifCodeProtocol
|
||||||
/// 获取验证码成功
|
/// 获取验证码成功
|
||||||
- (void)mew_phoneSmsCodeSuccess {
|
- (void)mew_phoneSmsCodeSuccess {
|
||||||
[MewHUDTool showErrorWithMessage:[NSString stringWithFormat:@"验证码已发送\n+86 %@", self.phone]];
|
[MewHUDTool showErrorWithMessage:[NSString stringWithFormat:@"验证码已发送\n+86 %@", self.phone]];
|
||||||
@@ -96,7 +96,7 @@
|
|||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
[self.present phoneSmsCode:self.phone type:GetSmsType_Regist];
|
[self.present mew_phoneSmsCode:self.phone type:GetSmsType_Regist];
|
||||||
}
|
}
|
||||||
|
|
||||||
- (void)textFieldDidChange:(UITextField *)text {
|
- (void)textFieldDidChange:(UITextField *)text {
|
||||||
@@ -109,7 +109,7 @@
|
|||||||
|
|
||||||
/// 下一步
|
/// 下一步
|
||||||
- (void)mew_confirmButtonAction {
|
- (void)mew_confirmButtonAction {
|
||||||
[self.present loginWithPhone:self.phone code:self.codeTextField.text];
|
[self.present mew_loginWithPhone:self.phone code:self.codeTextField.text];
|
||||||
}
|
}
|
||||||
|
|
||||||
#pragma mark - Private Method
|
#pragma mark - Private Method
|
||||||
@@ -244,9 +244,9 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
#pragma mark - Get
|
#pragma mark - Get
|
||||||
- (LoginInputView *)phoneInputView {
|
- (MewLoginInputView *)phoneInputView {
|
||||||
if (!_phoneInputView) {
|
if (!_phoneInputView) {
|
||||||
_phoneInputView = [[LoginInputView alloc] init];
|
_phoneInputView = [[MewLoginInputView alloc] init];
|
||||||
_phoneInputView.backgroundColor = [MEWThemeColor mewColorWithHexString:@"#F8F8FB"];
|
_phoneInputView.backgroundColor = [MEWThemeColor mewColorWithHexString:@"#F8F8FB"];
|
||||||
_phoneInputView.layer.cornerRadius = 51.0/2;
|
_phoneInputView.layer.cornerRadius = 51.0/2;
|
||||||
_phoneInputView.layer.masksToBounds = YES;
|
_phoneInputView.layer.masksToBounds = YES;
|
||||||
@@ -323,9 +323,9 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
- (LoginVerifCodePresent *)present {
|
- (MewLoginVerifCodePresent *)present {
|
||||||
if (!_present) {
|
if (!_present) {
|
||||||
_present = [[LoginVerifCodePresent alloc] init];
|
_present = [[MewLoginVerifCodePresent alloc] init];
|
||||||
[_present attatchView:self];
|
[_present attatchView:self];
|
||||||
}
|
}
|
||||||
return _present;
|
return _present;
|
||||||
|
@@ -15,18 +15,18 @@
|
|||||||
#import <MJRefresh/MJRefresh.h>
|
#import <MJRefresh/MJRefresh.h>
|
||||||
#import "NSArray+MEWSafe.h"
|
#import "NSArray+MEWSafe.h"
|
||||||
///P
|
///P
|
||||||
#import "YMMineCollectRoomProtocol.h"
|
#import "MewMineCollectRoomProtocol.h"
|
||||||
#import "YMMineCollectRoomPresenter.h"
|
#import "MewMineCollectRoomPresenter.h"
|
||||||
#import "Api+Mine.h"
|
#import "Api+Mine.h"
|
||||||
/// Model
|
/// Model
|
||||||
#import "MineCollectRoomModel.h"
|
#import "MewMineCollectRoomModel.h"
|
||||||
|
|
||||||
|
|
||||||
@interface MewMineCollectionViewController () <UITableViewDelegate, UITableViewDataSource, YMMineCollectRoomProtocol>
|
@interface MewMineCollectionViewController () <UITableViewDelegate, UITableViewDataSource, MewMineCollectRoomProtocol>
|
||||||
|
|
||||||
@property (nonatomic, strong) UITableView *collectionTableView;
|
@property (nonatomic, strong) UITableView *collectionTableView;
|
||||||
/// 收藏数据
|
/// 收藏数据
|
||||||
@property (nonatomic, strong) NSMutableArray<MineCollectRoomModel *> *collectionModels;
|
@property (nonatomic, strong) NSMutableArray<MewMineCollectRoomModel *> *collectionModels;
|
||||||
///当前页数
|
///当前页数
|
||||||
@property (nonatomic,assign) int page;
|
@property (nonatomic,assign) int page;
|
||||||
///更多数据
|
///更多数据
|
||||||
@@ -36,8 +36,8 @@
|
|||||||
@implementation MewMineCollectionViewController
|
@implementation MewMineCollectionViewController
|
||||||
|
|
||||||
|
|
||||||
- (YMMineCollectRoomPresenter *)createPresenter {
|
- (MewMineCollectRoomPresenter *)createPresenter {
|
||||||
return [[YMMineCollectRoomPresenter alloc] init];
|
return [[MewMineCollectRoomPresenter alloc] init];
|
||||||
}
|
}
|
||||||
|
|
||||||
#pragma mark - Life Cycle
|
#pragma mark - Life Cycle
|
||||||
@@ -93,7 +93,7 @@
|
|||||||
/// 头部开始刷新
|
/// 头部开始刷新
|
||||||
- (void)mew_headerRefresh {
|
- (void)mew_headerRefresh {
|
||||||
self.page = 1;
|
self.page = 1;
|
||||||
[self.presenter getCollectRoomList:self.page pageSize:20 state:0 type:@"1"];
|
[self.presenter mew_getCollectRoomList:self.page pageSize:20 state:0 type:@"1"];
|
||||||
}
|
}
|
||||||
|
|
||||||
// 底部加载更多
|
// 底部加载更多
|
||||||
@@ -104,11 +104,11 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
self.page++;
|
self.page++;
|
||||||
[self.presenter getCollectRoomList:self.page pageSize:20 state:1 type:@"1"];
|
[self.presenter mew_getCollectRoomList:self.page pageSize:20 state:1 type:@"1"];
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
#pragma mark - YMMineCollectRoomProtocol
|
#pragma mark - MewMineCollectRoomProtocol
|
||||||
// 获取收藏房间成功
|
// 获取收藏房间成功
|
||||||
- (void)mew_fonGetCollectRoomListSuccess:(NSArray *)array state:(int)state {
|
- (void)mew_fonGetCollectRoomListSuccess:(NSArray *)array state:(int)state {
|
||||||
if (state == 0) {
|
if (state == 0) {
|
||||||
@@ -149,7 +149,7 @@
|
|||||||
return _collectionTableView;
|
return _collectionTableView;
|
||||||
}
|
}
|
||||||
|
|
||||||
- (NSMutableArray<MineCollectRoomModel *> *)collectionModels {
|
- (NSMutableArray<MewMineCollectRoomModel *> *)collectionModels {
|
||||||
if (!_collectionModels) {
|
if (!_collectionModels) {
|
||||||
_collectionModels = [NSMutableArray array];
|
_collectionModels = [NSMutableArray array];
|
||||||
}
|
}
|
||||||
|
@@ -6,7 +6,7 @@
|
|||||||
//
|
//
|
||||||
|
|
||||||
#import <UIKit/UIKit.h>
|
#import <UIKit/UIKit.h>
|
||||||
@class RechargeListModel, WalletInfoModel;
|
@class MewRechargeListModel, MewWalletInfoModel;
|
||||||
|
|
||||||
NS_ASSUME_NONNULL_BEGIN
|
NS_ASSUME_NONNULL_BEGIN
|
||||||
|
|
||||||
@@ -20,9 +20,9 @@ NS_ASSUME_NONNULL_BEGIN
|
|||||||
|
|
||||||
@interface MewRechargeSubView : UIView
|
@interface MewRechargeSubView : UIView
|
||||||
// 充值模型
|
// 充值模型
|
||||||
@property (nonatomic, copy) NSArray<RechargeListModel *> *rechargeModels;
|
@property (nonatomic, copy) NSArray<MewRechargeListModel *> *rechargeModels;
|
||||||
// 钱包
|
// 钱包
|
||||||
@property (nonatomic, strong) WalletInfoModel *walletModel;
|
@property (nonatomic, strong) MewWalletInfoModel *walletModel;
|
||||||
@property (nonatomic, weak) id<MewRechargeSubViewDelegate> delegate;
|
@property (nonatomic, weak) id<MewRechargeSubViewDelegate> delegate;
|
||||||
|
|
||||||
@end
|
@end
|
||||||
|
@@ -7,8 +7,8 @@
|
|||||||
|
|
||||||
#import "MewRechargeSubView.h"
|
#import "MewRechargeSubView.h"
|
||||||
/// Model
|
/// Model
|
||||||
#import "RechargeListModel.h"
|
#import "MewRechargeListModel.h"
|
||||||
#import "WalletInfoModel.h"
|
#import "MewWalletInfoModel.h"
|
||||||
/// Third
|
/// Third
|
||||||
#import <Masonry/Masonry.h>
|
#import <Masonry/Masonry.h>
|
||||||
#import <YYText/YYText.h>
|
#import <YYText/YYText.h>
|
||||||
@@ -33,7 +33,7 @@
|
|||||||
@property (nonatomic,strong) YYLabel *rechargePrivacyLabel;
|
@property (nonatomic,strong) YYLabel *rechargePrivacyLabel;
|
||||||
//@property (nonatomic, strong) UIStackView *rechargeStackView;
|
//@property (nonatomic, strong) UIStackView *rechargeStackView;
|
||||||
@property (nonatomic, strong) UIButton *rechargeButton;
|
@property (nonatomic, strong) UIButton *rechargeButton;
|
||||||
@property (nonatomic, strong) RechargeListModel *selectModel;
|
@property (nonatomic, strong) MewRechargeListModel *selectModel;
|
||||||
@property (nonatomic, assign) NSInteger index;
|
@property (nonatomic, assign) NSInteger index;
|
||||||
|
|
||||||
@end
|
@end
|
||||||
@@ -82,12 +82,12 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
#pragma mark - Set
|
#pragma mark - Set
|
||||||
- (void)setWalletModel:(WalletInfoModel *)walletModel {
|
- (void)setWalletModel:(MewWalletInfoModel *)walletModel {
|
||||||
_walletModel = walletModel;
|
_walletModel = walletModel;
|
||||||
self.balanceMoneyLabel.text = _walletModel.diamonds;
|
self.balanceMoneyLabel.text = _walletModel.diamonds;
|
||||||
}
|
}
|
||||||
|
|
||||||
- (void)setRechargeModels:(NSArray<RechargeListModel *> *)rechargeModels {
|
- (void)setRechargeModels:(NSArray<MewRechargeListModel *> *)rechargeModels {
|
||||||
_rechargeModels = rechargeModels;
|
_rechargeModels = rechargeModels;
|
||||||
[self mew_initRechargeViewWithModels:_rechargeModels];
|
[self mew_initRechargeViewWithModels:_rechargeModels];
|
||||||
}
|
}
|
||||||
@@ -105,14 +105,14 @@
|
|||||||
[self mew_initLayout];
|
[self mew_initLayout];
|
||||||
}
|
}
|
||||||
|
|
||||||
- (void)mew_initRechargeViewWithModels:(NSArray<RechargeListModel *> *)rechargeModel {
|
- (void)mew_initRechargeViewWithModels:(NSArray<MewRechargeListModel *> *)rechargeModel {
|
||||||
CGFloat viewWidth = 144.0;
|
CGFloat viewWidth = 144.0;
|
||||||
CGFloat viewHeight = 83;
|
CGFloat viewHeight = 83;
|
||||||
CGFloat marginX = 23.0;
|
CGFloat marginX = 23.0;
|
||||||
CGFloat marginLeft = (KScreenWidth - 2*viewWidth - marginX)/2.0;
|
CGFloat marginLeft = (KScreenWidth - 2*viewWidth - marginX)/2.0;
|
||||||
CGFloat marginTop = 20.0;
|
CGFloat marginTop = 20.0;
|
||||||
for (int i = 0; i < rechargeModel.count; i++) {
|
for (int i = 0; i < rechargeModel.count; i++) {
|
||||||
RechargeListModel *model = rechargeModel[i];
|
MewRechargeListModel *model = rechargeModel[i];
|
||||||
|
|
||||||
UIView *rechargeBgView = [[UIView alloc] init];
|
UIView *rechargeBgView = [[UIView alloc] init];
|
||||||
rechargeBgView.frame = CGRectMake((i%2 * (viewWidth + marginX)) + marginLeft, i/2 * (viewHeight + marginTop), viewWidth, viewHeight);
|
rechargeBgView.frame = CGRectMake((i%2 * (viewWidth + marginX)) + marginLeft, i/2 * (viewHeight + marginTop), viewWidth, viewHeight);
|
||||||
|
@@ -14,16 +14,16 @@
|
|||||||
#import "YMMacro.h"
|
#import "YMMacro.h"
|
||||||
|
|
||||||
#import "AccountInfoStorage.h"
|
#import "AccountInfoStorage.h"
|
||||||
#import "RechargeListModel.h"
|
#import "MewRechargeListModel.h"
|
||||||
/// P
|
/// P
|
||||||
#import "MineRechargeProtocol.h"
|
#import "MewMineRechargeProtocol.h"
|
||||||
#import "MineRechargePresenter.h"
|
#import "MewMineRechargePresenter.h"
|
||||||
#import "MewHUDTool.h"
|
#import "MewHUDTool.h"
|
||||||
#import "yinmeng_ios-Swift.h"
|
#import "yinmeng_ios-Swift.h"
|
||||||
#import "MEWRechargeStorage.h"
|
#import "MEWRechargeStorage.h"
|
||||||
#import "NewEncryptTool.h"
|
#import "NewEncryptTool.h"
|
||||||
|
|
||||||
@interface MewRechargeViewController ()<MineRechargeProtocol, MewRechargeSubViewDelegate>
|
@interface MewRechargeViewController ()<MewMineRechargeProtocol, MewRechargeSubViewDelegate>
|
||||||
@property (nonatomic, strong) UIImageView *rechargeBgImageView;
|
@property (nonatomic, strong) UIImageView *rechargeBgImageView;
|
||||||
@property (nonatomic, strong) UIButton *backButton;
|
@property (nonatomic, strong) UIButton *backButton;
|
||||||
@property (nonatomic, strong) MewRechargeSubView *rechageView;
|
@property (nonatomic, strong) MewRechargeSubView *rechageView;
|
||||||
@@ -39,8 +39,8 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
- (MineRechargePresenter *)createPresenter {
|
- (MewMineRechargePresenter *)createPresenter {
|
||||||
return [[MineRechargePresenter alloc] init];
|
return [[MewMineRechargePresenter alloc] init];
|
||||||
}
|
}
|
||||||
|
|
||||||
- (void)dealloc {
|
- (void)dealloc {
|
||||||
@@ -59,16 +59,16 @@
|
|||||||
|
|
||||||
#pragma mark - Load Data
|
#pragma mark - Load Data
|
||||||
- (void)mew_loadData {
|
- (void)mew_loadData {
|
||||||
[self.presenter requestRechargeListWithChannel:@"8"];
|
[self.presenter mew_requestRechargeListWithChannel:@"8"];
|
||||||
[self.presenter getUserWalletInfo];
|
[self.presenter mew_getUserWalletInfo];
|
||||||
}
|
}
|
||||||
|
|
||||||
#pragma mark - MineRechargeProtocol
|
#pragma mark - MewMineRechargeProtocol
|
||||||
- (void)getUserWalletInfo:(WalletInfoModel *)balanceInfo {
|
- (void)mew_getUserWalletInfo:(MewWalletInfoModel *)balanceInfo {
|
||||||
self.rechageView.walletModel = balanceInfo;
|
self.rechageView.walletModel = balanceInfo;
|
||||||
}
|
}
|
||||||
|
|
||||||
- (void)requestRechargeListSucccess:(NSArray<RechargeListModel *> *)list {
|
- (void)mew_requestRechargeListSucccess:(NSArray<MewRechargeListModel *> *)list {
|
||||||
self.rechageView.rechargeModels = list;
|
self.rechageView.rechargeModels = list;
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -143,7 +143,7 @@
|
|||||||
///保存唯一凭证
|
///保存唯一凭证
|
||||||
[self mew_saveRechageReciptWithTransactionIdentifier:transactionIdentifier];
|
[self mew_saveRechageReciptWithTransactionIdentifier:transactionIdentifier];
|
||||||
///二次验证
|
///二次验证
|
||||||
[self.presenter checkReceiptWithOrderId:self.orderId transcationId:transactionIdentifier errorToast:YES];
|
[self.presenter mew_checkReceiptWithOrderId:self.orderId transcationId:transactionIdentifier errorToast:YES];
|
||||||
}
|
}
|
||||||
///二次校验成功
|
///二次校验成功
|
||||||
- (void)mew_checkReceiptSuccess:(NSString *)transcationId {
|
- (void)mew_checkReceiptSuccess:(NSString *)transcationId {
|
||||||
@@ -163,7 +163,7 @@
|
|||||||
[MewHUDTool hideHUD];
|
[MewHUDTool hideHUD];
|
||||||
|
|
||||||
///刷新一下用户的信息
|
///刷新一下用户的信息
|
||||||
[self.presenter getUserWalletInfo];
|
[self.presenter mew_getUserWalletInfo];
|
||||||
|
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
@@ -214,7 +214,7 @@
|
|||||||
- (void)mew_didSelectMewRechargeChargeProdId:(NSInteger )index {
|
- (void)mew_didSelectMewRechargeChargeProdId:(NSInteger )index {
|
||||||
[MewHUDTool showLoadingInView:kWindow];
|
[MewHUDTool showLoadingInView:kWindow];
|
||||||
NSString *prodId = self.rechageView.rechargeModels[index].chargeProdId;
|
NSString *prodId = self.rechageView.rechargeModels[index].chargeProdId;
|
||||||
[self.presenter requestIAPRechargeOrderWithChargeProdId:[NSString stringWithFormat:@"%@",prodId]];
|
[self.presenter mew_requestIAPRechargeOrderWithChargeProdId:[NSString stringWithFormat:@"%@",prodId]];
|
||||||
}
|
}
|
||||||
/// 选中用户协议
|
/// 选中用户协议
|
||||||
- (void)didSelectMewRechargeProtocol {
|
- (void)didSelectMewRechargeProtocol {
|
||||||
|
@@ -129,6 +129,7 @@
|
|||||||
_lookBgView.backgroundColor = UIColorMewRGBAlpha(0xFFFFFF, 0.6);
|
_lookBgView.backgroundColor = UIColorMewRGBAlpha(0xFFFFFF, 0.6);
|
||||||
_lookBgView.layer.cornerRadius = 4;
|
_lookBgView.layer.cornerRadius = 4;
|
||||||
_lookBgView.layer.masksToBounds = YES;
|
_lookBgView.layer.masksToBounds = YES;
|
||||||
|
_lookBgView.hidden = YES;
|
||||||
}
|
}
|
||||||
return _lookBgView;
|
return _lookBgView;
|
||||||
}
|
}
|
||||||
|
@@ -19,7 +19,7 @@
|
|||||||
#import "UserInfoModel.h"
|
#import "UserInfoModel.h"
|
||||||
#import "MewRoomInfoModel.h"
|
#import "MewRoomInfoModel.h"
|
||||||
#import "MewMessageInfoModel.h"
|
#import "MewMessageInfoModel.h"
|
||||||
#import "AttachmentModel.h"
|
#import "MewAttachmentModel.h"
|
||||||
#import "MicroQueueModel.h"
|
#import "MicroQueueModel.h"
|
||||||
#import "MewGiftInfoModel.h"
|
#import "MewGiftInfoModel.h"
|
||||||
#import "MewGiftReceiveInfoModel.h"
|
#import "MewGiftReceiveInfoModel.h"
|
||||||
@@ -29,7 +29,7 @@
|
|||||||
#import "MEWHUDTool.h"
|
#import "MEWHUDTool.h"
|
||||||
#import "YMMacro.h"
|
#import "YMMacro.h"
|
||||||
#import "NSArray+MEWSafe.h"
|
#import "NSArray+MEWSafe.h"
|
||||||
#import "RtcManager.h"
|
#import "MewRtcManager.h"
|
||||||
///P
|
///P
|
||||||
#import "MewRoomPresenter.h"
|
#import "MewRoomPresenter.h"
|
||||||
#import "MewRoomProtocol.h"
|
#import "MewRoomProtocol.h"
|
||||||
@@ -169,7 +169,7 @@
|
|||||||
[self.roomMessageView mew_handleNIMNotificationMessage:message];
|
[self.roomMessageView mew_handleNIMNotificationMessage:message];
|
||||||
} else if (message.messageType == NIMMessageTypeCustom) {
|
} else if (message.messageType == NIMMessageTypeCustom) {
|
||||||
NIMCustomObject *obj = (NIMCustomObject *)message.messageObject;
|
NIMCustomObject *obj = (NIMCustomObject *)message.messageObject;
|
||||||
if (obj.attachment != nil && [obj.attachment isKindOfClass:[AttachmentModel class]]) {
|
if (obj.attachment != nil && [obj.attachment isKindOfClass:[MewAttachmentModel class]]) {
|
||||||
[self.roomStageView mew_handleNIMCustomMessage:message];
|
[self.roomStageView mew_handleNIMCustomMessage:message];
|
||||||
[self.roomAnimationView mew_handleNIMCustomMessage:message];
|
[self.roomAnimationView mew_handleNIMCustomMessage:message];
|
||||||
|
|
||||||
@@ -201,7 +201,7 @@
|
|||||||
|
|
||||||
if (message.messageType == NIMMessageTypeCustom) {
|
if (message.messageType == NIMMessageTypeCustom) {
|
||||||
NIMCustomObject *obj = (NIMCustomObject *)message.messageObject;
|
NIMCustomObject *obj = (NIMCustomObject *)message.messageObject;
|
||||||
if (obj.attachment != nil && [obj.attachment isKindOfClass:[AttachmentModel class]]) {
|
if (obj.attachment != nil && [obj.attachment isKindOfClass:[MewAttachmentModel class]]) {
|
||||||
[self.roomStageView mew_handleNIMCustomMessage:message];
|
[self.roomStageView mew_handleNIMCustomMessage:message];
|
||||||
[self.roomAnimationView mew_handleNIMCustomMessage:message];
|
[self.roomAnimationView mew_handleNIMCustomMessage:message];
|
||||||
[self.roomMessageView mew_handleNIMCustomMessage:message];
|
[self.roomMessageView mew_handleNIMCustomMessage:message];
|
||||||
@@ -240,7 +240,7 @@
|
|||||||
[self.roomAnimationView mew_resumeAnimationTimer];
|
[self.roomAnimationView mew_resumeAnimationTimer];
|
||||||
// 默认模式下
|
// 默认模式下
|
||||||
[self.presenter mew_exitNIMCurrentRoom:[NSString stringWithFormat:@"%ld", self.roomInfo.roomId]];
|
[self.presenter mew_exitNIMCurrentRoom:[NSString stringWithFormat:@"%ld", self.roomInfo.roomId]];
|
||||||
[[RtcManager instance] exitRoom];
|
[[MewRtcManager instance] mew_exitRoom];
|
||||||
[self.presenter mew_reportUserOutRoom:[NSString stringWithFormat:@"%ld",self.roomInfo.uid]];
|
[self.presenter mew_reportUserOutRoom:[NSString stringWithFormat:@"%ld",self.roomInfo.uid]];
|
||||||
[self dismissViewControllerAnimated:YES completion:nil];
|
[self dismissViewControllerAnimated:YES completion:nil];
|
||||||
|
|
||||||
@@ -250,7 +250,7 @@
|
|||||||
return self.navigationController;
|
return self.navigationController;
|
||||||
}
|
}
|
||||||
|
|
||||||
- (void)microQueueUpdate:(NSMutableDictionary<NSString *,MicroQueueModel *> *)queue {
|
- (void)mew_microQueueUpdate:(NSMutableDictionary<NSString *,MicroQueueModel *> *)queue {
|
||||||
BOOL isOnMic = false;
|
BOOL isOnMic = false;
|
||||||
for (MicroQueueModel * info in queue.allValues) {
|
for (MicroQueueModel * info in queue.allValues) {
|
||||||
if (info.userInfo.uid > 0 && [AccountInfoStorage instance].getUid.integerValue == info.userInfo.uid) {
|
if (info.userInfo.uid > 0 && [AccountInfoStorage instance].getUid.integerValue == info.userInfo.uid) {
|
||||||
@@ -347,8 +347,8 @@
|
|||||||
///单人
|
///单人
|
||||||
NSMutableDictionary *data = [NSMutableDictionary dictionary];
|
NSMutableDictionary *data = [NSMutableDictionary dictionary];
|
||||||
[data addEntriesFromDictionary:originDic];
|
[data addEntriesFromDictionary:originDic];
|
||||||
AttachmentModel *attchment = [[AttachmentModel alloc] init];
|
MewAttachmentModel *attchment = [[MewAttachmentModel alloc] init];
|
||||||
attchment.first = CustomMessageType_Gift;
|
attchment.first = Mew_CustomMessageType_Gift;
|
||||||
attchment.second = Custom_Message_Sub_Gift_Send;
|
attchment.second = Custom_Message_Sub_Gift_Send;
|
||||||
NSDictionary *targetUsers = ((NSArray *)[data objectForKey:@"targetUsers"]).firstObject;
|
NSDictionary *targetUsers = ((NSArray *)[data objectForKey:@"targetUsers"]).firstObject;
|
||||||
[data setObject:[targetUsers valueForKeyPath:@"uid"] forKey:@"targetUid"];
|
[data setObject:[targetUsers valueForKeyPath:@"uid"] forKey:@"targetUid"];
|
||||||
@@ -358,7 +358,7 @@
|
|||||||
[self sendCustomMessage:attchment];
|
[self sendCustomMessage:attchment];
|
||||||
}
|
}
|
||||||
|
|
||||||
- (void)sendCustomMessage:(AttachmentModel *)attachment {
|
- (void)sendCustomMessage:(MewAttachmentModel *)attachment {
|
||||||
NSString *sessionID = [NSString stringWithFormat:@"%ld", [self mew_getRoomInformation].roomId];
|
NSString *sessionID = [NSString stringWithFormat:@"%ld", [self mew_getRoomInformation].roomId];
|
||||||
NIMMessage *message = [[NIMMessage alloc] init];
|
NIMMessage *message = [[NIMMessage alloc] init];
|
||||||
NIMCustomObject *object = [[NIMCustomObject alloc] init];
|
NIMCustomObject *object = [[NIMCustomObject alloc] init];
|
||||||
|
@@ -12,7 +12,7 @@
|
|||||||
#import "AccountInfoStorage.h"
|
#import "AccountInfoStorage.h"
|
||||||
#import "Api+Room.h"
|
#import "Api+Room.h"
|
||||||
#import "NSMutableDictionary+MewSafe.h"
|
#import "NSMutableDictionary+MewSafe.h"
|
||||||
#import "AttachmentModel.h"
|
#import "MewAttachmentModel.h"
|
||||||
#import "UserInfoModel.h"
|
#import "UserInfoModel.h"
|
||||||
#import "MEWHUDTool.h"
|
#import "MEWHUDTool.h"
|
||||||
|
|
||||||
|
@@ -23,7 +23,7 @@
|
|||||||
#import "BaseNavigationController.h"
|
#import "BaseNavigationController.h"
|
||||||
#import "BaseViewController.h"
|
#import "BaseViewController.h"
|
||||||
#import "MewLoginViewController.h"
|
#import "MewLoginViewController.h"
|
||||||
#import "LoginFullInfoViewController.h"
|
#import "MewLoginFullInfoViewController.h"
|
||||||
#import "MewPartyViewController.h"
|
#import "MewPartyViewController.h"
|
||||||
#import "MewSessionListViewController.h"
|
#import "MewSessionListViewController.h"
|
||||||
#import "MewHomeViewController.h"
|
#import "MewHomeViewController.h"
|
||||||
@@ -178,7 +178,7 @@ NSString * const kNetworkReachabilityKey = @"kNetworkReachabilityKey";
|
|||||||
|
|
||||||
//补充用户信息
|
//补充用户信息
|
||||||
- (void)completeUserInfo {
|
- (void)completeUserInfo {
|
||||||
LoginFullInfoViewController * bindPhoneVC = [[LoginFullInfoViewController alloc] init];
|
MewLoginFullInfoViewController * bindPhoneVC = [[MewLoginFullInfoViewController alloc] init];
|
||||||
BaseNavigationController * nav = [[BaseNavigationController alloc] initWithRootViewController:bindPhoneVC];
|
BaseNavigationController * nav = [[BaseNavigationController alloc] initWithRootViewController:bindPhoneVC];
|
||||||
nav.modalPresentationStyle = UIModalPresentationFullScreen;
|
nav.modalPresentationStyle = UIModalPresentationFullScreen;
|
||||||
[self.navigationController presentViewController:nav animated:YES completion:nil];
|
[self.navigationController presentViewController:nav animated:YES completion:nil];
|
||||||
|
@@ -152,7 +152,7 @@ NSString * const kCancelAccount = @"cancelAccount";
|
|||||||
} else if ([message.name isEqualToString:kCancelAccount]) {
|
} else if ([message.name isEqualToString:kCancelAccount]) {
|
||||||
[MewHUDTool showLoadingWithMessage:@"正在注销中,请稍等"];
|
[MewHUDTool showLoadingWithMessage:@"正在注销中,请稍等"];
|
||||||
AccountModel *model = [[AccountInfoStorage instance] accountModel];
|
AccountModel *model = [[AccountInfoStorage instance] accountModel];
|
||||||
[Api logoutCurrentAccount:^(BaseModel * _Nonnull data, NSInteger code, NSString * _Nonnull msg) {
|
[Api Mew_LogoutCurrentAccount:^(BaseModel * _Nonnull data, NSInteger code, NSString * _Nonnull msg) {
|
||||||
[MewHUDTool showSuccessWithMessage:@"注销成功"];
|
[MewHUDTool showSuccessWithMessage:@"注销成功"];
|
||||||
dispatch_after(dispatch_time(DISPATCH_TIME_NOW, (int64_t)(2.0 * NSEC_PER_SEC)), dispatch_get_main_queue(), ^{
|
dispatch_after(dispatch_time(DISPATCH_TIME_NOW, (int64_t)(2.0 * NSEC_PER_SEC)), dispatch_get_main_queue(), ^{
|
||||||
[self.navigationController popToRootViewControllerAnimated:NO];
|
[self.navigationController popToRootViewControllerAnimated:NO];
|
||||||
@@ -180,7 +180,7 @@ NSString * const kCancelAccount = @"cancelAccount";
|
|||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
if (![_url hasPrefix:@"http"] && ![_url hasPrefix:@"https"]){
|
if (![_url hasPrefix:@"http"] && ![_url hasPrefix:@"https"]){
|
||||||
_url = [NSString stringWithFormat:@"%@/%@", [NewEncryptTool MEW_aesDecrypt:API_HOST_H5_URL], _url];
|
_url = [NSString stringWithFormat:@"%@/%@", API_HOST_H5_URL, _url];
|
||||||
}
|
}
|
||||||
|
|
||||||
_url = [NSString stringWithFormat:@"%@?platform=%@", _url, [YYUtility appName]];
|
_url = [NSString stringWithFormat:@"%@?platform=%@", _url, [YYUtility appName]];
|
||||||
|
@@ -1,5 +1,5 @@
|
|||||||
//
|
//
|
||||||
// AttachmentModel.h
|
// MewAttachmentModel.h
|
||||||
// mew-ios
|
// mew-ios
|
||||||
//
|
//
|
||||||
// Created by 触海 on 2023/11/20.
|
// Created by 触海 on 2023/11/20.
|
||||||
@@ -9,35 +9,35 @@
|
|||||||
#import <NIMSDK/NIMSDK.h>
|
#import <NIMSDK/NIMSDK.h>
|
||||||
|
|
||||||
NS_ASSUME_NONNULL_BEGIN
|
NS_ASSUME_NONNULL_BEGIN
|
||||||
typedef NS_ENUM(NSUInteger, CustomMessageType) {
|
typedef NS_ENUM(NSUInteger, Mew_CustomMessageType) {
|
||||||
///房间提示
|
///房间提示
|
||||||
CustomMessageType_Room_Tip = 2,
|
Mew_CustomMessageType_Room_Tip = 2,
|
||||||
///送礼物的接口
|
///送礼物的接口
|
||||||
CustomMessageType_Gift = 3,
|
Mew_CustomMessageType_Gift = 3,
|
||||||
///队列操作
|
///队列操作
|
||||||
CustomMessageType_Queue = 8,
|
Mew_CustomMessageType_Queue = 8,
|
||||||
///表情
|
///表情
|
||||||
CustomMessageType_Face = 9,
|
Mew_CustomMessageType_Face = 9,
|
||||||
///全麦送
|
///全麦送
|
||||||
CustomMessageType_AllMicroSend = 12,
|
Mew_CustomMessageType_AllMicroSend = 12,
|
||||||
///踢出房间
|
///踢出房间
|
||||||
CustomMessageType_Kick_User = 18,
|
Mew_CustomMessageType_Kick_User = 18,
|
||||||
///小秘书消息
|
///小秘书消息
|
||||||
CustomMessageType_Secretary = 19,
|
Mew_CustomMessageType_Secretary = 19,
|
||||||
///房间礼物值
|
///房间礼物值
|
||||||
CustomMessageType_Room_GiftValue = 42,
|
Mew_CustomMessageType_Room_GiftValue = 42,
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
||||||
///first = CustomMessageType_Room_Tip
|
///first = Mew_CustomMessageType_Room_Tip
|
||||||
typedef NS_ENUM(NSUInteger, CustomMessageSubRoomTip) {
|
typedef NS_ENUM(NSUInteger, MewCustomMessageSubRoomTip) {
|
||||||
///分享房间
|
///分享房间
|
||||||
Custom_Message_Sub_Room_Tip_ShareRoom = 21,
|
Custom_Message_Sub_Room_Tip_ShareRoom = 21,
|
||||||
///关注房主
|
///关注房主
|
||||||
Custom_Message_Sub_Room_Tip_Attention_Owner = 22,
|
Custom_Message_Sub_Room_Tip_Attention_Owner = 22,
|
||||||
};
|
};
|
||||||
|
|
||||||
///first = CustomMessageType_Gift
|
///first = Mew_CustomMessageType_Gift
|
||||||
typedef NS_ENUM(NSUInteger, CustomMessageSubGift) {
|
typedef NS_ENUM(NSUInteger, CustomMessageSubGift) {
|
||||||
///发送礼物
|
///发送礼物
|
||||||
Custom_Message_Sub_Gift_Send = 31,
|
Custom_Message_Sub_Gift_Send = 31,
|
||||||
@@ -47,19 +47,19 @@ typedef NS_ENUM(NSUInteger, CustomMessageSubGift) {
|
|||||||
Custom_Message_Sub_Gift_LuckySend = 34,
|
Custom_Message_Sub_Gift_LuckySend = 34,
|
||||||
};
|
};
|
||||||
|
|
||||||
///first = CustomMessageType_Queue
|
///first = Mew_CustomMessageType_Queue
|
||||||
typedef NS_ENUM(NSInteger, CustomMessageSubQueue) {
|
typedef NS_ENUM(NSInteger, CustomMessageSubQueue) {
|
||||||
///踢下麦
|
///踢下麦
|
||||||
Custom_Message_Sub_Queue_Kick = 82,
|
Custom_Message_Sub_Queue_Kick = 82,
|
||||||
};
|
};
|
||||||
|
|
||||||
//first = CustomMessageType_Face
|
//first = Mew_CustomMessageType_Face
|
||||||
typedef NS_ENUM(NSUInteger, CustomMessageSubFace) {
|
typedef NS_ENUM(NSUInteger, CustomMessageSubFace) {
|
||||||
///发送
|
///发送
|
||||||
Custom_Message_Sub_Face_Send = 91,
|
Custom_Message_Sub_Face_Send = 91,
|
||||||
};
|
};
|
||||||
|
|
||||||
///first = CustomMessageType_ALLMicroSend
|
///first = Mew_CustomMessageType_ALLMicroSend
|
||||||
typedef NS_ENUM(NSUInteger, CustomMessageSubAllMicroSend) {
|
typedef NS_ENUM(NSUInteger, CustomMessageSubAllMicroSend) {
|
||||||
///全麦送礼物
|
///全麦送礼物
|
||||||
Custom_Message_Sub_AllMicroSend = 121,
|
Custom_Message_Sub_AllMicroSend = 121,
|
||||||
@@ -72,7 +72,7 @@ typedef NS_ENUM(NSUInteger, CustomMessageSubAllMicroSend) {
|
|||||||
};
|
};
|
||||||
|
|
||||||
|
|
||||||
///first = CustomMessageType_Kick_User
|
///first = Mew_CustomMessageType_Kick_User
|
||||||
typedef NS_ENUM(NSUInteger, CustomNotificationSubKick) {
|
typedef NS_ENUM(NSUInteger, CustomNotificationSubKick) {
|
||||||
///拉黑
|
///拉黑
|
||||||
Custom_Message_Sub_Kick_BlackList = 182,
|
Custom_Message_Sub_Kick_BlackList = 182,
|
||||||
@@ -81,13 +81,13 @@ typedef NS_ENUM(NSUInteger, CustomNotificationSubKick) {
|
|||||||
};
|
};
|
||||||
|
|
||||||
|
|
||||||
///first = CustomMessageType_Room_GiftValue
|
///first = Mew_CustomMessageType_Room_GiftValue
|
||||||
typedef NS_ENUM(NSUInteger, CustomMessageSubRoomGiftValue) {
|
typedef NS_ENUM(NSUInteger, CustomMessageSubRoomGiftValue) {
|
||||||
///礼物值同步
|
///礼物值同步
|
||||||
Custom_Message_Sub_Room_GiftValue_Sync = 421
|
Custom_Message_Sub_Room_GiftValue_Sync = 421
|
||||||
};
|
};
|
||||||
|
|
||||||
@interface AttachmentModel : NSObject<NIMCustomAttachment>
|
@interface MewAttachmentModel : NSObject<NIMCustomAttachment>
|
||||||
@property (nonatomic,assign) int first;
|
@property (nonatomic,assign) int first;
|
||||||
@property (nonatomic,assign) int second;
|
@property (nonatomic,assign) int second;
|
||||||
@property (nonatomic, strong) id data;
|
@property (nonatomic, strong) id data;
|
@@ -1,14 +1,14 @@
|
|||||||
//
|
//
|
||||||
// AttachmentModel.m
|
// MewAttachmentModel.m
|
||||||
// mew-ios
|
// mew-ios
|
||||||
//
|
//
|
||||||
// Created by 触海 on 2023/11/20.
|
// Created by 触海 on 2023/11/20.
|
||||||
//
|
//
|
||||||
|
|
||||||
#import "AttachmentModel.h"
|
#import "MewAttachmentModel.h"
|
||||||
#import "NSObject+MEWExtension.h"
|
#import "NSObject+MEWExtension.h"
|
||||||
|
|
||||||
@implementation AttachmentModel
|
@implementation MewAttachmentModel
|
||||||
- (NSString *)encodeAttachment {
|
- (NSString *)encodeAttachment {
|
||||||
return [self mewToJSONString];
|
return [self mewToJSONString];
|
||||||
}
|
}
|
@@ -1,5 +1,5 @@
|
|||||||
//
|
//
|
||||||
// CustomAttachmentDecoder.h
|
// MewCustomAttachmentDecoder.h
|
||||||
// mew-ios
|
// mew-ios
|
||||||
//
|
//
|
||||||
// Created by 触海 on 2023/11/20.
|
// Created by 触海 on 2023/11/20.
|
||||||
@@ -10,7 +10,7 @@
|
|||||||
|
|
||||||
NS_ASSUME_NONNULL_BEGIN
|
NS_ASSUME_NONNULL_BEGIN
|
||||||
|
|
||||||
@interface CustomAttachmentDecoder : NSObject<NIMCustomAttachmentCoding>
|
@interface MewCustomAttachmentDecoder : NSObject<NIMCustomAttachmentCoding>
|
||||||
|
|
||||||
@end
|
@end
|
||||||
|
|
@@ -1,15 +1,15 @@
|
|||||||
//
|
//
|
||||||
// CustomAttachmentDecoder.m
|
// MewCustomAttachmentDecoder.m
|
||||||
// mew-ios
|
// mew-ios
|
||||||
//
|
//
|
||||||
// Created by 触海 on 2023/11/20.
|
// Created by 触海 on 2023/11/20.
|
||||||
//
|
//
|
||||||
|
|
||||||
#import "CustomAttachmentDecoder.h"
|
#import "MewCustomAttachmentDecoder.h"
|
||||||
#import "NSObject+MEWExtension.h"
|
#import "NSObject+MEWExtension.h"
|
||||||
#import "AttachmentModel.h"
|
#import "MewAttachmentModel.h"
|
||||||
|
|
||||||
@implementation CustomAttachmentDecoder
|
@implementation MewCustomAttachmentDecoder
|
||||||
|
|
||||||
- (id<NIMCustomAttachment>)decodeAttachment:(NSString *)content {
|
- (id<NIMCustomAttachment>)decodeAttachment:(NSString *)content {
|
||||||
id<NIMCustomAttachment> attachment;
|
id<NIMCustomAttachment> attachment;
|
||||||
@@ -24,7 +24,7 @@
|
|||||||
data = [self dictionaryWithJsonString:(NSString *)data];
|
data = [self dictionaryWithJsonString:(NSString *)data];
|
||||||
}
|
}
|
||||||
if ([data isKindOfClass:[NSDictionary class]]) {
|
if ([data isKindOfClass:[NSDictionary class]]) {
|
||||||
AttachmentModel *attachment = [[AttachmentModel alloc]init];
|
MewAttachmentModel *attachment = [[MewAttachmentModel alloc]init];
|
||||||
attachment.first = (short)first;
|
attachment.first = (short)first;
|
||||||
attachment.second = (short)second;
|
attachment.second = (short)second;
|
||||||
attachment.data = data;
|
attachment.data = data;
|
@@ -15,14 +15,14 @@ NS_ASSUME_NONNULL_BEGIN
|
|||||||
/// @param completion 完成
|
/// @param completion 完成
|
||||||
/// @param accessToken accessToken
|
/// @param accessToken accessToken
|
||||||
/// @param token token
|
/// @param token token
|
||||||
+ (void)phoneQuickLogin:(HttpRequestHelperCompletion)completion
|
+ (void)Mew_PhoneQuickLogin:(HttpRequestHelperCompletion)completion
|
||||||
accessToken:(NSString *)accessToken
|
accessToken:(NSString *)accessToken
|
||||||
token:(NSString *)token;
|
token:(NSString *)token;
|
||||||
/// 手机验证码登录
|
/// 手机验证码登录
|
||||||
/// @param completion 完成
|
/// @param completion 完成
|
||||||
/// @param phone 手机号
|
/// @param phone 手机号
|
||||||
/// @param code 验证码
|
/// @param code 验证码
|
||||||
+ (void)loginWithCode:(HttpRequestHelperCompletion)completion
|
+ (void)Mew_LoginWithCode:(HttpRequestHelperCompletion)completion
|
||||||
phone:(NSString *)phone
|
phone:(NSString *)phone
|
||||||
code:(NSString *)code
|
code:(NSString *)code
|
||||||
client_secret:(NSString *)client_secret
|
client_secret:(NSString *)client_secret
|
||||||
@@ -34,7 +34,7 @@ NS_ASSUME_NONNULL_BEGIN
|
|||||||
/// @param completion 完成
|
/// @param completion 完成
|
||||||
/// @param phone 手机号
|
/// @param phone 手机号
|
||||||
/// @param password 验证码
|
/// @param password 验证码
|
||||||
+ (void)loginWithPassword:(HttpRequestHelperCompletion)completion
|
+ (void)Mew_LoginWithPassword:(HttpRequestHelperCompletion)completion
|
||||||
phone:(NSString *)phone
|
phone:(NSString *)phone
|
||||||
password:(NSString *)password
|
password:(NSString *)password
|
||||||
client_secret:(NSString *)client_secret
|
client_secret:(NSString *)client_secret
|
||||||
@@ -47,7 +47,7 @@ NS_ASSUME_NONNULL_BEGIN
|
|||||||
/// @param phone 手机号
|
/// @param phone 手机号
|
||||||
/// @param newPwd 新的密码
|
/// @param newPwd 新的密码
|
||||||
/// @param smsCode 验证码
|
/// @param smsCode 验证码
|
||||||
+ (void)resetPasswordWithPhone:(HttpRequestHelperCompletion)complction
|
+ (void)Mew_ResetPasswordWithPhone:(HttpRequestHelperCompletion)complction
|
||||||
phone:(NSString *)phone
|
phone:(NSString *)phone
|
||||||
newPwd:(NSString *)newPwd
|
newPwd:(NSString *)newPwd
|
||||||
smsCode:(NSString *)smsCode;
|
smsCode:(NSString *)smsCode;
|
||||||
@@ -58,7 +58,7 @@ NS_ASSUME_NONNULL_BEGIN
|
|||||||
/// @param unionid unionid
|
/// @param unionid unionid
|
||||||
/// @param access_token access_token
|
/// @param access_token access_token
|
||||||
/// @param type 第三方登录的类型
|
/// @param type 第三方登录的类型
|
||||||
+ (void)loginWithThirdPart:(HttpRequestHelperCompletion)complction
|
+ (void)Mew_LoginWithThirdPart:(HttpRequestHelperCompletion)complction
|
||||||
openid:(NSString *)openid
|
openid:(NSString *)openid
|
||||||
unionid:(NSString *)unionid
|
unionid:(NSString *)unionid
|
||||||
access_token:(NSString *)access_token
|
access_token:(NSString *)access_token
|
||||||
@@ -66,14 +66,14 @@ NS_ASSUME_NONNULL_BEGIN
|
|||||||
|
|
||||||
/// 随机获取一个昵称
|
/// 随机获取一个昵称
|
||||||
/// @param completion 完成
|
/// @param completion 完成
|
||||||
+ (void)randomNick:(HttpRequestHelperCompletion)completion;
|
+ (void)Mew_RandomNick:(HttpRequestHelperCompletion)completion;
|
||||||
|
|
||||||
/// 绑定手机号码
|
/// 绑定手机号码
|
||||||
/// @param complection 完成
|
/// @param complection 完成
|
||||||
/// @param phone 手机号
|
/// @param phone 手机号
|
||||||
/// @param code 验证码
|
/// @param code 验证码
|
||||||
/// @param ticket ticket
|
/// @param ticket ticket
|
||||||
+ (void)bindMoblieCode:(HttpRequestHelperCompletion)complection
|
+ (void)Mew_BindMoblieCode:(HttpRequestHelperCompletion)complection
|
||||||
phone:(NSString *)phone
|
phone:(NSString *)phone
|
||||||
code:(NSString *)code
|
code:(NSString *)code
|
||||||
ticket:(NSString *)ticket;
|
ticket:(NSString *)ticket;
|
||||||
|
@@ -9,7 +9,7 @@
|
|||||||
#import "NewEncryptTool.h"
|
#import "NewEncryptTool.h"
|
||||||
@implementation Api (Login)
|
@implementation Api (Login)
|
||||||
/// 一键登录
|
/// 一键登录
|
||||||
+ (void)phoneQuickLogin:(HttpRequestHelperCompletion)completion accessToken:(NSString *)accessToken token:(NSString *)token {
|
+ (void)Mew_PhoneQuickLogin:(HttpRequestHelperCompletion)completion accessToken:(NSString *)accessToken token:(NSString *)token {
|
||||||
NSString *getUrl = [NewEncryptTool MEW_aesDecrypt:@"5OuUEI/lxBioS84/A1+LB6USUuyY1yofu3VeNn4bGRA="];///acc/oneclick/login
|
NSString *getUrl = [NewEncryptTool MEW_aesDecrypt:@"5OuUEI/lxBioS84/A1+LB6USUuyY1yofu3VeNn4bGRA="];///acc/oneclick/login
|
||||||
[self makeRequest:getUrl method:HttpRequestHelperMethodPOST completion:completion, __FUNCTION__, accessToken, token, nil];
|
[self makeRequest:getUrl method:HttpRequestHelperMethodPOST completion:completion, __FUNCTION__, accessToken, token, nil];
|
||||||
}
|
}
|
||||||
@@ -18,7 +18,7 @@
|
|||||||
/// @param completion 完成
|
/// @param completion 完成
|
||||||
/// @param phone 手机号
|
/// @param phone 手机号
|
||||||
/// @param code 验证码
|
/// @param code 验证码
|
||||||
+ (void)loginWithCode:(HttpRequestHelperCompletion)completion phone:(NSString *)phone code:(NSString *)code client_secret:(NSString *)client_secret version:(NSString *)version client_id:(NSString *)client_id grant_type:(NSString *)grant_type {
|
+ (void)Mew_LoginWithCode:(HttpRequestHelperCompletion)completion phone:(NSString *)phone code:(NSString *)code client_secret:(NSString *)client_secret version:(NSString *)version client_id:(NSString *)client_id grant_type:(NSString *)grant_type {
|
||||||
NSString *getUrl = [NewEncryptTool MEW_aesDecrypt:@"QFgInRYQSkXdbIyvBsVUvA=="];////oauth/token
|
NSString *getUrl = [NewEncryptTool MEW_aesDecrypt:@"QFgInRYQSkXdbIyvBsVUvA=="];////oauth/token
|
||||||
[self makeRequest:getUrl method:HttpRequestHelperMethodPOST completion:completion, __FUNCTION__,phone,code,client_secret,version, client_id, grant_type, nil];
|
[self makeRequest:getUrl method:HttpRequestHelperMethodPOST completion:completion, __FUNCTION__,phone,code,client_secret,version, client_id, grant_type, nil];
|
||||||
}
|
}
|
||||||
@@ -27,7 +27,7 @@
|
|||||||
/// @param completion 完成
|
/// @param completion 完成
|
||||||
/// @param phone 手机号
|
/// @param phone 手机号
|
||||||
/// @param password 验证码
|
/// @param password 验证码
|
||||||
+ (void)loginWithPassword:(HttpRequestHelperCompletion)completion phone:(NSString *)phone password:(NSString *)password client_secret:(NSString *)client_secret version:(NSString *)version client_id:(NSString *)client_id grant_type:(NSString *)grant_type {
|
+ (void)Mew_LoginWithPassword:(HttpRequestHelperCompletion)completion phone:(NSString *)phone password:(NSString *)password client_secret:(NSString *)client_secret version:(NSString *)version client_id:(NSString *)client_id grant_type:(NSString *)grant_type {
|
||||||
NSString *getUrl = [NewEncryptTool MEW_aesDecrypt:@"QFgInRYQSkXdbIyvBsVUvA=="];///oauth/token
|
NSString *getUrl = [NewEncryptTool MEW_aesDecrypt:@"QFgInRYQSkXdbIyvBsVUvA=="];///oauth/token
|
||||||
[self makeRequest:getUrl method:HttpRequestHelperMethodPOST completion:completion, __FUNCTION__,phone,password,client_secret,version, client_id, grant_type, nil];
|
[self makeRequest:getUrl method:HttpRequestHelperMethodPOST completion:completion, __FUNCTION__,phone,password,client_secret,version, client_id, grant_type, nil];
|
||||||
}
|
}
|
||||||
@@ -37,7 +37,7 @@
|
|||||||
/// @param phone 手机号
|
/// @param phone 手机号
|
||||||
/// @param newPwd 新的密码
|
/// @param newPwd 新的密码
|
||||||
/// @param smsCode 验证码
|
/// @param smsCode 验证码
|
||||||
+ (void)resetPasswordWithPhone:(HttpRequestHelperCompletion)completion phone:(NSString *)phone newPwd:(NSString *)newPwd smsCode:(NSString *)smsCode {
|
+ (void)Mew_ResetPasswordWithPhone:(HttpRequestHelperCompletion)completion phone:(NSString *)phone newPwd:(NSString *)newPwd smsCode:(NSString *)smsCode {
|
||||||
NSString *getUrl = [NewEncryptTool MEW_aesDecrypt:@"ZstXKg9XrXuRUPW6jNgkzQ=="];///acc/pwd/reset
|
NSString *getUrl = [NewEncryptTool MEW_aesDecrypt:@"ZstXKg9XrXuRUPW6jNgkzQ=="];///acc/pwd/reset
|
||||||
[self makeRequest:getUrl method:HttpRequestHelperMethodPOST completion:completion, __FUNCTION__, phone, newPwd, smsCode, nil];
|
[self makeRequest:getUrl method:HttpRequestHelperMethodPOST completion:completion, __FUNCTION__, phone, newPwd, smsCode, nil];
|
||||||
}
|
}
|
||||||
@@ -49,14 +49,14 @@
|
|||||||
/// @param unionid unionid
|
/// @param unionid unionid
|
||||||
/// @param access_token access_token
|
/// @param access_token access_token
|
||||||
/// @param type 第三方登录的类型
|
/// @param type 第三方登录的类型
|
||||||
+ (void)loginWithThirdPart:(HttpRequestHelperCompletion)completion openid:(NSString *)openid unionid:(NSString *)unionid access_token:(NSString *)access_token type:(NSString *)type {
|
+ (void)Mew_LoginWithThirdPart:(HttpRequestHelperCompletion)completion openid:(NSString *)openid unionid:(NSString *)unionid access_token:(NSString *)access_token type:(NSString *)type {
|
||||||
NSString *getUrl = [NewEncryptTool MEW_aesDecrypt:@"jenVNOO6MbwSC77wnPIMng=="];///acc/third/login
|
NSString *getUrl = [NewEncryptTool MEW_aesDecrypt:@"jenVNOO6MbwSC77wnPIMng=="];///acc/third/login
|
||||||
[self makeRequest:getUrl method:HttpRequestHelperMethodPOST completion:completion, __FUNCTION__, openid, unionid, access_token, type, nil];
|
[self makeRequest:getUrl method:HttpRequestHelperMethodPOST completion:completion, __FUNCTION__, openid, unionid, access_token, type, nil];
|
||||||
}
|
}
|
||||||
|
|
||||||
/// 随机获取一个昵称
|
/// 随机获取一个昵称
|
||||||
/// @param completion 完成
|
/// @param completion 完成
|
||||||
+ (void)randomNick:(HttpRequestHelperCompletion)completion {
|
+ (void)Mew_RandomNick:(HttpRequestHelperCompletion)completion {
|
||||||
NSString *getUrl = [NewEncryptTool MEW_aesDecrypt:@"7oWMT+wxmM3FF/aCDKLrRw=="];////random/nick/get
|
NSString *getUrl = [NewEncryptTool MEW_aesDecrypt:@"7oWMT+wxmM3FF/aCDKLrRw=="];////random/nick/get
|
||||||
[self makeRequest:getUrl method:HttpRequestHelperMethodPOST completion:completion, __FUNCTION__, nil];
|
[self makeRequest:getUrl method:HttpRequestHelperMethodPOST completion:completion, __FUNCTION__, nil];
|
||||||
}
|
}
|
||||||
@@ -66,7 +66,7 @@
|
|||||||
/// @param phone 手机号
|
/// @param phone 手机号
|
||||||
/// @param code 验证码
|
/// @param code 验证码
|
||||||
/// @param ticket ticket
|
/// @param ticket ticket
|
||||||
+ (void)bindMoblieCode:(HttpRequestHelperCompletion)complection
|
+ (void)Mew_BindMoblieCode:(HttpRequestHelperCompletion)complection
|
||||||
phone:(NSString *)phone
|
phone:(NSString *)phone
|
||||||
code:(NSString *)code
|
code:(NSString *)code
|
||||||
ticket:(NSString *)ticket {
|
ticket:(NSString *)ticket {
|
||||||
|
@@ -1,5 +1,5 @@
|
|||||||
//
|
//
|
||||||
// ThirdUserInfo.h
|
// MewThirdUserInfo.h
|
||||||
// mew-ios
|
// mew-ios
|
||||||
//
|
//
|
||||||
// Created by 触海 on 2023/11/6.
|
// Created by 触海 on 2023/11/6.
|
||||||
@@ -9,7 +9,7 @@
|
|||||||
|
|
||||||
NS_ASSUME_NONNULL_BEGIN
|
NS_ASSUME_NONNULL_BEGIN
|
||||||
|
|
||||||
@interface ThirdUserInfo : NSObject
|
@interface MewThirdUserInfo : NSObject
|
||||||
|
|
||||||
///用户名
|
///用户名
|
||||||
@property (nonatomic,copy) NSString *userName;
|
@property (nonatomic,copy) NSString *userName;
|
@@ -0,0 +1,12 @@
|
|||||||
|
//
|
||||||
|
// MewThirdUserInfo.m
|
||||||
|
// mew-ios
|
||||||
|
//
|
||||||
|
// Created by 触海 on 2023/11/6.
|
||||||
|
//
|
||||||
|
|
||||||
|
#import "MewThirdUserInfo.h"
|
||||||
|
|
||||||
|
@implementation MewThirdUserInfo
|
||||||
|
|
||||||
|
@end
|
@@ -1,12 +0,0 @@
|
|||||||
//
|
|
||||||
// ThirdUserInfo.m
|
|
||||||
// mew-ios
|
|
||||||
//
|
|
||||||
// Created by 触海 on 2023/11/6.
|
|
||||||
//
|
|
||||||
|
|
||||||
#import "ThirdUserInfo.h"
|
|
||||||
|
|
||||||
@implementation ThirdUserInfo
|
|
||||||
|
|
||||||
@end
|
|
@@ -1,5 +1,5 @@
|
|||||||
//
|
//
|
||||||
// LoginBindPhonePresent.h
|
// MewLoginBindPhonePresent.h
|
||||||
// yinmeng-ios
|
// yinmeng-ios
|
||||||
//
|
//
|
||||||
// Created by 触海 on 2023/11/22.
|
// Created by 触海 on 2023/11/22.
|
||||||
@@ -9,7 +9,7 @@
|
|||||||
|
|
||||||
NS_ASSUME_NONNULL_BEGIN
|
NS_ASSUME_NONNULL_BEGIN
|
||||||
|
|
||||||
@interface LoginBindPhonePresent : BaseMvpPresenter
|
@interface MewLoginBindPhonePresent : BaseMvpPresenter
|
||||||
|
|
||||||
@end
|
@end
|
||||||
|
|
@@ -1,13 +1,13 @@
|
|||||||
//
|
//
|
||||||
// LoginBindPhonePresent.m
|
// MewLoginBindPhonePresent.m
|
||||||
// yinmeng-ios
|
// yinmeng-ios
|
||||||
//
|
//
|
||||||
// Created by 触海 on 2023/11/22.
|
// Created by 触海 on 2023/11/22.
|
||||||
//
|
//
|
||||||
|
|
||||||
#import "LoginBindPhonePresent.h"
|
#import "MewLoginBindPhonePresent.h"
|
||||||
|
|
||||||
@implementation LoginBindPhonePresent
|
@implementation MewLoginBindPhonePresent
|
||||||
- (id<BaseMvpProtocol>)getView {
|
- (id<BaseMvpProtocol>)getView {
|
||||||
return ((id<BaseMvpProtocol>) [super getView]);
|
return ((id<BaseMvpProtocol>) [super getView]);
|
||||||
}
|
}
|
@@ -1,5 +1,5 @@
|
|||||||
//
|
//
|
||||||
// LoginForgetPasswordPresent.h
|
// MewLoginForgetPasswordPresent.h
|
||||||
// mew-ios
|
// mew-ios
|
||||||
//
|
//
|
||||||
// Created by 触海 on 2023/11/9.
|
// Created by 触海 on 2023/11/9.
|
||||||
@@ -10,17 +10,17 @@
|
|||||||
|
|
||||||
NS_ASSUME_NONNULL_BEGIN
|
NS_ASSUME_NONNULL_BEGIN
|
||||||
|
|
||||||
@interface LoginForgetPasswordPresent : BaseMvpPresenter
|
@interface MewLoginForgetPasswordPresent : BaseMvpPresenter
|
||||||
/// 获取手机的验证码
|
/// 获取手机的验证码
|
||||||
/// @param phone 手机号
|
/// @param phone 手机号
|
||||||
/// @param type 类型
|
/// @param type 类型
|
||||||
- (void)phoneSmsCode:(NSString *)phone type:(GetSmsType)type;
|
- (void)mew_phoneSmsCode:(NSString *)phone type:(GetSmsType)type;
|
||||||
|
|
||||||
/// 没有登录的时候 重置密码
|
/// 没有登录的时候 重置密码
|
||||||
/// @param phone 手机号
|
/// @param phone 手机号
|
||||||
/// @param newPwd 新的密码
|
/// @param newPwd 新的密码
|
||||||
/// @param smsCode 验证码
|
/// @param smsCode 验证码
|
||||||
- (void)resetPassword:(NSString *)phone newPwd:(NSString *)newPwd smsCode:(NSString *)smsCode;
|
- (void)mew_resetPassword:(NSString *)phone newPwd:(NSString *)newPwd smsCode:(NSString *)smsCode;
|
||||||
@end
|
@end
|
||||||
|
|
||||||
NS_ASSUME_NONNULL_END
|
NS_ASSUME_NONNULL_END
|
@@ -1,32 +1,32 @@
|
|||||||
//
|
//
|
||||||
// LoginForgetPasswordPresent.m
|
// MewLoginForgetPasswordPresent.m
|
||||||
// mew-ios
|
// mew-ios
|
||||||
//
|
//
|
||||||
// Created by 触海 on 2023/11/9.
|
// Created by 触海 on 2023/11/9.
|
||||||
//
|
//
|
||||||
|
|
||||||
#import "LoginForgetPasswordPresent.h"
|
#import "MewLoginForgetPasswordPresent.h"
|
||||||
///Tool
|
///Tool
|
||||||
#import "AccountInfoStorage.h"
|
#import "AccountInfoStorage.h"
|
||||||
#import "DESEncrypt.h"
|
#import "DESEncrypt.h"
|
||||||
#import "YMConstant.h"
|
#import "YMConstant.h"
|
||||||
///Protocol
|
///Protocol
|
||||||
#import "LoginForgetPasswordProtocol.h"
|
#import "MewLoginForgetPasswordProtocol.h"
|
||||||
///Api
|
///Api
|
||||||
#import "Api+Login.h"
|
#import "Api+Login.h"
|
||||||
|
|
||||||
|
|
||||||
@implementation LoginForgetPasswordPresent
|
@implementation MewLoginForgetPasswordPresent
|
||||||
- (id<LoginForgetPasswordProtocol>)getView {
|
- (id<MewLoginForgetPasswordProtocol>)getView {
|
||||||
return (id<LoginForgetPasswordProtocol>)[super getView];
|
return (id<MewLoginForgetPasswordProtocol>)[super getView];
|
||||||
}
|
}
|
||||||
|
|
||||||
/// 获取手机的验证码
|
/// 获取手机的验证码
|
||||||
/// @param phone 手机号
|
/// @param phone 手机号
|
||||||
/// @param type 类型
|
/// @param type 类型
|
||||||
- (void)phoneSmsCode:(NSString *)phone type:(GetSmsType)type {
|
- (void)mew_phoneSmsCode:(NSString *)phone type:(GetSmsType)type {
|
||||||
NSString * desPhone = [DESEncrypt encryptUseDES:phone key:KeyWithType(KeyType_PasswordEncode)];
|
NSString * desPhone = [DESEncrypt encryptUseDES:phone key:KeyWithType(KeyType_PasswordEncode)];
|
||||||
[Api phoneSmsCode:[self createHttpCompletion:^(id _Nonnull data) {
|
[Api mew_phoneSmsCode:[self createHttpCompletion:^(id _Nonnull data) {
|
||||||
[[self getView] mew_phoneSmsCodeSuccess];
|
[[self getView] mew_phoneSmsCodeSuccess];
|
||||||
}] mobile:desPhone type:[NSString stringWithFormat:@"%lu", (unsigned long)type]];
|
}] mobile:desPhone type:[NSString stringWithFormat:@"%lu", (unsigned long)type]];
|
||||||
}
|
}
|
||||||
@@ -35,11 +35,11 @@
|
|||||||
/// @param phone 手机号
|
/// @param phone 手机号
|
||||||
/// @param newPwd 新的密码
|
/// @param newPwd 新的密码
|
||||||
/// @param smsCode 验证码
|
/// @param smsCode 验证码
|
||||||
- (void)resetPassword:(NSString *)phone newPwd:(NSString *)newPwd smsCode:(NSString *)smsCode {
|
- (void)mew_resetPassword:(NSString *)phone newPwd:(NSString *)newPwd smsCode:(NSString *)smsCode {
|
||||||
NSString * desPassword = [DESEncrypt encryptUseDES:newPwd key:KeyWithType(KeyType_PasswordEncode)];
|
NSString * desPassword = [DESEncrypt encryptUseDES:newPwd key:KeyWithType(KeyType_PasswordEncode)];
|
||||||
NSString * desPhone = [DESEncrypt encryptUseDES:phone key:KeyWithType(KeyType_PasswordEncode)];
|
NSString * desPhone = [DESEncrypt encryptUseDES:phone key:KeyWithType(KeyType_PasswordEncode)];
|
||||||
[Api resetPasswordWithPhone:[self createHttpCompletion:^(BaseModel * _Nonnull data) {
|
[Api Mew_ResetPasswordWithPhone:[self createHttpCompletion:^(BaseModel * _Nonnull data) {
|
||||||
[[self getView] resetPasswrodSuccess];
|
[[self getView] mew_resetPasswrodSuccess];
|
||||||
} showLoading:YES] phone:desPhone newPwd:desPassword smsCode:smsCode];
|
} showLoading:YES] phone:desPhone newPwd:desPassword smsCode:smsCode];
|
||||||
}
|
}
|
||||||
|
|
@@ -1,22 +1,22 @@
|
|||||||
//
|
//
|
||||||
// LoginFullInfoPresenter.h
|
// MewLoginFullInfoPresenter.h
|
||||||
// mew-ios
|
// mew-ios
|
||||||
//
|
//
|
||||||
// Created by 触海 on 2023/11/6.
|
// Created by 触海 on 2023/11/6.
|
||||||
//
|
//
|
||||||
|
|
||||||
#import "BaseMvpPresenter.h"
|
#import "BaseMvpPresenter.h"
|
||||||
@class ThirdUserInfo;
|
@class MewThirdUserInfo;
|
||||||
|
|
||||||
NS_ASSUME_NONNULL_BEGIN
|
NS_ASSUME_NONNULL_BEGIN
|
||||||
|
|
||||||
@interface LoginFullInfoPresenter : BaseMvpPresenter
|
@interface MewLoginFullInfoPresenter : BaseMvpPresenter
|
||||||
|
|
||||||
/// 获取保存的第三方的数据模型
|
/// 获取保存的第三方的数据模型
|
||||||
- (ThirdUserInfo *)getThirdUserInfo;
|
- (MewThirdUserInfo *)mew_getMewThirdUserInfo;
|
||||||
|
|
||||||
/// 随机获取昵称
|
/// 随机获取昵称
|
||||||
- (void)randomRequestNick;
|
- (void)mew_randomRequestNick;
|
||||||
|
|
||||||
/// 补全资料
|
/// 补全资料
|
||||||
/// @param avatar 头像
|
/// @param avatar 头像
|
||||||
@@ -26,7 +26,7 @@ NS_ASSUME_NONNULL_BEGIN
|
|||||||
/// @param roomUid 邀请的那个房间的uid
|
/// @param roomUid 邀请的那个房间的uid
|
||||||
/// @param shareUid 邀请人的uid
|
/// @param shareUid 邀请人的uid
|
||||||
/// @param shareChannel 邀请的渠道
|
/// @param shareChannel 邀请的渠道
|
||||||
- (void)complectionInfoWithAvatar:(NSString *)avatar
|
- (void)mew_complectionInfoWithAvatar:(NSString *)avatar
|
||||||
gender:(NSString *)gender
|
gender:(NSString *)gender
|
||||||
nick:(NSString *)nick
|
nick:(NSString *)nick
|
||||||
inviteCode:(NSString * __nullable)inviteCode
|
inviteCode:(NSString * __nullable)inviteCode
|
@@ -1,40 +1,40 @@
|
|||||||
//
|
//
|
||||||
// LoginFullInfoPresenter.m
|
// MewLoginFullInfoPresenter.m
|
||||||
// mew-ios
|
// mew-ios
|
||||||
//
|
//
|
||||||
// Created by 触海 on 2023/11/6.
|
// Created by 触海 on 2023/11/6.
|
||||||
//
|
//
|
||||||
|
|
||||||
#import "LoginFullInfoPresenter.h"
|
#import "MewLoginFullInfoPresenter.h"
|
||||||
#import "Api+Login.h"
|
#import "Api+Login.h"
|
||||||
///Tool
|
///Tool
|
||||||
#import "AccountInfoStorage.h"
|
#import "AccountInfoStorage.h"
|
||||||
#import "NSMutableDictionary+MEWSafe.h"
|
#import "NSMutableDictionary+MEWSafe.h"
|
||||||
///Api
|
///Api
|
||||||
#import "LoginFullInfoProtocol.h"
|
#import "MewLoginFullInfoProtocol.h"
|
||||||
///Model
|
///Model
|
||||||
#import "ThirdUserInfo.h"
|
#import "MewThirdUserInfo.h"
|
||||||
|
|
||||||
@implementation LoginFullInfoPresenter
|
@implementation MewLoginFullInfoPresenter
|
||||||
|
|
||||||
#pragma mark - Super
|
#pragma mark - Super
|
||||||
- (id<LoginFullInfoProtocol>)getView {
|
- (id<MewLoginFullInfoProtocol>)getView {
|
||||||
return (id<LoginFullInfoProtocol>)[super getView];
|
return (id<MewLoginFullInfoProtocol>)[super getView];
|
||||||
}
|
}
|
||||||
|
|
||||||
#pragma mark - Public Method
|
#pragma mark - Public Method
|
||||||
/// 获取保存的第三方的数据模型
|
/// 获取保存的第三方的数据模型
|
||||||
- (ThirdUserInfo *)getThirdUserInfo {
|
- (MewThirdUserInfo *)mew_getMewThirdUserInfo {
|
||||||
if ([AccountInfoStorage instance].thirdUserInfo) {
|
if ([AccountInfoStorage instance].MewThirdUserInfo) {
|
||||||
return [AccountInfoStorage instance].thirdUserInfo;
|
return [AccountInfoStorage instance].MewThirdUserInfo;
|
||||||
}
|
}
|
||||||
return nil;
|
return nil;
|
||||||
}
|
}
|
||||||
|
|
||||||
/// 随机获取昵称
|
/// 随机获取昵称
|
||||||
- (void)randomRequestNick {
|
- (void)mew_randomRequestNick {
|
||||||
[Api randomNick:[self createHttpCompletion:^(BaseModel * _Nonnull data) {
|
[Api Mew_RandomNick:[self createHttpCompletion:^(BaseModel * _Nonnull data) {
|
||||||
[[self getView] requestRandomNickSuccess:data.data];
|
[[self getView] mew_requestRandomNickSuccess:data.data];
|
||||||
}]];
|
}]];
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -46,7 +46,7 @@
|
|||||||
/// @param roomUid 邀请的那个房间的uid
|
/// @param roomUid 邀请的那个房间的uid
|
||||||
/// @param shareUid 邀请人的uid
|
/// @param shareUid 邀请人的uid
|
||||||
/// @param shareChannel 邀请的渠道
|
/// @param shareChannel 邀请的渠道
|
||||||
- (void)complectionInfoWithAvatar:(NSString *)avatar
|
- (void)mew_complectionInfoWithAvatar:(NSString *)avatar
|
||||||
gender:(NSString *)gender
|
gender:(NSString *)gender
|
||||||
nick:(NSString *)nick
|
nick:(NSString *)nick
|
||||||
inviteCode:(NSString * __nullable)inviteCode
|
inviteCode:(NSString * __nullable)inviteCode
|
||||||
@@ -78,7 +78,7 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
[Api completeUserInfo:[self createHttpCompletion:^(BaseModel * _Nonnull data) {
|
[Api completeUserInfo:[self createHttpCompletion:^(BaseModel * _Nonnull data) {
|
||||||
[[self getView] complementInfoSuccess];
|
[[self getView] mew_complementInfoSuccess];
|
||||||
}] userInfo:params];
|
}] userInfo:params];
|
||||||
}
|
}
|
||||||
|
|
@@ -9,12 +9,12 @@
|
|||||||
|
|
||||||
NS_ASSUME_NONNULL_BEGIN
|
NS_ASSUME_NONNULL_BEGIN
|
||||||
|
|
||||||
@interface LoginPasswordPresent : BaseMvpPresenter
|
@interface MewLoginPasswordPresent : BaseMvpPresenter
|
||||||
|
|
||||||
/// 使用手机号和密码登录
|
/// 使用手机号和密码登录
|
||||||
/// @param phone 手机号
|
/// @param phone 手机号
|
||||||
/// @param password 验证码
|
/// @param password 验证码
|
||||||
- (void)loginWithPhone:(NSString *)phone password:(NSString *)password;
|
- (void)mew_loginWithPhone:(NSString *)phone password:(NSString *)password;
|
||||||
|
|
||||||
@end
|
@end
|
||||||
|
|
@@ -5,7 +5,7 @@
|
|||||||
// Created by 触海 on 2023/11/8.
|
// Created by 触海 on 2023/11/8.
|
||||||
//
|
//
|
||||||
|
|
||||||
#import "LoginPasswordPresent.h"
|
#import "MewLoginPasswordPresent.h"
|
||||||
#import "Api+Login.h"
|
#import "Api+Login.h"
|
||||||
///Tool
|
///Tool
|
||||||
#import "AccountInfoStorage.h"
|
#import "AccountInfoStorage.h"
|
||||||
@@ -14,18 +14,18 @@
|
|||||||
///Model
|
///Model
|
||||||
#import "AccountModel.h"
|
#import "AccountModel.h"
|
||||||
///Protocol
|
///Protocol
|
||||||
#import "LoginPasswordProtocol.h"
|
#import "MewLoginPasswordProtocol.h"
|
||||||
|
|
||||||
@implementation LoginPasswordPresent
|
@implementation MewLoginPasswordPresent
|
||||||
- (id<LoginPasswordProtocol>)getView {
|
- (id<MewLoginPasswordProtocol>)getView {
|
||||||
return (id<LoginPasswordProtocol>)[super getView];
|
return (id<MewLoginPasswordProtocol>)[super getView];
|
||||||
}
|
}
|
||||||
|
|
||||||
/// 手机密码登录
|
/// 手机密码登录
|
||||||
- (void)loginWithPhone:(NSString *)phone password:(NSString *)password {
|
- (void)mew_loginWithPhone:(NSString *)phone password:(NSString *)password {
|
||||||
NSString * desPassword = [DESEncrypt encryptUseDES:password key:KeyWithType(KeyType_PasswordEncode)];
|
NSString * desPassword = [DESEncrypt encryptUseDES:password key:KeyWithType(KeyType_PasswordEncode)];
|
||||||
NSString * desPhone = [DESEncrypt encryptUseDES:phone key:KeyWithType(KeyType_PasswordEncode)];
|
NSString * desPhone = [DESEncrypt encryptUseDES:phone key:KeyWithType(KeyType_PasswordEncode)];
|
||||||
[Api loginWithPassword:[self createHttpCompletion:^(BaseModel * _Nonnull data) {
|
[Api Mew_LoginWithPassword:[self createHttpCompletion:^(BaseModel * _Nonnull data) {
|
||||||
AccountModel *model = [AccountModel mewModelWithDictionary:data.data];
|
AccountModel *model = [AccountModel mewModelWithDictionary:data.data];
|
||||||
if (model && model.access_token.length > 0){
|
if (model && model.access_token.length > 0){
|
||||||
[[AccountInfoStorage instance] saveAccountInfo:model];
|
[[AccountInfoStorage instance] saveAccountInfo:model];
|
@@ -0,0 +1,24 @@
|
|||||||
|
//
|
||||||
|
// MewLoginPresenter.h
|
||||||
|
// mew-ios
|
||||||
|
//
|
||||||
|
// Created by 触海 on 2023/11/6.
|
||||||
|
//
|
||||||
|
|
||||||
|
#import "BaseMvpPresenter.h"
|
||||||
|
#import "YMEnum.h"
|
||||||
|
|
||||||
|
NS_ASSUME_NONNULL_BEGIN
|
||||||
|
|
||||||
|
@interface MewLoginPresenter : BaseMvpPresenter
|
||||||
|
|
||||||
|
/// 一键登录
|
||||||
|
- (void)mew_phoneQuickLogin:(NSString *)accessToken token:(NSString*) token;
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
- (void)mew_thirdLoginWithApple:(NSString *)token unionId:(NSString *)unionId;
|
||||||
|
|
||||||
|
@end
|
||||||
|
|
||||||
|
NS_ASSUME_NONNULL_END
|
@@ -1,41 +1,37 @@
|
|||||||
//
|
//
|
||||||
// LoginPresenter.m
|
// MewLoginPresenter.m
|
||||||
// mew-ios
|
// mew-ios
|
||||||
//
|
//
|
||||||
// Created by 触海 on 2023/11/6.
|
// Created by 触海 on 2023/11/6.
|
||||||
//
|
//
|
||||||
|
|
||||||
#import "LoginPresenter.h"
|
#import "MewLoginPresenter.h"
|
||||||
///Tool
|
///Tool
|
||||||
#import "AccountInfoStorage.h"
|
#import "AccountInfoStorage.h"
|
||||||
///APi
|
///APi
|
||||||
#import "Api+Login.h"
|
#import "Api+Login.h"
|
||||||
///P
|
///P
|
||||||
#import "LoginProtocol.h"
|
#import "MewLoginProtocol.h"
|
||||||
#import "AccountModel.h"
|
#import "AccountModel.h"
|
||||||
|
|
||||||
@implementation LoginPresenter
|
@implementation MewLoginPresenter
|
||||||
|
|
||||||
#pragma mark - Super
|
#pragma mark - Super
|
||||||
- (id<LoginProtocol>)getView {
|
- (id<MewLoginProtocol>)getView {
|
||||||
return (id<LoginProtocol>)[super getView];
|
return (id<MewLoginProtocol>)[super getView];
|
||||||
}
|
}
|
||||||
|
|
||||||
#pragma mark - Public Method
|
#pragma mark - Public Method
|
||||||
/// 一键登录
|
/// 一键登录
|
||||||
- (void)phoneQuickLogin:(NSString *)accessToken token:(NSString *)token {
|
- (void)Mew_PhoneQuickLogin:(NSString *)accessToken token:(NSString *)token {
|
||||||
[Api phoneQuickLogin:[self createHttpCompletion:^(BaseModel * _Nonnull data) {
|
[Api Mew_PhoneQuickLogin:[self createHttpCompletion:^(BaseModel * _Nonnull data) {
|
||||||
|
|
||||||
}] accessToken:accessToken token:token];
|
}] accessToken:accessToken token:token];
|
||||||
}
|
}
|
||||||
|
|
||||||
/// 第三方登录
|
|
||||||
- (void)thirdLoginWithType:(ThirdLoginType)type {
|
|
||||||
|
|
||||||
}
|
|
||||||
|
|
||||||
- (void)thirdmew_loginWithApple:(NSString *)token unionId:(NSString *)unionId {
|
- (void)mew_thirdLoginWithApple:(NSString *)token unionId:(NSString *)unionId {
|
||||||
[Api loginWithThirdPart:[self createHttpCompletion:^(BaseModel * _Nonnull data) {
|
[Api Mew_LoginWithThirdPart:[self createHttpCompletion:^(BaseModel * _Nonnull data) {
|
||||||
AccountModel *model = [AccountModel mewModelWithDictionary:data.data];
|
AccountModel *model = [AccountModel mewModelWithDictionary:data.data];
|
||||||
if (model != nil) {
|
if (model != nil) {
|
||||||
[[AccountInfoStorage instance] saveAccountInfo:model];
|
[[AccountInfoStorage instance] saveAccountInfo:model];
|
@@ -1,5 +1,5 @@
|
|||||||
//
|
//
|
||||||
// LoginVerifBindPhonePresenter.h
|
// MewLoginVerifBindPhonePresenter.h
|
||||||
// yinmeng-ios
|
// yinmeng-ios
|
||||||
//
|
//
|
||||||
// Created by 触海 on 2023/11/22.
|
// Created by 触海 on 2023/11/22.
|
||||||
@@ -11,21 +11,21 @@
|
|||||||
|
|
||||||
NS_ASSUME_NONNULL_BEGIN
|
NS_ASSUME_NONNULL_BEGIN
|
||||||
|
|
||||||
@interface LoginVerifBindPhonePresenter : MainPresenter
|
@interface MewLoginVerifBindPhonePresenter : MainPresenter
|
||||||
/// 获取手机的验证码
|
/// 获取手机的验证码
|
||||||
/// @param phone 手机号
|
/// @param phone 手机号
|
||||||
/// @param type 类型
|
/// @param type 类型
|
||||||
- (void)phoneSmsCode:(NSString *)phone type:(GetSmsType)type;
|
- (void)mew_phoneSmsCode:(NSString *)phone type:(GetSmsType)type;
|
||||||
|
|
||||||
/// 校验手机验证码接口
|
/// 校验手机验证码接口
|
||||||
/// @param moblieNum 手机号码
|
/// @param moblieNum 手机号码
|
||||||
/// @param code 验证码
|
/// @param code 验证码
|
||||||
- (void)checkMoblieCodeWithMoblie:(NSString *)moblieNum code:(NSString *)code;
|
- (void)mew_checkMoblieCodeWithMoblie:(NSString *)moblieNum code:(NSString *)code;
|
||||||
|
|
||||||
/// 绑定手机验证码接口
|
/// 绑定手机验证码接口
|
||||||
/// @param moblieNum 手机号码
|
/// @param moblieNum 手机号码
|
||||||
/// @param code 验证码
|
/// @param code 验证码
|
||||||
- (void)bindkMoblieCodeWithMoblie:(NSString *)moblieNum code:(NSString *)code;
|
- (void)mew_bindkMoblieCodeWithMoblie:(NSString *)moblieNum code:(NSString *)code;
|
||||||
@end
|
@end
|
||||||
|
|
||||||
NS_ASSUME_NONNULL_END
|
NS_ASSUME_NONNULL_END
|
@@ -1,28 +1,29 @@
|
|||||||
//
|
//
|
||||||
// LoginVerifBindPhonePresenter.m
|
// MewLoginVerifBindPhonePresenter.m
|
||||||
// yinmeng-ios
|
// yinmeng-ios
|
||||||
//
|
//
|
||||||
// Created by 触海 on 2023/11/22.
|
// Created by 触海 on 2023/11/22.
|
||||||
//
|
//
|
||||||
|
|
||||||
#import "LoginVerifBindPhonePresenter.h"
|
#import "MewLoginVerifBindPhonePresenter.h"
|
||||||
#import "Api+Login.h"
|
#import "Api+Login.h"
|
||||||
///Tool
|
///Tool
|
||||||
#import "AccountInfoStorage.h"
|
#import "AccountInfoStorage.h"
|
||||||
#import "DESEncrypt.h"
|
#import "DESEncrypt.h"
|
||||||
#import "YMConstant.h"
|
#import "YMConstant.h"
|
||||||
///P
|
///P
|
||||||
#import "LoginVerifBindPhoneProtocol.h"
|
#import "MewLoginVerifBindPhoneProtocol.h"
|
||||||
|
|
||||||
@implementation LoginVerifBindPhonePresenter
|
@implementation MewLoginVerifBindPhonePresenter
|
||||||
|
|
||||||
/// 获取手机的验证码
|
/// 获取手机的验证码
|
||||||
/// @param phone 手机号
|
/// @param phone 手机号
|
||||||
/// @param type 类型
|
/// @param type 类型
|
||||||
- (void)phoneSmsCode:(NSString *)phone type:(GetSmsType)type {
|
- (void)mew_phoneSmsCode:(NSString *)phone type:(GetSmsType)type {
|
||||||
NSString * typeStr = [NSString stringWithFormat:@"%lu", (unsigned long)type];
|
NSString * typeStr = [NSString stringWithFormat:@"%lu", (unsigned long)type];
|
||||||
NSString * desPhone = [DESEncrypt encryptUseDES:phone key:KeyWithType(KeyType_PasswordEncode)];
|
NSString * desPhone = [DESEncrypt encryptUseDES:phone key:KeyWithType(KeyType_PasswordEncode)];
|
||||||
[Api phoneSmsCode:[self createHttpCompletion:^(BaseModel * _Nonnull data) {
|
[Api mew_phoneSmsCode:[self createHttpCompletion:^(BaseModel * _Nonnull data) {
|
||||||
|
|
||||||
[[self getView] mew_phoneSmsCodeSuccess];
|
[[self getView] mew_phoneSmsCodeSuccess];
|
||||||
}] mobile:desPhone type:typeStr];
|
}] mobile:desPhone type:typeStr];
|
||||||
}
|
}
|
||||||
@@ -31,23 +32,23 @@
|
|||||||
/// 校验手机验证码接口
|
/// 校验手机验证码接口
|
||||||
/// @param moblieNum 手机号码
|
/// @param moblieNum 手机号码
|
||||||
/// @param code 验证码
|
/// @param code 验证码
|
||||||
- (void)checkMoblieCodeWithMoblie:(NSString *)moblieNum code:(NSString *)code {
|
- (void)mew_checkMoblieCodeWithMoblie:(NSString *)moblieNum code:(NSString *)code {
|
||||||
NSString * uid = [[AccountInfoStorage instance] getUid];
|
NSString * uid = [[AccountInfoStorage instance] getUid];
|
||||||
NSString * ticket = [[AccountInfoStorage instance] getTicket];
|
NSString * ticket = [[AccountInfoStorage instance] getTicket];
|
||||||
NSString * desPhone = [DESEncrypt encryptUseDES:moblieNum key:KeyWithType(KeyType_PasswordEncode)];
|
NSString * desPhone = [DESEncrypt encryptUseDES:moblieNum key:KeyWithType(KeyType_PasswordEncode)];
|
||||||
// [Api checkMoblieCode:[self createHttpCompletion:^(BaseModel * _Nonnull data) {
|
// [Api checkMoblieCode:[self createHttpCompletion:^(BaseModel * _Nonnull data) {
|
||||||
// [[self getView] checkMoblieCodeWithMoblieSuccess];
|
// [[self getView] mew_checkMoblieCodeWithMoblieSuccess];
|
||||||
// }] mobile:desPhone code:code uid:uid ticket:ticket];
|
// }] mobile:desPhone code:code uid:uid ticket:ticket];
|
||||||
}
|
}
|
||||||
|
|
||||||
/// 绑定手机验证码接口
|
/// 绑定手机验证码接口
|
||||||
/// @param moblieNum 手机号码
|
/// @param moblieNum 手机号码
|
||||||
/// @param code 验证码
|
/// @param code 验证码
|
||||||
- (void)bindkMoblieCodeWithMoblie:(NSString *)moblieNum code:(NSString *)code {
|
- (void)mew_bindkMoblieCodeWithMoblie:(NSString *)moblieNum code:(NSString *)code {
|
||||||
NSString * ticket = [[AccountInfoStorage instance] getTicket];
|
NSString * ticket = [[AccountInfoStorage instance] getTicket];
|
||||||
NSString * desPhone = [DESEncrypt encryptUseDES:moblieNum key:KeyWithType(KeyType_PasswordEncode)];
|
NSString * desPhone = [DESEncrypt encryptUseDES:moblieNum key:KeyWithType(KeyType_PasswordEncode)];
|
||||||
[Api bindMoblieCode:[self createHttpCompletion:^(BaseModel * _Nonnull data) {
|
[Api Mew_BindMoblieCode:[self createHttpCompletion:^(BaseModel * _Nonnull data) {
|
||||||
[[self getView] bindMoblieCodeWithMoblieSuccess];
|
[[self getView] mew_bindMoblieCodeWithMoblieSuccess];
|
||||||
}] phone:desPhone code:code ticket:ticket];
|
}] phone:desPhone code:code ticket:ticket];
|
||||||
}
|
}
|
||||||
@end
|
@end
|
@@ -1,5 +1,5 @@
|
|||||||
//
|
//
|
||||||
// LoginVerifCodePresent.h
|
// MewLoginVerifCodePresent.h
|
||||||
// mew-ios
|
// mew-ios
|
||||||
//
|
//
|
||||||
// Created by 触海 on 2023/11/8.
|
// Created by 触海 on 2023/11/8.
|
||||||
@@ -10,22 +10,22 @@
|
|||||||
|
|
||||||
NS_ASSUME_NONNULL_BEGIN
|
NS_ASSUME_NONNULL_BEGIN
|
||||||
|
|
||||||
@interface LoginVerifCodePresent : BaseMvpPresenter
|
@interface MewLoginVerifCodePresent : BaseMvpPresenter
|
||||||
|
|
||||||
/// 获取手机的验证码
|
/// 获取手机的验证码
|
||||||
/// @param phone 手机号
|
/// @param phone 手机号
|
||||||
/// @param type 类型
|
/// @param type 类型
|
||||||
- (void)phoneSmsCode:(NSString *)phone type:(GetSmsType)type;
|
- (void)mew_phoneSmsCode:(NSString *)phone type:(GetSmsType)type;
|
||||||
|
|
||||||
/// 使用手机号和验证码登录
|
/// 使用手机号和验证码登录
|
||||||
/// @param phone 手机号
|
/// @param phone 手机号
|
||||||
/// @param code 验证码
|
/// @param code 验证码
|
||||||
- (void)loginWithPhone:(NSString *)phone code:(NSString *)code;
|
- (void)mew_loginWithPhone:(NSString *)phone code:(NSString *)code;
|
||||||
|
|
||||||
/// 绑定手机号
|
/// 绑定手机号
|
||||||
/// @param phone 手机号
|
/// @param phone 手机号
|
||||||
/// @param code 验证码
|
/// @param code 验证码
|
||||||
- (void)bindWithPhone:(NSString *)phone code:(NSString *)code;
|
- (void)mew_bindWithPhone:(NSString *)phone code:(NSString *)code;
|
||||||
|
|
||||||
|
|
||||||
|
|
@@ -1,36 +1,36 @@
|
|||||||
//
|
//
|
||||||
// LoginVerifCodePresent.m
|
// MewLoginVerifCodePresent.m
|
||||||
// mew-ios
|
// mew-ios
|
||||||
//
|
//
|
||||||
// Created by 触海 on 2023/11/8.
|
// Created by 触海 on 2023/11/8.
|
||||||
//
|
//
|
||||||
|
|
||||||
#import "LoginVerifCodePresent.h"
|
#import "MewLoginVerifCodePresent.h"
|
||||||
///Tool
|
///Tool
|
||||||
#import "AccountInfoStorage.h"
|
#import "AccountInfoStorage.h"
|
||||||
#import "Api+Login.h"
|
#import "Api+Login.h"
|
||||||
#import "DESEncrypt.h"
|
#import "DESEncrypt.h"
|
||||||
#import "YMConstant.h"
|
#import "YMConstant.h"
|
||||||
///Protocol
|
///Protocol
|
||||||
#import "LoginVerifCodeProtocol.h"
|
#import "MewLoginVerifCodeProtocol.h"
|
||||||
///Model
|
///Model
|
||||||
#import "AccountModel.h"
|
#import "AccountModel.h"
|
||||||
|
|
||||||
|
|
||||||
@implementation LoginVerifCodePresent
|
@implementation MewLoginVerifCodePresent
|
||||||
|
|
||||||
#pragma mark - Super
|
#pragma mark - Super
|
||||||
- (id)getView {
|
- (id)getView {
|
||||||
return (id<LoginVerifCodeProtocol>)[super getView];
|
return (id<MewLoginVerifCodeProtocol>)[super getView];
|
||||||
}
|
}
|
||||||
|
|
||||||
/// 获取手机的验证码
|
/// 获取手机的验证码
|
||||||
/// @param phone 手机号
|
/// @param phone 手机号
|
||||||
/// @param type 类型
|
/// @param type 类型
|
||||||
- (void)phoneSmsCode:(NSString *)phone type:(GetSmsType)type {
|
- (void)mew_phoneSmsCode:(NSString *)phone type:(GetSmsType)type {
|
||||||
NSString *desPhone = [DESEncrypt encryptUseDES:phone key:KeyWithType(KeyType_PasswordEncode)];
|
NSString *desPhone = [DESEncrypt encryptUseDES:phone key:KeyWithType(KeyType_PasswordEncode)];
|
||||||
|
|
||||||
[Api phoneSmsCode:[self createHttpCompletion:^(BaseModel * _Nonnull data) {
|
[Api mew_phoneSmsCode:[self createHttpCompletion:^(BaseModel * _Nonnull data) {
|
||||||
[[self getView] mew_phoneSmsCodeSuccess];
|
[[self getView] mew_phoneSmsCodeSuccess];
|
||||||
}] mobile:desPhone type:[NSString stringWithFormat:@"%lu", (unsigned long)type]];
|
}] mobile:desPhone type:[NSString stringWithFormat:@"%lu", (unsigned long)type]];
|
||||||
}
|
}
|
||||||
@@ -38,9 +38,9 @@
|
|||||||
/// 使用手机号和验证码登录
|
/// 使用手机号和验证码登录
|
||||||
/// @param phone 手机号
|
/// @param phone 手机号
|
||||||
/// @param code 验证码
|
/// @param code 验证码
|
||||||
- (void)loginWithPhone:(NSString *)phone code:(NSString *)code {
|
- (void)mew_loginWithPhone:(NSString *)phone code:(NSString *)code {
|
||||||
NSString *desPhone = [DESEncrypt encryptUseDES:phone key:KeyWithType(KeyType_PasswordEncode)];
|
NSString *desPhone = [DESEncrypt encryptUseDES:phone key:KeyWithType(KeyType_PasswordEncode)];
|
||||||
[Api loginWithCode:[self createHttpCompletion:^(BaseModel * _Nonnull data) {
|
[Api Mew_LoginWithCode:[self createHttpCompletion:^(BaseModel * _Nonnull data) {
|
||||||
AccountModel *accountModel = [AccountModel mewModelWithDictionary:data.data];
|
AccountModel *accountModel = [AccountModel mewModelWithDictionary:data.data];
|
||||||
if (accountModel && accountModel.access_token.length > 0) {
|
if (accountModel && accountModel.access_token.length > 0) {
|
||||||
[[AccountInfoStorage instance] saveAccountInfo:accountModel];
|
[[AccountInfoStorage instance] saveAccountInfo:accountModel];
|
||||||
@@ -54,10 +54,10 @@
|
|||||||
/// 绑定手机号
|
/// 绑定手机号
|
||||||
/// @param phone 手机号
|
/// @param phone 手机号
|
||||||
/// @param code 验证码
|
/// @param code 验证码
|
||||||
- (void)bindWithPhone:(NSString *)phone code:(NSString *)code {
|
- (void)mew_bindWithPhone:(NSString *)phone code:(NSString *)code {
|
||||||
NSString *ticket = [[AccountInfoStorage instance] getTicket];
|
NSString *ticket = [[AccountInfoStorage instance] getTicket];
|
||||||
NSString * desPhone = [DESEncrypt encryptUseDES:phone key:KeyWithType(KeyType_PasswordEncode)];
|
NSString * desPhone = [DESEncrypt encryptUseDES:phone key:KeyWithType(KeyType_PasswordEncode)];
|
||||||
[Api bindMoblieCode:[self createHttpCompletion:^(BaseModel * _Nonnull data) {
|
[Api Mew_BindMoblieCode:[self createHttpCompletion:^(BaseModel * _Nonnull data) {
|
||||||
[[self getView] mew_bindWithPhoneSuccess];
|
[[self getView] mew_bindWithPhoneSuccess];
|
||||||
} showLoading:YES] phone:desPhone code:code ticket:ticket];
|
} showLoading:YES] phone:desPhone code:code ticket:ticket];
|
||||||
|
|
@@ -13,13 +13,13 @@ NS_ASSUME_NONNULL_BEGIN
|
|||||||
/// 设置登录密码
|
/// 设置登录密码
|
||||||
/// @param phone 手机号
|
/// @param phone 手机号
|
||||||
/// @param newPwd 密码
|
/// @param newPwd 密码
|
||||||
- (void)setLoginPassword:(NSString *)phone newPwd:(NSString *)newPwd;
|
- (void)mew_setLoginPassword:(NSString *)phone newPwd:(NSString *)newPwd;
|
||||||
|
|
||||||
/// 修改登录密码
|
/// 修改登录密码
|
||||||
/// @param phone 手机号
|
/// @param phone 手机号
|
||||||
/// @param newPwd 新密码
|
/// @param newPwd 新密码
|
||||||
/// @param pwd 旧密码
|
/// @param pwd 旧密码
|
||||||
- (void)modifyLoginPassword:(NSString *)phone newPwd:(NSString *)newPwd pwd:(NSString *)pwd;
|
- (void)mew_modifyLoginPassword:(NSString *)phone newPwd:(NSString *)newPwd pwd:(NSString *)pwd;
|
||||||
@end
|
@end
|
||||||
|
|
||||||
NS_ASSUME_NONNULL_END
|
NS_ASSUME_NONNULL_END
|
||||||
|
@@ -17,11 +17,11 @@
|
|||||||
/// 设置登录密码
|
/// 设置登录密码
|
||||||
/// @param phone 手机号
|
/// @param phone 手机号
|
||||||
/// @param newPwd 密码
|
/// @param newPwd 密码
|
||||||
- (void)setLoginPassword:(NSString *)phone newPwd:(NSString *)newPwd {
|
- (void)mew_setLoginPassword:(NSString *)phone newPwd:(NSString *)newPwd {
|
||||||
NSString * desNewPwd = [DESEncrypt encryptUseDES:newPwd key:KeyWithType(KeyType_PasswordEncode)];
|
NSString * desNewPwd = [DESEncrypt encryptUseDES:newPwd key:KeyWithType(KeyType_PasswordEncode)];
|
||||||
NSString * desPhone = [DESEncrypt encryptUseDES:phone key:KeyWithType(KeyType_PasswordEncode)];
|
NSString * desPhone = [DESEncrypt encryptUseDES:phone key:KeyWithType(KeyType_PasswordEncode)];
|
||||||
[Api setLoingPassword:[self createHttpCompletion:^(BaseModel * _Nonnull data) {
|
[Api Mew_SetLoingPassword:[self createHttpCompletion:^(BaseModel * _Nonnull data) {
|
||||||
[[self getView] setLoginPasswordSuccess];
|
[[self getView] mew_setLoginPasswordSuccess];
|
||||||
} showLoading:YES] phone:desPhone newPwd:desNewPwd];
|
} showLoading:YES] phone:desPhone newPwd:desNewPwd];
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -30,12 +30,12 @@
|
|||||||
/// @param phone 手机号
|
/// @param phone 手机号
|
||||||
/// @param newPwd 新密码
|
/// @param newPwd 新密码
|
||||||
/// @param pwd 旧密码
|
/// @param pwd 旧密码
|
||||||
- (void)modifyLoginPassword:(NSString *)phone newPwd:(NSString *)newPwd pwd:(NSString *)pwd{
|
- (void)mew_modifyLoginPassword:(NSString *)phone newPwd:(NSString *)newPwd pwd:(NSString *)pwd{
|
||||||
NSString * desNewPwd = [DESEncrypt encryptUseDES:newPwd key:KeyWithType(KeyType_PasswordEncode)];
|
NSString * desNewPwd = [DESEncrypt encryptUseDES:newPwd key:KeyWithType(KeyType_PasswordEncode)];
|
||||||
NSString * desPhone = [DESEncrypt encryptUseDES:phone key:KeyWithType(KeyType_PasswordEncode)];
|
NSString * desPhone = [DESEncrypt encryptUseDES:phone key:KeyWithType(KeyType_PasswordEncode)];
|
||||||
NSString * desPwd = [DESEncrypt encryptUseDES:pwd key:KeyWithType(KeyType_PasswordEncode)];
|
NSString * desPwd = [DESEncrypt encryptUseDES:pwd key:KeyWithType(KeyType_PasswordEncode)];
|
||||||
[Api modifyLoingPassword:[self createHttpCompletion:^(BaseModel * _Nonnull data) {
|
[Api Mew_ModifyLoingPassword:[self createHttpCompletion:^(BaseModel * _Nonnull data) {
|
||||||
[[self getView] modifyLoginPasswordSuccess];
|
[[self getView] mew_modifyLoginPasswordSuccess];
|
||||||
}] phone:desPhone newPwd:desNewPwd pwd:desPwd];
|
}] phone:desPhone newPwd:desNewPwd pwd:desPwd];
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@@ -1,5 +1,5 @@
|
|||||||
//
|
//
|
||||||
// LoginForgetPasswordProtocol.h
|
// MewLoginForgetPasswordProtocol.h
|
||||||
// mew-ios
|
// mew-ios
|
||||||
//
|
//
|
||||||
// Created by 触海 on 2023/11/9.
|
// Created by 触海 on 2023/11/9.
|
||||||
@@ -9,12 +9,12 @@
|
|||||||
|
|
||||||
NS_ASSUME_NONNULL_BEGIN
|
NS_ASSUME_NONNULL_BEGIN
|
||||||
|
|
||||||
@protocol LoginForgetPasswordProtocol <NSObject>
|
@protocol MewLoginForgetPasswordProtocol <NSObject>
|
||||||
|
|
||||||
///请求手机号的验证码成功
|
///请求手机号的验证码成功
|
||||||
- (void)mew_phoneSmsCodeSuccess;
|
- (void)mew_phoneSmsCodeSuccess;
|
||||||
///重置密码成功
|
///重置密码成功
|
||||||
- (void)resetPasswrodSuccess;
|
- (void)mew_resetPasswrodSuccess;
|
||||||
|
|
||||||
@end
|
@end
|
||||||
|
|
@@ -1,5 +1,5 @@
|
|||||||
//
|
//
|
||||||
// LoginFullInfoProtocol.h
|
// MewLoginFullInfoProtocol.h
|
||||||
// mew-ios
|
// mew-ios
|
||||||
//
|
//
|
||||||
// Created by 触海 on 2023/11/6.
|
// Created by 触海 on 2023/11/6.
|
||||||
@@ -9,12 +9,12 @@
|
|||||||
|
|
||||||
NS_ASSUME_NONNULL_BEGIN
|
NS_ASSUME_NONNULL_BEGIN
|
||||||
|
|
||||||
@protocol LoginFullInfoProtocol <NSObject>
|
@protocol MewLoginFullInfoProtocol <NSObject>
|
||||||
|
|
||||||
///随机请求一个昵称
|
///随机请求一个昵称
|
||||||
- (void)requestRandomNickSuccess:(NSString *)nick;
|
- (void)mew_requestRandomNickSuccess:(NSString *)nick;
|
||||||
///补全资料成功
|
///补全资料成功
|
||||||
- (void)complementInfoSuccess;
|
- (void)mew_complementInfoSuccess;
|
||||||
|
|
||||||
@end
|
@end
|
||||||
|
|
@@ -9,7 +9,7 @@
|
|||||||
|
|
||||||
NS_ASSUME_NONNULL_BEGIN
|
NS_ASSUME_NONNULL_BEGIN
|
||||||
|
|
||||||
@protocol LoginPasswordProtocol <NSObject>
|
@protocol MewLoginPasswordProtocol <NSObject>
|
||||||
///手机号密码登录成功
|
///手机号密码登录成功
|
||||||
- (void)mew_phoneAndPasswordLoginSuccess;
|
- (void)mew_phoneAndPasswordLoginSuccess;
|
||||||
///手机号密码登录失败
|
///手机号密码登录失败
|
@@ -1,5 +1,5 @@
|
|||||||
//
|
//
|
||||||
// LoginProtocol.h
|
// MewLoginProtocol.h
|
||||||
// mew-ios
|
// mew-ios
|
||||||
//
|
//
|
||||||
// Created by 触海 on 2023/11/6.
|
// Created by 触海 on 2023/11/6.
|
||||||
@@ -9,7 +9,7 @@
|
|||||||
|
|
||||||
NS_ASSUME_NONNULL_BEGIN
|
NS_ASSUME_NONNULL_BEGIN
|
||||||
|
|
||||||
@protocol LoginProtocol <NSObject>
|
@protocol MewLoginProtocol <NSObject>
|
||||||
|
|
||||||
- (void)mew_loginSuccess;
|
- (void)mew_loginSuccess;
|
||||||
|
|
@@ -1,5 +1,5 @@
|
|||||||
//
|
//
|
||||||
// LoginVerifBindPhoneProtocol.h
|
// MewLoginVerifBindPhoneProtocol.h
|
||||||
// yinmeng-ios
|
// yinmeng-ios
|
||||||
//
|
//
|
||||||
// Created by 触海 on 2023/11/22.
|
// Created by 触海 on 2023/11/22.
|
||||||
@@ -9,13 +9,13 @@
|
|||||||
|
|
||||||
NS_ASSUME_NONNULL_BEGIN
|
NS_ASSUME_NONNULL_BEGIN
|
||||||
|
|
||||||
@protocol LoginVerifBindPhoneProtocol <NSObject>
|
@protocol MewLoginVerifBindPhoneProtocol <NSObject>
|
||||||
///请求手机号的验证码成功
|
///请求手机号的验证码成功
|
||||||
- (void)mew_phoneSmsCodeSuccess;
|
- (void)mew_phoneSmsCodeSuccess;
|
||||||
///绑定手机号成功
|
///绑定手机号成功
|
||||||
- (void)bindMoblieCodeWithMoblieSuccess;
|
- (void)mew_bindMoblieCodeWithMoblieSuccess;
|
||||||
///验证绑定手机成功
|
///验证绑定手机成功
|
||||||
- (void)checkMoblieCodeWithMoblieSuccess;
|
- (void)mew_checkMoblieCodeWithMoblieSuccess;
|
||||||
@end
|
@end
|
||||||
|
|
||||||
NS_ASSUME_NONNULL_END
|
NS_ASSUME_NONNULL_END
|
@@ -1,5 +1,5 @@
|
|||||||
//
|
//
|
||||||
// LoginVerifCodeProtocol.h
|
// MewLoginVerifCodeProtocol.h
|
||||||
// mew-ios
|
// mew-ios
|
||||||
//
|
//
|
||||||
// Created by 触海 on 2023/11/8.
|
// Created by 触海 on 2023/11/8.
|
||||||
@@ -9,7 +9,7 @@
|
|||||||
|
|
||||||
NS_ASSUME_NONNULL_BEGIN
|
NS_ASSUME_NONNULL_BEGIN
|
||||||
|
|
||||||
@protocol LoginVerifCodeProtocol <NSObject>
|
@protocol MewLoginVerifCodeProtocol <NSObject>
|
||||||
|
|
||||||
/// 获取手机验证码成功
|
/// 获取手机验证码成功
|
||||||
- (void)mew_phoneSmsCodeSuccess;
|
- (void)mew_phoneSmsCodeSuccess;
|
@@ -1,5 +1,5 @@
|
|||||||
//
|
//
|
||||||
// MineLoginPasswordProtocol.h
|
// MineMewLoginPasswordProtocol.h
|
||||||
// yinmeng-ios
|
// yinmeng-ios
|
||||||
//
|
//
|
||||||
// Created by 触海 on 2023/11/22.
|
// Created by 触海 on 2023/11/22.
|
||||||
@@ -11,8 +11,8 @@ NS_ASSUME_NONNULL_BEGIN
|
|||||||
|
|
||||||
@protocol MineLoginPasswordProtocol <NSObject>
|
@protocol MineLoginPasswordProtocol <NSObject>
|
||||||
|
|
||||||
- (void)modifyLoginPasswordSuccess;
|
- (void)mew_modifyLoginPasswordSuccess;
|
||||||
- (void)setLoginPasswordSuccess;
|
- (void)mew_setLoginPasswordSuccess;
|
||||||
|
|
||||||
@end
|
@end
|
||||||
|
|
||||||
|
@@ -1,5 +1,5 @@
|
|||||||
//
|
//
|
||||||
// LoginForgetEditView.h
|
// MewLoginForgetEditView.h
|
||||||
// mew-ios
|
// mew-ios
|
||||||
//
|
//
|
||||||
// Created by 触海 on 2023/11/9.
|
// Created by 触海 on 2023/11/9.
|
||||||
@@ -10,12 +10,12 @@
|
|||||||
NS_ASSUME_NONNULL_BEGIN
|
NS_ASSUME_NONNULL_BEGIN
|
||||||
|
|
||||||
typedef enum : NSUInteger {
|
typedef enum : NSUInteger {
|
||||||
LoginForgetEditViewTypeNormal, // 普通类型
|
MewLoginForgetEditViewTypeNormal, // 普通类型
|
||||||
LoginForgetEditViewTypeSms, // 短信验证码类型
|
MewLoginForgetEditViewTypeSms, // 短信验证码类型
|
||||||
LoginForgetEditViewTypePassword, ///密码
|
MewLoginForgetEditViewTypePassword, ///密码
|
||||||
} LoginForgetEditViewType;
|
} MewLoginForgetEditViewType;
|
||||||
|
|
||||||
@interface LoginForgetEditView : UIView
|
@interface MewLoginForgetEditView : UIView
|
||||||
|
|
||||||
/** textField */
|
/** textField */
|
||||||
@property (nonatomic, strong, readonly) UITextField *textField;
|
@property (nonatomic, strong, readonly) UITextField *textField;
|
||||||
@@ -24,7 +24,7 @@ typedef enum : NSUInteger {
|
|||||||
/** 验证码 */
|
/** 验证码 */
|
||||||
@property (nonatomic, strong, readonly) UIButton *authCodeButton;
|
@property (nonatomic, strong, readonly) UIButton *authCodeButton;
|
||||||
///类型
|
///类型
|
||||||
@property (nonatomic, assign) LoginForgetEditViewType type;
|
@property (nonatomic, assign) MewLoginForgetEditViewType type;
|
||||||
///展位图
|
///展位图
|
||||||
@property (nonatomic,copy) NSString *placeholder;
|
@property (nonatomic,copy) NSString *placeholder;
|
||||||
|
|
@@ -1,17 +1,17 @@
|
|||||||
//
|
//
|
||||||
// LoginForgetEditView.m
|
// MewLoginForgetEditView.m
|
||||||
// mew-ios
|
// mew-ios
|
||||||
//
|
//
|
||||||
// Created by 触海 on 2023/11/9.
|
// Created by 触海 on 2023/11/9.
|
||||||
//
|
//
|
||||||
|
|
||||||
#import "LoginForgetEditView.h"
|
#import "MewLoginForgetEditView.h"
|
||||||
///第三方
|
///第三方
|
||||||
#import <Masonry/Masonry.h>
|
#import <Masonry/Masonry.h>
|
||||||
///Tool
|
///Tool
|
||||||
#import "MEWThemeColor.h"
|
#import "MEWThemeColor.h"
|
||||||
|
|
||||||
@interface LoginForgetEditView()
|
@interface MewLoginForgetEditView()
|
||||||
///
|
///
|
||||||
@property (nonatomic,strong) UIStackView *stackView;
|
@property (nonatomic,strong) UIStackView *stackView;
|
||||||
/** textField */
|
/** textField */
|
||||||
@@ -24,7 +24,7 @@
|
|||||||
@property (nonatomic, strong) UIButton *authCodeButton;
|
@property (nonatomic, strong) UIButton *authCodeButton;
|
||||||
@end
|
@end
|
||||||
|
|
||||||
@implementation LoginForgetEditView
|
@implementation MewLoginForgetEditView
|
||||||
|
|
||||||
#pragma mark - life cycle
|
#pragma mark - life cycle
|
||||||
- (instancetype)initWithFrame:(CGRect)frame {
|
- (instancetype)initWithFrame:(CGRect)frame {
|
||||||
@@ -62,17 +62,17 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
#pragma mark - getters and setters
|
#pragma mark - getters and setters
|
||||||
- (void)setType:(LoginForgetEditViewType)type {
|
- (void)setType:(MewLoginForgetEditViewType)type {
|
||||||
switch (type) {
|
switch (type) {
|
||||||
case LoginForgetEditViewTypeNormal:
|
case MewLoginForgetEditViewTypeNormal:
|
||||||
self.rightButton.hidden = YES;
|
self.rightButton.hidden = YES;
|
||||||
self.authCodeButton.hidden = YES;
|
self.authCodeButton.hidden = YES;
|
||||||
break;
|
break;
|
||||||
case LoginForgetEditViewTypeSms:
|
case MewLoginForgetEditViewTypeSms:
|
||||||
self.authCodeButton.hidden = NO;
|
self.authCodeButton.hidden = NO;
|
||||||
self.rightButton.hidden = YES;
|
self.rightButton.hidden = YES;
|
||||||
break;
|
break;
|
||||||
case LoginForgetEditViewTypePassword:
|
case MewLoginForgetEditViewTypePassword:
|
||||||
self.authCodeButton.hidden = YES;
|
self.authCodeButton.hidden = YES;
|
||||||
self.rightButton.hidden = NO;
|
self.rightButton.hidden = NO;
|
||||||
break;
|
break;
|
@@ -1,5 +1,5 @@
|
|||||||
//
|
//
|
||||||
// LoginInputView.h
|
// MewLoginInputView.h
|
||||||
// mew-ios
|
// mew-ios
|
||||||
//
|
//
|
||||||
// Created by 触海 on 2023/11/7.
|
// Created by 触海 on 2023/11/7.
|
||||||
@@ -10,7 +10,7 @@
|
|||||||
|
|
||||||
NS_ASSUME_NONNULL_BEGIN
|
NS_ASSUME_NONNULL_BEGIN
|
||||||
|
|
||||||
@interface LoginInputView : UIView
|
@interface MewLoginInputView : UIView
|
||||||
///输入框
|
///输入框
|
||||||
@property (nonatomic,strong, readonly) UITextField *textField;
|
@property (nonatomic,strong, readonly) UITextField *textField;
|
||||||
///分割线
|
///分割线
|
@@ -1,18 +1,18 @@
|
|||||||
//
|
//
|
||||||
// LoginInputView.m
|
// MewLoginInputView.m
|
||||||
// mew-ios
|
// mew-ios
|
||||||
//
|
//
|
||||||
// Created by 触海 on 2023/11/7.
|
// Created by 触海 on 2023/11/7.
|
||||||
//
|
//
|
||||||
|
|
||||||
#import "LoginInputView.h"
|
#import "MewLoginInputView.h"
|
||||||
///Third
|
///Third
|
||||||
#import <Masonry/Masonry.h>
|
#import <Masonry/Masonry.h>
|
||||||
///Tool
|
///Tool
|
||||||
#import "MEWThemeColor.h"
|
#import "MEWThemeColor.h"
|
||||||
|
|
||||||
|
|
||||||
@interface LoginInputView()<UITextFieldDelegate>
|
@interface MewLoginInputView()<UITextFieldDelegate>
|
||||||
///容器
|
///容器
|
||||||
@property (nonatomic,strong) UIStackView *stackView;
|
@property (nonatomic,strong) UIStackView *stackView;
|
||||||
///分割线
|
///分割线
|
||||||
@@ -23,7 +23,7 @@
|
|||||||
@property (nonatomic,strong) UITextField *textField;
|
@property (nonatomic,strong) UITextField *textField;
|
||||||
@end
|
@end
|
||||||
|
|
||||||
@implementation LoginInputView
|
@implementation MewLoginInputView
|
||||||
- (instancetype)initWithFrame:(CGRect)frame {
|
- (instancetype)initWithFrame:(CGRect)frame {
|
||||||
self = [super initWithFrame:frame];
|
self = [super initWithFrame:frame];
|
||||||
if (self) {
|
if (self) {
|
@@ -1,16 +0,0 @@
|
|||||||
//
|
|
||||||
// LoginBindPhoneResultViewController.h
|
|
||||||
// yinmeng-ios
|
|
||||||
//
|
|
||||||
// Created by 触海 on 2023/11/22.
|
|
||||||
//
|
|
||||||
|
|
||||||
#import "BaseViewController.h"
|
|
||||||
@class UserInfoModel;
|
|
||||||
NS_ASSUME_NONNULL_BEGIN
|
|
||||||
|
|
||||||
@interface LoginBindPhoneResultViewController : BaseViewController
|
|
||||||
@property (nonatomic, strong) UserInfoModel *userInfo;
|
|
||||||
@end
|
|
||||||
|
|
||||||
NS_ASSUME_NONNULL_END
|
|
@@ -1,29 +0,0 @@
|
|||||||
//
|
|
||||||
// LoginVerifBindPhoneViewController.h
|
|
||||||
// yinmeng-ios
|
|
||||||
//
|
|
||||||
// Created by 触海 on 2023/11/22.
|
|
||||||
//
|
|
||||||
|
|
||||||
#import "MvpViewController.h"
|
|
||||||
@class UserInfoModel;
|
|
||||||
/**
|
|
||||||
手机号绑定的类型
|
|
||||||
- TTBindingPhoneNumTypeNormal: 普通状态,首次绑定
|
|
||||||
- TTBindingPhoneNumTypeConfirm : 验证状态:验证已绑定的手机
|
|
||||||
*/
|
|
||||||
typedef NS_ENUM(NSUInteger, TTBindingPhoneNumType) {
|
|
||||||
XPBindingPhoneNumTypeNormal = 0,
|
|
||||||
XPBindingPhoneNumTypeEdit = 1,
|
|
||||||
XPBindingPhoneNumTypeConfirm = 2,
|
|
||||||
};
|
|
||||||
|
|
||||||
NS_ASSUME_NONNULL_BEGIN
|
|
||||||
|
|
||||||
@interface LoginVerifBindPhoneViewController : MvpViewController
|
|
||||||
@property (nonatomic, assign) TTBindingPhoneNumType bindingPhoneNumType;
|
|
||||||
///用户信息
|
|
||||||
@property (nonatomic, strong) UserInfoModel *userInfo;
|
|
||||||
@end
|
|
||||||
|
|
||||||
NS_ASSUME_NONNULL_END
|
|
@@ -1,5 +1,5 @@
|
|||||||
//
|
//
|
||||||
// LoginBindPhoneViewController.h
|
// MewLoginBindPhoneViewController.h
|
||||||
// yinmeng-ios
|
// yinmeng-ios
|
||||||
//
|
//
|
||||||
// Created by 触海 on 2023/11/22.
|
// Created by 触海 on 2023/11/22.
|
||||||
@@ -9,7 +9,7 @@
|
|||||||
|
|
||||||
NS_ASSUME_NONNULL_BEGIN
|
NS_ASSUME_NONNULL_BEGIN
|
||||||
|
|
||||||
@interface LoginBindPhoneViewController : MvpViewController
|
@interface MewLoginBindPhoneViewController : MvpViewController
|
||||||
|
|
||||||
@end
|
@end
|
||||||
|
|
@@ -1,11 +1,11 @@
|
|||||||
//
|
//
|
||||||
// LoginBindPhoneViewController.m
|
// MewLoginBindPhoneViewController.m
|
||||||
// yinmeng-ios
|
// yinmeng-ios
|
||||||
//
|
//
|
||||||
// Created by 触海 on 2023/11/22.
|
// Created by 触海 on 2023/11/22.
|
||||||
//
|
//
|
||||||
|
|
||||||
#import "LoginBindPhoneViewController.h"
|
#import "MewLoginBindPhoneViewController.h"
|
||||||
///Third
|
///Third
|
||||||
#import <Masonry/Masonry.h>
|
#import <Masonry/Masonry.h>
|
||||||
#import <ReactiveObjC/ReactiveObjC.h>
|
#import <ReactiveObjC/ReactiveObjC.h>
|
||||||
@@ -15,11 +15,11 @@
|
|||||||
|
|
||||||
//#import "NSString+Utils.h"
|
//#import "NSString+Utils.h"
|
||||||
///Tool
|
///Tool
|
||||||
#import "LoginBindPhonePresent.h"
|
#import "MewLoginBindPhonePresent.h"
|
||||||
///VC
|
///VC
|
||||||
//#import "LoginVerifCodeViewController.h"
|
//#import "LoginVerifCodeViewController.h"
|
||||||
|
|
||||||
@interface LoginBindPhoneViewController ()
|
@interface MewLoginBindPhoneViewController ()
|
||||||
///提示Label
|
///提示Label
|
||||||
@property (nonatomic, strong) UILabel *titleLabel;
|
@property (nonatomic, strong) UILabel *titleLabel;
|
||||||
/// 手机号输入框背景
|
/// 手机号输入框背景
|
||||||
@@ -34,13 +34,13 @@
|
|||||||
@property (nonatomic,strong) UIButton *backButton;
|
@property (nonatomic,strong) UIButton *backButton;
|
||||||
@end
|
@end
|
||||||
|
|
||||||
@implementation LoginBindPhoneViewController
|
@implementation MewLoginBindPhoneViewController
|
||||||
- (BOOL)mew_isHiddenNavBar {
|
- (BOOL)mew_isHiddenNavBar {
|
||||||
return YES;
|
return YES;
|
||||||
}
|
}
|
||||||
#pragma mark - life cycle
|
#pragma mark - life cycle
|
||||||
- (LoginBindPhonePresent *)createPresenter {
|
- (MewLoginBindPhonePresent *)createPresenter {
|
||||||
return [[LoginBindPhonePresent alloc] init];
|
return [[MewLoginBindPhonePresent alloc] init];
|
||||||
}
|
}
|
||||||
|
|
||||||
- (void)viewDidLoad {
|
- (void)viewDidLoad {
|
||||||
@@ -115,33 +115,6 @@
|
|||||||
self.loginBtn.enabled = [enable boolValue];
|
self.loginBtn.enabled = [enable boolValue];
|
||||||
}];
|
}];
|
||||||
|
|
||||||
|
|
||||||
// [[[[self.loginBtn rac_signalForControlEvents:UIControlEventTouchUpInside] doNext:^(id x) {
|
|
||||||
// @strongify(self)
|
|
||||||
// self.loginBtn.enabled = NO;
|
|
||||||
// }] flattenMap:^id (id value) {
|
|
||||||
// return [RACSignal createSignal:^RACDisposable *(id<RACSubscriber> subscriber) {
|
|
||||||
// if (!self.phoneTextField.text.isPhoneNumber) {
|
|
||||||
// [self showErrorToast:@"手机格式不正确"];
|
|
||||||
// [subscriber sendNext:@(NO)];
|
|
||||||
// }else {
|
|
||||||
// [subscriber sendNext:@(YES)];
|
|
||||||
// }
|
|
||||||
// [subscriber sendCompleted];
|
|
||||||
// return nil;
|
|
||||||
// }];
|
|
||||||
// }] subscribeNext:^(NSNumber *signedIn) {
|
|
||||||
// @strongify(self)
|
|
||||||
// self.loginBtn.enabled = YES;
|
|
||||||
// BOOL success = [signedIn boolValue];
|
|
||||||
// if (success) {
|
|
||||||
// //跳转去验证码页面
|
|
||||||
// LoginVerifCodeViewController *codeVC = [[LoginVerifCodeViewController alloc] init];
|
|
||||||
// codeVC.phone = self.phoneTextField.text;
|
|
||||||
// codeVC.type = VerifCodeType_BindPhone;
|
|
||||||
// [self.navigationController pushViewController:codeVC animated:YES];
|
|
||||||
// }
|
|
||||||
// }];
|
|
||||||
}
|
}
|
||||||
|
|
||||||
#pragma mark - Event Response
|
#pragma mark - Event Response
|
@@ -1,5 +1,5 @@
|
|||||||
//
|
//
|
||||||
// LoginForgetPasswordViewController.h
|
// MewLoginForgetPasswordViewController.h
|
||||||
// mew-ios
|
// mew-ios
|
||||||
//
|
//
|
||||||
// Created by 触海 on 2023/11/9.
|
// Created by 触海 on 2023/11/9.
|
||||||
@@ -9,7 +9,7 @@
|
|||||||
|
|
||||||
NS_ASSUME_NONNULL_BEGIN
|
NS_ASSUME_NONNULL_BEGIN
|
||||||
|
|
||||||
@interface LoginForgetPasswordViewController : MvpViewController
|
@interface MewLoginForgetPasswordViewController : MvpViewController
|
||||||
|
|
||||||
@end
|
@end
|
||||||
|
|
@@ -1,16 +1,16 @@
|
|||||||
//
|
//
|
||||||
// LoginForgetPasswordViewController.m
|
// MewLoginForgetPasswordViewController.m
|
||||||
// mew-ios
|
// mew-ios
|
||||||
//
|
//
|
||||||
// Created by 触海 on 2023/11/9.
|
// Created by 触海 on 2023/11/9.
|
||||||
//
|
//
|
||||||
|
|
||||||
#import "LoginForgetPasswordViewController.h"
|
#import "MewLoginForgetPasswordViewController.h"
|
||||||
///View
|
///View
|
||||||
#import "LoginForgetEditView.h"
|
#import "MewLoginForgetEditView.h"
|
||||||
///Presenter
|
///Presenter
|
||||||
#import "LoginForgetPasswordPresent.h"
|
#import "MewLoginForgetPasswordPresent.h"
|
||||||
#import "LoginForgetPasswordProtocol.h"
|
#import "MewLoginForgetPasswordProtocol.h"
|
||||||
///第三方
|
///第三方
|
||||||
#import <Masonry/Masonry.h>
|
#import <Masonry/Masonry.h>
|
||||||
#import <ReactiveObjC/ReactiveObjC.h>
|
#import <ReactiveObjC/ReactiveObjC.h>
|
||||||
@@ -21,16 +21,16 @@
|
|||||||
#import "UIImage+Utils.h"
|
#import "UIImage+Utils.h"
|
||||||
|
|
||||||
|
|
||||||
@interface LoginForgetPasswordViewController ()<LoginForgetPasswordProtocol, MEWCountDownHelperDelegate>
|
@interface MewLoginForgetPasswordViewController ()<MewLoginForgetPasswordProtocol, MEWCountDownHelperDelegate>
|
||||||
@property (nonatomic, strong) UIImageView *bgImageView;
|
@property (nonatomic, strong) UIImageView *bgImageView;
|
||||||
///容器
|
///容器
|
||||||
@property (nonatomic,strong) UIStackView *stackView;
|
@property (nonatomic,strong) UIStackView *stackView;
|
||||||
///手机号
|
///手机号
|
||||||
@property (nonatomic,strong) LoginForgetEditView *phoneView;
|
@property (nonatomic,strong) MewLoginForgetEditView *phoneView;
|
||||||
///验证码
|
///验证码
|
||||||
@property (nonatomic,strong) LoginForgetEditView *codeView;
|
@property (nonatomic,strong) MewLoginForgetEditView *codeView;
|
||||||
///密码
|
///密码
|
||||||
@property (nonatomic,strong) LoginForgetEditView *passwordView;
|
@property (nonatomic,strong) MewLoginForgetEditView *passwordView;
|
||||||
///完成
|
///完成
|
||||||
@property (nonatomic,strong) UIButton *finishButton;
|
@property (nonatomic,strong) UIButton *finishButton;
|
||||||
@property (nonatomic, strong) UILabel *titleLabel;
|
@property (nonatomic, strong) UILabel *titleLabel;
|
||||||
@@ -39,10 +39,10 @@
|
|||||||
|
|
||||||
@end
|
@end
|
||||||
|
|
||||||
@implementation LoginForgetPasswordViewController
|
@implementation MewLoginForgetPasswordViewController
|
||||||
|
|
||||||
- (LoginForgetPasswordPresent *)createPresenter {
|
- (MewLoginForgetPasswordPresent *)createPresenter {
|
||||||
return [[LoginForgetPasswordPresent alloc] init];
|
return [[MewLoginForgetPasswordPresent alloc] init];
|
||||||
}
|
}
|
||||||
|
|
||||||
- (void)dealloc {
|
- (void)dealloc {
|
||||||
@@ -58,7 +58,7 @@
|
|||||||
[super viewDidLoad];
|
[super viewDidLoad];
|
||||||
[self mew_initSubViews];
|
[self mew_initSubViews];
|
||||||
[self mew_initSubViewConstraints];
|
[self mew_initSubViewConstraints];
|
||||||
[self mew_initEvents];
|
// [self mew_initEvents];
|
||||||
}
|
}
|
||||||
|
|
||||||
- (void)viewDidDisappear:(BOOL)animated {
|
- (void)viewDidDisappear:(BOOL)animated {
|
||||||
@@ -67,7 +67,7 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
#pragma mark - LoginForgetPasswordProtocol
|
#pragma mark - MewLoginForgetPasswordProtocol
|
||||||
///请求手机号的验证码成功
|
///请求手机号的验证码成功
|
||||||
- (void)mew_phoneSmsCodeSuccess {
|
- (void)mew_phoneSmsCodeSuccess {
|
||||||
self.codeView.authCodeButton.enabled= NO;
|
self.codeView.authCodeButton.enabled= NO;
|
||||||
@@ -75,7 +75,7 @@
|
|||||||
[[MEWCountDownHelper shareHelper] mewOpenCountdownWithTime:60];
|
[[MEWCountDownHelper shareHelper] mewOpenCountdownWithTime:60];
|
||||||
}
|
}
|
||||||
///重置密码成功
|
///重置密码成功
|
||||||
- (void)resetPasswrodSuccess {
|
- (void)mew_resetPasswrodSuccess {
|
||||||
[[MEWCountDownHelper shareHelper] mewStopCountDown];
|
[[MEWCountDownHelper shareHelper] mewStopCountDown];
|
||||||
[self showSuccessToast:@"重置密码成功"];
|
[self showSuccessToast:@"重置密码成功"];
|
||||||
[self.navigationController popViewControllerAnimated:YES];
|
[self.navigationController popViewControllerAnimated:YES];
|
||||||
@@ -92,15 +92,15 @@
|
|||||||
[self.codeView.authCodeButton setTitle:@"重新发送" forState:UIControlStateNormal];
|
[self.codeView.authCodeButton setTitle:@"重新发送" forState:UIControlStateNormal];
|
||||||
}
|
}
|
||||||
#pragma mark - Event Response
|
#pragma mark - Event Response
|
||||||
- (void)finishButtonAction:(UIButton *)sender {
|
- (void)mew_finishButtonAction:(UIButton *)sender {
|
||||||
[self.presenter resetPassword:self.phoneView.textField.text newPwd:self.passwordView.textField.text smsCode:self.codeView.textField.text];
|
[self.presenter mew_resetPassword:self.phoneView.textField.text newPwd:self.passwordView.textField.text smsCode:self.codeView.textField.text];
|
||||||
}
|
}
|
||||||
|
|
||||||
- (void)authCodeButtonAction:(UIButton *)sender {
|
- (void)mew_authCodeButtonAction:(UIButton *)sender {
|
||||||
if (self.phoneView.textField.text.length != 11) {
|
if (self.phoneView.textField.text.length != 11) {
|
||||||
[self showErrorToast:@"请输入正确的手机号码"];
|
[self showErrorToast:@"请输入正确的手机号码"];
|
||||||
} else {
|
} else {
|
||||||
[self.presenter phoneSmsCode:self.phoneView.textField.text type:GetSmsType_Reset_Password];
|
[self.presenter mew_phoneSmsCode:self.phoneView.textField.text type:GetSmsType_Reset_Password];
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -112,7 +112,6 @@
|
|||||||
|
|
||||||
#pragma mark - Private Method
|
#pragma mark - Private Method
|
||||||
- (void)mew_initSubViews {
|
- (void)mew_initSubViews {
|
||||||
// self.titleLabel.text = @"忘记密码";
|
|
||||||
[MEWCountDownHelper shareHelper].delegate = self;
|
[MEWCountDownHelper shareHelper].delegate = self;
|
||||||
[self.view addSubview:self.bgImageView];
|
[self.view addSubview:self.bgImageView];
|
||||||
[self.view addSubview:self.backButton];
|
[self.view addSubview:self.backButton];
|
||||||
@@ -153,23 +152,6 @@
|
|||||||
make.top.mas_equalTo(self.stackView.mas_bottom).offset(20);
|
make.top.mas_equalTo(self.stackView.mas_bottom).offset(20);
|
||||||
}];
|
}];
|
||||||
|
|
||||||
// [self.phoneView mas_makeConstraints:^(MASConstraintMaker *make) {
|
|
||||||
// make.height.mas_equalTo(52);
|
|
||||||
// make.width.mas_equalTo(KScreenWidth - 2 * 36);
|
|
||||||
// make.centerX.equalTo(self.view);
|
|
||||||
// make.top.mas_equalTo(60);
|
|
||||||
// }];
|
|
||||||
//
|
|
||||||
// [self.codeView mas_makeConstraints:^(MASConstraintMaker *make) {
|
|
||||||
// make.height.width.centerX.mas_equalTo(self.phoneView);
|
|
||||||
// make.top.equalTo(self.phoneView.mas_bottom).offset(20);
|
|
||||||
// }];
|
|
||||||
//
|
|
||||||
// [self.passwordView mas_makeConstraints:^(MASConstraintMaker *make) {
|
|
||||||
// make.height.width.centerX.mas_equalTo(self.phoneView);
|
|
||||||
// make.top.equalTo(self.codeView.mas_bottom).offset(20);
|
|
||||||
// }];
|
|
||||||
|
|
||||||
[self.phoneView mas_makeConstraints:^(MASConstraintMaker *make) {
|
[self.phoneView mas_makeConstraints:^(MASConstraintMaker *make) {
|
||||||
make.height.mas_equalTo(52);
|
make.height.mas_equalTo(52);
|
||||||
}];
|
}];
|
||||||
@@ -183,12 +165,6 @@
|
|||||||
}];
|
}];
|
||||||
}
|
}
|
||||||
|
|
||||||
- (void)mew_initEvents {
|
|
||||||
// @weakify(self);
|
|
||||||
// RAC(self.finishButton, enabled) = [RACSignal combineLatest:@[self.phoneView.textField.rac_textSignal, self.codeView.textField.rac_textSignal, self.passwordView.textField.rac_textSignal] reduce:^id _Nonnull(NSString *phone, NSString *code, NSString *password){
|
|
||||||
// return @(phone.length == 11 && code.length > 0 && password.length >= 6 && password.length <= 16);
|
|
||||||
// }];
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
#pragma mark - Getters And Setters
|
#pragma mark - Getters And Setters
|
||||||
@@ -228,7 +204,7 @@
|
|||||||
[_finishButton setTitleColor:UIColor.blackColor forState:UIControlStateNormal];
|
[_finishButton setTitleColor:UIColor.blackColor forState:UIControlStateNormal];
|
||||||
UIImage *image = [UIImage gradientColorImageFromColors:@[[MEWThemeColor mewColorWithHexString:@"#FF60FD"], [MEWThemeColor mewColorWithHexString:@"#8974FF"],[MEWThemeColor mewColorWithHexString:@"#69EBFF"]] gradientType:GradientTypeLeftToRight imgSize:CGSizeMake(KScreenWidth - 2*36, 52)];
|
UIImage *image = [UIImage gradientColorImageFromColors:@[[MEWThemeColor mewColorWithHexString:@"#FF60FD"], [MEWThemeColor mewColorWithHexString:@"#8974FF"],[MEWThemeColor mewColorWithHexString:@"#69EBFF"]] gradientType:GradientTypeLeftToRight imgSize:CGSizeMake(KScreenWidth - 2*36, 52)];
|
||||||
_finishButton.backgroundColor = [UIColor colorWithPatternImage:image];
|
_finishButton.backgroundColor = [UIColor colorWithPatternImage:image];
|
||||||
[_finishButton addTarget:self action:@selector(finishButtonAction:) forControlEvents:UIControlEventTouchUpInside];
|
[_finishButton addTarget:self action:@selector(mew_finishButtonAction:) forControlEvents:UIControlEventTouchUpInside];
|
||||||
}
|
}
|
||||||
return _finishButton;
|
return _finishButton;
|
||||||
}
|
}
|
||||||
@@ -245,11 +221,11 @@
|
|||||||
return _stackView;
|
return _stackView;
|
||||||
}
|
}
|
||||||
|
|
||||||
- (LoginForgetEditView *)phoneView {
|
- (MewLoginForgetEditView *)phoneView {
|
||||||
if (!_phoneView) {
|
if (!_phoneView) {
|
||||||
_phoneView = [[LoginForgetEditView alloc] init];
|
_phoneView = [[MewLoginForgetEditView alloc] init];
|
||||||
_phoneView.placeholder = @"请输入手机号";
|
_phoneView.placeholder = @"请输入手机号";
|
||||||
_phoneView.type = LoginForgetEditViewTypeNormal;
|
_phoneView.type = MewLoginForgetEditViewTypeNormal;
|
||||||
_phoneView.backgroundColor = UIColor.whiteColor;
|
_phoneView.backgroundColor = UIColor.whiteColor;
|
||||||
_phoneView.layer.cornerRadius = 52/2.f;
|
_phoneView.layer.cornerRadius = 52/2.f;
|
||||||
_phoneView.layer.masksToBounds = YES;
|
_phoneView.layer.masksToBounds = YES;
|
||||||
@@ -257,26 +233,26 @@
|
|||||||
return _phoneView;
|
return _phoneView;
|
||||||
}
|
}
|
||||||
|
|
||||||
- (LoginForgetEditView *)codeView {
|
- (MewLoginForgetEditView *)codeView {
|
||||||
if (!_codeView) {
|
if (!_codeView) {
|
||||||
_codeView = [[LoginForgetEditView alloc] init];
|
_codeView = [[MewLoginForgetEditView alloc] init];
|
||||||
_codeView.placeholder = @"请输入验证码";
|
_codeView.placeholder = @"请输入验证码";
|
||||||
_codeView.type = LoginForgetEditViewTypeSms;
|
_codeView.type = MewLoginForgetEditViewTypeSms;
|
||||||
_codeView.backgroundColor = UIColor.whiteColor;
|
_codeView.backgroundColor = UIColor.whiteColor;
|
||||||
[_codeView.authCodeButton setTitleColor:[MEWThemeColor mewColorWithHexString:@"#9552FF"] forState:UIControlStateNormal];
|
[_codeView.authCodeButton setTitleColor:[MEWThemeColor mewColorWithHexString:@"#9552FF"] forState:UIControlStateNormal];
|
||||||
_codeView.layer.cornerRadius = 52/2.f;
|
_codeView.layer.cornerRadius = 52/2.f;
|
||||||
_codeView.layer.masksToBounds = YES;
|
_codeView.layer.masksToBounds = YES;
|
||||||
[_codeView.authCodeButton addTarget:self action:@selector(authCodeButtonAction:) forControlEvents:UIControlEventTouchUpInside];
|
[_codeView.authCodeButton addTarget:self action:@selector(mew_authCodeButtonAction:) forControlEvents:UIControlEventTouchUpInside];
|
||||||
|
|
||||||
}
|
}
|
||||||
return _codeView;
|
return _codeView;
|
||||||
}
|
}
|
||||||
|
|
||||||
- (LoginForgetEditView *)passwordView {
|
- (MewLoginForgetEditView *)passwordView {
|
||||||
if (!_passwordView) {
|
if (!_passwordView) {
|
||||||
_passwordView = [[LoginForgetEditView alloc] init];
|
_passwordView = [[MewLoginForgetEditView alloc] init];
|
||||||
_passwordView.placeholder = @"请输入密码(6-16个字符)";
|
_passwordView.placeholder = @"请输入密码(6-16个字符)";
|
||||||
_passwordView.type = LoginForgetEditViewTypePassword;
|
_passwordView.type = MewLoginForgetEditViewTypePassword;
|
||||||
_passwordView.textField.keyboardType = UIKeyboardTypeASCIICapable;
|
_passwordView.textField.keyboardType = UIKeyboardTypeASCIICapable;
|
||||||
_passwordView.textField.secureTextEntry = YES;
|
_passwordView.textField.secureTextEntry = YES;
|
||||||
_passwordView.textField.clearButtonMode = UITextFieldViewModeAlways;
|
_passwordView.textField.clearButtonMode = UITextFieldViewModeAlways;
|
@@ -1,5 +1,5 @@
|
|||||||
//
|
//
|
||||||
// LoginFullInfoViewController.h
|
// MewLoginFullInfoViewController.h
|
||||||
// mew-ios
|
// mew-ios
|
||||||
//
|
//
|
||||||
// Created by 触海 on 2023/11/6.
|
// Created by 触海 on 2023/11/6.
|
||||||
@@ -9,9 +9,7 @@
|
|||||||
|
|
||||||
NS_ASSUME_NONNULL_BEGIN
|
NS_ASSUME_NONNULL_BEGIN
|
||||||
|
|
||||||
@interface LoginFullInfoViewController : MvpViewController
|
@interface MewLoginFullInfoViewController : MvpViewController
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
@end
|
@end
|
||||||
|
|
@@ -1,11 +1,11 @@
|
|||||||
//
|
//
|
||||||
// LoginFullInfoViewController.m
|
// MewLoginFullInfoViewController.m
|
||||||
// mew-ios
|
// mew-ios
|
||||||
//
|
//
|
||||||
// Created by 触海 on 2023/11/6.
|
// Created by 触海 on 2023/11/6.
|
||||||
//
|
//
|
||||||
|
|
||||||
#import "LoginFullInfoViewController.h"
|
#import "MewLoginFullInfoViewController.h"
|
||||||
/// Third
|
/// Third
|
||||||
#import <Masonry.h>
|
#import <Masonry.h>
|
||||||
#import <ReactiveObjC/ReactiveObjC.h>
|
#import <ReactiveObjC/ReactiveObjC.h>
|
||||||
@@ -17,12 +17,12 @@
|
|||||||
#import "MewHUDTool.h"
|
#import "MewHUDTool.h"
|
||||||
#import "NewEncryptTool.h"
|
#import "NewEncryptTool.h"
|
||||||
///Model
|
///Model
|
||||||
#import "ThirdUserInfo.h"
|
#import "MewThirdUserInfo.h"
|
||||||
/// presenter
|
/// presenter
|
||||||
#import "LoginFullInfoPresenter.h"
|
#import "MewLoginFullInfoPresenter.h"
|
||||||
#import "LoginFullInfoProtocol.h"
|
#import "MewLoginFullInfoProtocol.h"
|
||||||
|
|
||||||
@interface LoginFullInfoViewController ()<LoginFullInfoProtocol>
|
@interface MewLoginFullInfoViewController ()<MewLoginFullInfoProtocol>
|
||||||
@property (nonatomic, strong) UIImageView *bgImageView;
|
@property (nonatomic, strong) UIImageView *bgImageView;
|
||||||
@property (nonatomic, strong) UILabel *titleLabel;
|
@property (nonatomic, strong) UILabel *titleLabel;
|
||||||
/// 返回按钮
|
/// 返回按钮
|
||||||
@@ -43,46 +43,44 @@
|
|||||||
@property (nonatomic, copy) NSString *sexString;
|
@property (nonatomic, copy) NSString *sexString;
|
||||||
@end
|
@end
|
||||||
|
|
||||||
@implementation LoginFullInfoViewController
|
@implementation MewLoginFullInfoViewController
|
||||||
|
|
||||||
- (BOOL)mew_isHiddenNavBar {
|
- (BOOL)mew_isHiddenNavBar {
|
||||||
return YES;
|
return YES;
|
||||||
}
|
}
|
||||||
|
|
||||||
- (LoginFullInfoPresenter *)createPresenter {
|
- (MewLoginFullInfoPresenter *)createPresenter {
|
||||||
return [[LoginFullInfoPresenter alloc] init];
|
return [[MewLoginFullInfoPresenter alloc] init];
|
||||||
}
|
}
|
||||||
|
|
||||||
#pragma mark - Life Cycle
|
#pragma mark - Life Cycle
|
||||||
- (void)viewDidLoad {
|
- (void)viewDidLoad {
|
||||||
[super viewDidLoad];
|
[super viewDidLoad];
|
||||||
// self.title = @"填写资料";
|
|
||||||
self.sexString = @"";
|
self.sexString = @"";
|
||||||
[self mew_initSubViews];
|
[self mew_initSubViews];
|
||||||
[self mew_initSubViewConstraints];
|
[self mew_initSubViewConstraints];
|
||||||
// [self mew_initEvents];
|
|
||||||
}
|
}
|
||||||
|
|
||||||
#pragma mark - LoginFullInfoProtocol
|
#pragma mark - MewLoginFullInfoProtocol
|
||||||
/// 填写资料成功
|
/// 填写资料成功
|
||||||
- (void)complementInfoSuccess {
|
- (void)mew_complementInfoSuccess {
|
||||||
[self dissMissVC];
|
[self mew_dissMissVC];
|
||||||
}
|
}
|
||||||
|
|
||||||
- (void)requestRandomNickSuccess:(NSString *)nick {
|
- (void)mew_requestRandomNickSuccess:(NSString *)nick {
|
||||||
self.textField.text = nick;
|
self.textField.text = nick;
|
||||||
}
|
}
|
||||||
|
|
||||||
#pragma mark - Action Event
|
#pragma mark - Action Event
|
||||||
/// 男
|
/// 男
|
||||||
- (void)maleButtonAction {
|
- (void)mew_maleButtonAction {
|
||||||
self.femaleButton.selected = NO;
|
self.femaleButton.selected = NO;
|
||||||
self.maleButton.selected = YES;
|
self.maleButton.selected = YES;
|
||||||
self.sexString = @"1";
|
self.sexString = @"1";
|
||||||
}
|
}
|
||||||
|
|
||||||
/// 女
|
/// 女
|
||||||
- (void)femaleButtonAction {
|
- (void)mew_femaleButtonAction {
|
||||||
self.femaleButton.selected = YES;
|
self.femaleButton.selected = YES;
|
||||||
self.maleButton.selected = NO;
|
self.maleButton.selected = NO;
|
||||||
self.sexString = @"2";
|
self.sexString = @"2";
|
||||||
@@ -101,7 +99,7 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
[self updateUserInfo];
|
[self mew_updateUserInfo];
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
@@ -110,41 +108,38 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
#pragma mark - Private Method
|
#pragma mark - Private Method
|
||||||
- (void)updateUserInfo {
|
- (void)mew_updateUserInfo {
|
||||||
[self.presenter complectionInfoWithAvatar:[self getAvatarUrl] gender:self.maleButton.selected ? @"1":@"2" nick:self.textField.text inviteCode:@"" roomUid:nil shareUid:nil shareChannel:nil];
|
[self.presenter mew_complectionInfoWithAvatar:[self mew_getAvatarUrl] gender:self.maleButton.selected ? @"1":@"2" nick:self.textField.text inviteCode:@"" roomUid:nil shareUid:nil shareChannel:nil];
|
||||||
}
|
}
|
||||||
|
|
||||||
///获取头像 可能是从第三方获取的头像
|
///获取头像 可能是从第三方获取的头像
|
||||||
- (NSString *)getAvatarUrl {
|
- (NSString *)mew_getAvatarUrl {
|
||||||
NSString * avatar;
|
NSString * avatar;
|
||||||
if ([self.presenter getThirdUserInfo] && [self.presenter getThirdUserInfo].avatarUrl.length > 0) {
|
if ([self.presenter mew_getMewThirdUserInfo] && [self.presenter mew_getMewThirdUserInfo].avatarUrl.length > 0) {
|
||||||
avatar = [self.presenter getThirdUserInfo].avatarUrl;
|
avatar = [self.presenter mew_getMewThirdUserInfo].avatarUrl;
|
||||||
} else {
|
} else {
|
||||||
avatar = [NewEncryptTool MEW_aesDecrypt:@"xdPnNelVD/RTlTKFqgSrESDPcNF6Diqb8sLg+HEvxpvjDdTLom1euQUOAOppjx15"];
|
avatar = [NewEncryptTool MEW_aesDecrypt:@"xdPnNelVD/RTlTKFqgSrESDPcNF6Diqb8sLg+HEvxpvjDdTLom1euQUOAOppjx15"];
|
||||||
}
|
}
|
||||||
return avatar;
|
return avatar;
|
||||||
}
|
}
|
||||||
|
|
||||||
- (void)updateNextButton {
|
- (void)mew_updateNextButton {
|
||||||
if (self.textField.text.length > 0 && self.sexString.length > 0) {
|
if (self.textField.text.length > 0 && self.sexString.length > 0) {
|
||||||
self.nextButton.enabled = YES;
|
self.nextButton.enabled = YES;
|
||||||
} else {
|
} else {
|
||||||
// [MewHUDTool showErrorWithMessage:@"请填写资料"];
|
|
||||||
self.nextButton.enabled = NO;
|
self.nextButton.enabled = NO;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
- (void)dissMissVC {
|
- (void)mew_dissMissVC {
|
||||||
[[AccountInfoStorage instance] saveTicket:nil];
|
[[AccountInfoStorage instance] saveTicket:nil];
|
||||||
UIViewController *vc = self.presentingViewController;
|
UIViewController *vc = self.presentingViewController;
|
||||||
while (vc.presentingViewController) {
|
while (vc.presentingViewController) {
|
||||||
vc = vc.presentingViewController;
|
vc = vc.presentingViewController;
|
||||||
}
|
}
|
||||||
[vc dismissViewControllerAnimated:YES completion:nil];
|
[vc dismissViewControllerAnimated:YES completion:nil];
|
||||||
// NSString * inviteCode = @"";
|
|
||||||
// [[NSNotificationCenter defaultCenter] postNotificationName:kUserCompleteInfoFinishKey object:inviteCode];
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
@@ -160,10 +155,10 @@
|
|||||||
[self.sexStackView addArrangedSubview:self.femaleButton];
|
[self.sexStackView addArrangedSubview:self.femaleButton];
|
||||||
[self.view addSubview:self.nextButton];
|
[self.view addSubview:self.nextButton];
|
||||||
[self mew_initSubViewConstraints];
|
[self mew_initSubViewConstraints];
|
||||||
if ([self.presenter getThirdUserInfo] && [self.presenter getThirdUserInfo].userName.length > 0) {
|
if ([self.presenter mew_getMewThirdUserInfo] && [self.presenter mew_getMewThirdUserInfo].userName.length > 0) {
|
||||||
self.textField.text = [self.presenter getThirdUserInfo].userName;
|
self.textField.text = [self.presenter mew_getMewThirdUserInfo].userName;
|
||||||
} else {
|
} else {
|
||||||
[self.presenter randomRequestNick];
|
[self.presenter mew_randomRequestNick];
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -219,7 +214,7 @@
|
|||||||
}] subscribeNext:^(id _Nullable x) {
|
}] subscribeNext:^(id _Nullable x) {
|
||||||
@strongify(self);
|
@strongify(self);
|
||||||
self.textField.text = x;
|
self.textField.text = x;
|
||||||
[self updateNextButton];
|
[self mew_updateNextButton];
|
||||||
}];
|
}];
|
||||||
|
|
||||||
}
|
}
|
||||||
@@ -229,14 +224,7 @@
|
|||||||
[self dismissViewControllerAnimated:NO completion:nil];
|
[self dismissViewControllerAnimated:NO completion:nil];
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
#pragma mark - Set
|
#pragma mark - Set
|
||||||
//- (void)setSexString:(NSString *)sexString {
|
|
||||||
// _sexString = sexString;
|
|
||||||
// [self updateNextButton];
|
|
||||||
//}
|
|
||||||
|
|
||||||
|
|
||||||
#pragma mark - Get
|
#pragma mark - Get
|
||||||
@@ -303,7 +291,7 @@
|
|||||||
_maleButton = [UIButton buttonWithType:UIButtonTypeCustom];
|
_maleButton = [UIButton buttonWithType:UIButtonTypeCustom];
|
||||||
[_maleButton setImage:[UIImage imageNamed:@"mew_login_full_man_normal"] forState:UIControlStateNormal];
|
[_maleButton setImage:[UIImage imageNamed:@"mew_login_full_man_normal"] forState:UIControlStateNormal];
|
||||||
[_maleButton setImage:[UIImage imageNamed:@"mew_login_full_man_select"] forState:UIControlStateSelected];
|
[_maleButton setImage:[UIImage imageNamed:@"mew_login_full_man_select"] forState:UIControlStateSelected];
|
||||||
[_maleButton addTarget:self action:@selector(maleButtonAction) forControlEvents:UIControlEventTouchUpInside];
|
[_maleButton addTarget:self action:@selector(mew_maleButtonAction) forControlEvents:UIControlEventTouchUpInside];
|
||||||
}
|
}
|
||||||
return _maleButton;
|
return _maleButton;
|
||||||
}
|
}
|
||||||
@@ -313,7 +301,7 @@
|
|||||||
_femaleButton = [UIButton buttonWithType:UIButtonTypeCustom];
|
_femaleButton = [UIButton buttonWithType:UIButtonTypeCustom];
|
||||||
[_femaleButton setImage:[UIImage imageNamed:@"mew_login_full_waman_normal"] forState:UIControlStateNormal];
|
[_femaleButton setImage:[UIImage imageNamed:@"mew_login_full_waman_normal"] forState:UIControlStateNormal];
|
||||||
[_femaleButton setImage:[UIImage imageNamed:@"mew_login_full_waman_select"] forState:UIControlStateSelected];
|
[_femaleButton setImage:[UIImage imageNamed:@"mew_login_full_waman_select"] forState:UIControlStateSelected];
|
||||||
[_femaleButton addTarget:self action:@selector(femaleButtonAction) forControlEvents:UIControlEventTouchUpInside];
|
[_femaleButton addTarget:self action:@selector(mew_femaleButtonAction) forControlEvents:UIControlEventTouchUpInside];
|
||||||
}
|
}
|
||||||
return _femaleButton;
|
return _femaleButton;
|
||||||
}
|
}
|
@@ -0,0 +1,29 @@
|
|||||||
|
//
|
||||||
|
// MewLoginVerifBindPhoneViewController.h
|
||||||
|
// yinmeng-ios
|
||||||
|
//
|
||||||
|
// Created by 触海 on 2023/11/22.
|
||||||
|
//
|
||||||
|
|
||||||
|
#import "MvpViewController.h"
|
||||||
|
@class UserInfoModel;
|
||||||
|
/**
|
||||||
|
手机号绑定的类型
|
||||||
|
- MewBindingPhoneNumTypeNormal: 普通状态,首次绑定
|
||||||
|
- MewBindingPhoneNumTypeConfirm : 验证状态:验证已绑定的手机
|
||||||
|
*/
|
||||||
|
typedef NS_ENUM(NSUInteger, MewBindingPhoneNumType) {
|
||||||
|
MewBindingPhoneNumTypeNormal = 0,
|
||||||
|
MewBindingPhoneNumTypeEdit = 1,
|
||||||
|
MewBindingPhoneNumTypeConfirm = 2,
|
||||||
|
};
|
||||||
|
|
||||||
|
NS_ASSUME_NONNULL_BEGIN
|
||||||
|
|
||||||
|
@interface MewLoginVerifBindPhoneViewController : MvpViewController
|
||||||
|
@property (nonatomic, assign) MewBindingPhoneNumType bindingPhoneNumType;
|
||||||
|
///用户信息
|
||||||
|
@property (nonatomic, strong) UserInfoModel *userInfo;
|
||||||
|
@end
|
||||||
|
|
||||||
|
NS_ASSUME_NONNULL_END
|
@@ -1,11 +1,11 @@
|
|||||||
//
|
//
|
||||||
// LoginVerifBindPhoneViewController.m
|
// MewLoginVerifBindPhoneViewController.m
|
||||||
// yinmeng-ios
|
// yinmeng-ios
|
||||||
//
|
//
|
||||||
// Created by 触海 on 2023/11/22.
|
// Created by 触海 on 2023/11/22.
|
||||||
//
|
//
|
||||||
|
|
||||||
#import "LoginVerifBindPhoneViewController.h"
|
#import "MewLoginVerifBindPhoneViewController.h"
|
||||||
///Third
|
///Third
|
||||||
#import <Masonry/Masonry.h>
|
#import <Masonry/Masonry.h>
|
||||||
#import <ReactiveObjC/ReactiveObjC.h>
|
#import <ReactiveObjC/ReactiveObjC.h>
|
||||||
@@ -19,13 +19,12 @@
|
|||||||
///Model
|
///Model
|
||||||
#import "UserInfoModel.h"
|
#import "UserInfoModel.h"
|
||||||
///P
|
///P
|
||||||
#import "LoginVerifBindPhoneProtocol.h"
|
#import "MewLoginVerifBindPhoneProtocol.h"
|
||||||
#import "LoginVerifBindPhonePresenter.h"
|
#import "MewLoginVerifBindPhonePresenter.h"
|
||||||
///VC
|
///VC
|
||||||
#import "LoginBindPhoneViewController.h"
|
#import "MewLoginBindPhoneViewController.h"
|
||||||
//#import "MineSettingViewController.h"
|
|
||||||
|
|
||||||
@interface LoginVerifBindPhoneViewController ()<LoginVerifBindPhoneProtocol, MEWCountDownHelperDelegate>
|
@interface MewLoginVerifBindPhoneViewController ()<MewLoginVerifBindPhoneProtocol, MEWCountDownHelperDelegate>
|
||||||
@property (nonatomic, strong) UIView *containerView;
|
@property (nonatomic, strong) UIView *containerView;
|
||||||
|
|
||||||
@property (nonatomic, strong) UIImageView *bgImageView;
|
@property (nonatomic, strong) UIImageView *bgImageView;
|
||||||
@@ -43,11 +42,10 @@
|
|||||||
|
|
||||||
@property (nonatomic, strong) UIButton *confirmBtn; // 确认按钮
|
@property (nonatomic, strong) UIButton *confirmBtn; // 确认按钮
|
||||||
|
|
||||||
//@property (nonatomic, strong) UILabel *tipsLabel; // 手机号丢失
|
|
||||||
//@property (nonatomic, assign) BOOL isResetPhone; // 重新绑定手机
|
|
||||||
@end
|
@end
|
||||||
|
|
||||||
@implementation LoginVerifBindPhoneViewController
|
|
||||||
|
@implementation MewLoginVerifBindPhoneViewController
|
||||||
- (BOOL)mew_isHiddenNavBar {
|
- (BOOL)mew_isHiddenNavBar {
|
||||||
return YES;
|
return YES;
|
||||||
}
|
}
|
||||||
@@ -56,8 +54,8 @@
|
|||||||
[[MEWCountDownHelper shareHelper] mewStopCountDown];
|
[[MEWCountDownHelper shareHelper] mewStopCountDown];
|
||||||
}
|
}
|
||||||
|
|
||||||
- (LoginVerifBindPhonePresenter *)createPresenter {
|
- (MewLoginVerifBindPhonePresenter *)createPresenter {
|
||||||
return [[LoginVerifBindPhonePresenter alloc] init];
|
return [[MewLoginVerifBindPhonePresenter alloc] init];
|
||||||
}
|
}
|
||||||
|
|
||||||
- (void)viewDidLoad {
|
- (void)viewDidLoad {
|
||||||
@@ -114,22 +112,6 @@
|
|||||||
make.centerX.equalTo(self.view);
|
make.centerX.equalTo(self.view);
|
||||||
}];
|
}];
|
||||||
|
|
||||||
// [self.areaLabel mas_makeConstraints:^(MASConstraintMaker *make) {
|
|
||||||
// make.left.mas_equalTo(32);
|
|
||||||
// make.top.mas_equalTo(20);
|
|
||||||
// }];
|
|
||||||
//
|
|
||||||
// [self.countryBtn mas_makeConstraints:^(MASConstraintMaker *make) {
|
|
||||||
// make.right.mas_equalTo(-32);
|
|
||||||
// make.centerY.mas_equalTo(self.areaLabel);
|
|
||||||
// }];
|
|
||||||
//
|
|
||||||
// [self.areaLineView mas_makeConstraints:^(MASConstraintMaker *make) {
|
|
||||||
// make.top.mas_equalTo(20);
|
|
||||||
// make.left.right.mas_equalTo(0).inset(32);
|
|
||||||
// make.height.mas_equalTo(1);
|
|
||||||
// }];
|
|
||||||
|
|
||||||
[self.phoneBgView mas_makeConstraints:^(MASConstraintMaker *make) {
|
[self.phoneBgView mas_makeConstraints:^(MASConstraintMaker *make) {
|
||||||
make.top.mas_equalTo(self.titleLabel.mas_bottom).offset(60);
|
make.top.mas_equalTo(self.titleLabel.mas_bottom).offset(60);
|
||||||
make.left.mas_equalTo(32);
|
make.left.mas_equalTo(32);
|
||||||
@@ -139,7 +121,6 @@
|
|||||||
|
|
||||||
[self.areaCodeLabel mas_makeConstraints:^(MASConstraintMaker *make) {
|
[self.areaCodeLabel mas_makeConstraints:^(MASConstraintMaker *make) {
|
||||||
make.centerY.equalTo(self.phoneBgView);
|
make.centerY.equalTo(self.phoneBgView);
|
||||||
// make.top.mas_equalTo(self.titleLabel.mas_bottom).offset(60);
|
|
||||||
make.left.mas_equalTo(self.phoneBgView).offset(10);
|
make.left.mas_equalTo(self.phoneBgView).offset(10);
|
||||||
}];
|
}];
|
||||||
|
|
||||||
@@ -154,13 +135,6 @@
|
|||||||
make.right.mas_equalTo(self.authCodeBtn.mas_left).offset(-20);
|
make.right.mas_equalTo(self.authCodeBtn.mas_left).offset(-20);
|
||||||
}];
|
}];
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
// [self.phoneLineView mas_makeConstraints:^(MASConstraintMaker *make) {
|
|
||||||
// make.left.right.height.mas_equalTo(self.areaLineView);
|
|
||||||
// make.top.mas_equalTo(self.areaCodeLabel.mas_bottom).offset(18);
|
|
||||||
// }];
|
|
||||||
|
|
||||||
[self.authCodeBgView mas_makeConstraints:^(MASConstraintMaker *make) {
|
[self.authCodeBgView mas_makeConstraints:^(MASConstraintMaker *make) {
|
||||||
make.top.mas_equalTo(self.phoneBgView.mas_bottom).offset(20);
|
make.top.mas_equalTo(self.phoneBgView.mas_bottom).offset(20);
|
||||||
make.left.height.width.mas_equalTo(self.phoneBgView);
|
make.left.height.width.mas_equalTo(self.phoneBgView);
|
||||||
@@ -184,16 +158,15 @@
|
|||||||
#pragma mark -配置
|
#pragma mark -配置
|
||||||
- (void)setConfigs {
|
- (void)setConfigs {
|
||||||
switch (self.bindingPhoneNumType) {
|
switch (self.bindingPhoneNumType) {
|
||||||
case XPBindingPhoneNumTypeEdit:{
|
case MewBindingPhoneNumTypeEdit:{
|
||||||
self.navigationItem.title = @"更改绑定手机";
|
self.navigationItem.title = @"更改绑定手机";
|
||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
case XPBindingPhoneNumTypeNormal:{
|
case MewBindingPhoneNumTypeNormal:{
|
||||||
self.navigationItem.title = @"绑定手机号";
|
self.navigationItem.title = @"绑定手机号";
|
||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
case XPBindingPhoneNumTypeConfirm:{
|
case MewBindingPhoneNumTypeConfirm:{
|
||||||
// self.tipsLabel.hidden = NO;
|
|
||||||
self.navigationItem.title = @"验证已绑定的手机号码";
|
self.navigationItem.title = @"验证已绑定的手机号码";
|
||||||
[self.confirmBtn setTitle:@"验证" forState:UIControlStateNormal];
|
[self.confirmBtn setTitle:@"验证" forState:UIControlStateNormal];
|
||||||
if (self.userInfo.isBindPhone) {
|
if (self.userInfo.isBindPhone) {
|
||||||
@@ -230,7 +203,7 @@
|
|||||||
}
|
}
|
||||||
}] subscribeNext:^(id _Nullable x) {
|
}] subscribeNext:^(id _Nullable x) {
|
||||||
@strongify(self);
|
@strongify(self);
|
||||||
[self.presenter phoneSmsCode:self.phoneNumTextField.text type:self.bindingPhoneNumType == XPBindingPhoneNumTypeConfirm ? GetSmsType_Unbind_Phone : GetSmsType_Bind_Phone];
|
[self.presenter mew_phoneSmsCode:self.phoneNumTextField.text type:self.bindingPhoneNumType == MewBindingPhoneNumTypeConfirm ? GetSmsType_Unbind_Phone : GetSmsType_Bind_Phone];
|
||||||
}];
|
}];
|
||||||
|
|
||||||
|
|
||||||
@@ -249,10 +222,10 @@
|
|||||||
}
|
}
|
||||||
}] subscribeNext:^(id _Nullable x) {
|
}] subscribeNext:^(id _Nullable x) {
|
||||||
@strongify(self)
|
@strongify(self)
|
||||||
if (self.bindingPhoneNumType == XPBindingPhoneNumTypeConfirm) {
|
if (self.bindingPhoneNumType == MewBindingPhoneNumTypeConfirm) {
|
||||||
[self.presenter checkMoblieCodeWithMoblie:self.phoneNumTextField.text code:self.authCodeTextField.text];
|
[self.presenter mew_checkMoblieCodeWithMoblie:self.phoneNumTextField.text code:self.authCodeTextField.text];
|
||||||
} else {
|
} else {
|
||||||
[self.presenter bindkMoblieCodeWithMoblie:self.phoneNumTextField.text code:self.authCodeTextField.text];
|
[self.presenter mew_bindkMoblieCodeWithMoblie:self.phoneNumTextField.text code:self.authCodeTextField.text];
|
||||||
}
|
}
|
||||||
} error:^(NSError * _Nullable error) {
|
} error:^(NSError * _Nullable error) {
|
||||||
|
|
||||||
@@ -264,28 +237,25 @@
|
|||||||
[self.navigationController popViewControllerAnimated:NO];
|
[self.navigationController popViewControllerAnimated:NO];
|
||||||
}
|
}
|
||||||
|
|
||||||
#pragma mark - LoginVerifBindPhoneProtocol
|
|
||||||
|
#pragma mark - MewLoginVerifBindPhoneProtocol
|
||||||
- (void)mew_phoneSmsCodeSuccess {
|
- (void)mew_phoneSmsCodeSuccess {
|
||||||
self.authCodeBtn.enabled = NO;
|
self.authCodeBtn.enabled = NO;
|
||||||
[self showSuccessToast:@"验证码发送成功"];
|
[self showSuccessToast:@"验证码发送成功"];
|
||||||
[[MEWCountDownHelper shareHelper] mewOpenCountdownWithTime:60];
|
[[MEWCountDownHelper shareHelper] mewOpenCountdownWithTime:60];
|
||||||
}
|
}
|
||||||
|
|
||||||
- (void)checkMoblieCodeWithMoblieSuccess {
|
- (void)mew_checkMoblieCodeWithMoblieSuccess {
|
||||||
[self showSuccessToast:@"验证成功"];
|
[self showSuccessToast:@"验证成功"];
|
||||||
[[MEWCountDownHelper shareHelper] mewStopCountDown];
|
[[MEWCountDownHelper shareHelper] mewStopCountDown];
|
||||||
// LoginVerifBindPhoneViewController *vc = [[LoginVerifBindPhoneViewController alloc] init];
|
|
||||||
// vc.bindingPhoneNumType = XPBindingPhoneNumTypeEdit;
|
|
||||||
// vc.userInfo = self.userInfo;
|
|
||||||
// [self.navigationController pushViewController:vc animated:YES];
|
|
||||||
}
|
}
|
||||||
|
|
||||||
- (void)bindMoblieCodeWithMoblieSuccess {
|
- (void)mew_bindMoblieCodeWithMoblieSuccess {
|
||||||
[[MEWCountDownHelper shareHelper] mewStopCountDown];
|
[[MEWCountDownHelper shareHelper] mewStopCountDown];
|
||||||
// 修改绑定信息
|
// 修改绑定信息
|
||||||
if (self.bindingPhoneNumType == XPBindingPhoneNumTypeEdit) {
|
if (self.bindingPhoneNumType == MewBindingPhoneNumTypeEdit) {
|
||||||
|
|
||||||
} else if (self.bindingPhoneNumType == XPBindingPhoneNumTypeNormal) {
|
} else if (self.bindingPhoneNumType == MewBindingPhoneNumTypeNormal) {
|
||||||
// @weakify(self);
|
// @weakify(self);
|
||||||
[MewHUDTool showSuccessWithMessage:@"绑定成功"];
|
[MewHUDTool showSuccessWithMessage:@"绑定成功"];
|
||||||
[self.navigationController popViewControllerAnimated:YES];
|
[self.navigationController popViewControllerAnimated:YES];
|
@@ -1,5 +1,5 @@
|
|||||||
//
|
//
|
||||||
// MineLoginPasswordViewController.h
|
// MewMineLoginPasswordViewController.h
|
||||||
// yinmeng-ios
|
// yinmeng-ios
|
||||||
//
|
//
|
||||||
// Created by 触海 on 2023/11/22.
|
// Created by 触海 on 2023/11/22.
|
||||||
@@ -10,7 +10,7 @@
|
|||||||
|
|
||||||
NS_ASSUME_NONNULL_BEGIN
|
NS_ASSUME_NONNULL_BEGIN
|
||||||
|
|
||||||
@interface MineLoginPasswordViewController : MvpViewController
|
@interface MewMineLoginPasswordViewController : MvpViewController
|
||||||
@property (nonatomic,strong) UserInfoModel *userInfo;
|
@property (nonatomic,strong) UserInfoModel *userInfo;
|
||||||
///是否是修改密码
|
///是否是修改密码
|
||||||
@property (nonatomic,assign) BOOL isModifiPwd;
|
@property (nonatomic,assign) BOOL isModifiPwd;
|
@@ -1,13 +1,13 @@
|
|||||||
//
|
//
|
||||||
// MineLoginPasswordViewController.m
|
// MewMineLoginPasswordViewController.m
|
||||||
// yinmeng-ios
|
// yinmeng-ios
|
||||||
//
|
//
|
||||||
// Created by 触海 on 2023/11/22.
|
// Created by 触海 on 2023/11/22.
|
||||||
//
|
//
|
||||||
|
|
||||||
#import "MineLoginPasswordViewController.h"
|
#import "MewMineLoginPasswordViewController.h"
|
||||||
#import "MineModifPayPwdView.h"
|
#import "MewMineModifPayPwdView.h"
|
||||||
#import "LoginForgetPasswordViewController.h"
|
#import "MewLoginForgetPasswordViewController.h"
|
||||||
///Third
|
///Third
|
||||||
#import <Masonry/Masonry.h>
|
#import <Masonry/Masonry.h>
|
||||||
#import <ReactiveObjC/ReactiveObjC.h>
|
#import <ReactiveObjC/ReactiveObjC.h>
|
||||||
@@ -23,18 +23,18 @@
|
|||||||
#import "MineLoginPasswordProtocol.h"
|
#import "MineLoginPasswordProtocol.h"
|
||||||
|
|
||||||
|
|
||||||
@interface MineLoginPasswordViewController ()<MineLoginPasswordProtocol>
|
@interface MewMineLoginPasswordViewController ()<MineLoginPasswordProtocol>
|
||||||
@property (nonatomic, strong) UILabel *titleLabel;
|
@property (nonatomic, strong) UILabel *titleLabel;
|
||||||
/// 返回按钮
|
/// 返回按钮
|
||||||
@property (nonatomic, strong) UIButton *backButton;
|
@property (nonatomic, strong) UIButton *backButton;
|
||||||
///容器
|
///容器
|
||||||
@property (nonatomic,strong) UIStackView *stackView;
|
@property (nonatomic,strong) UIStackView *stackView;
|
||||||
///当前的密码
|
///当前的密码
|
||||||
@property (nonatomic,strong) MineModifPayPwdView *currentPwdView;
|
@property (nonatomic,strong) MewMineModifPayPwdView *currentPwdView;
|
||||||
///新密码
|
///新密码
|
||||||
@property (nonatomic,strong) MineModifPayPwdView *newsPwdView;
|
@property (nonatomic,strong) MewMineModifPayPwdView *newsPwdView;
|
||||||
///检查密码
|
///检查密码
|
||||||
@property (nonatomic,strong) MineModifPayPwdView *checkPwdView;
|
@property (nonatomic,strong) MewMineModifPayPwdView *checkPwdView;
|
||||||
///忘记密码
|
///忘记密码
|
||||||
@property (nonatomic, strong) UIButton *forgetButton;
|
@property (nonatomic, strong) UIButton *forgetButton;
|
||||||
///提交
|
///提交
|
||||||
@@ -50,7 +50,7 @@
|
|||||||
|
|
||||||
@end
|
@end
|
||||||
|
|
||||||
@implementation MineLoginPasswordViewController
|
@implementation MewMineLoginPasswordViewController
|
||||||
- (BOOL)mew_isHiddenNavBar {
|
- (BOOL)mew_isHiddenNavBar {
|
||||||
return YES;
|
return YES;
|
||||||
}
|
}
|
||||||
@@ -115,36 +115,33 @@
|
|||||||
}];
|
}];
|
||||||
}
|
}
|
||||||
|
|
||||||
#pragma mark - XPMineLoginPasswordProtocol
|
#pragma mark - MineMewLoginPasswordProtocol
|
||||||
- (void)setLoginPasswordSuccess {
|
- (void)mew_setLoginPasswordSuccess {
|
||||||
[self showSuccessToast:@"设置成功"];
|
[self showSuccessToast:@"设置成功"];
|
||||||
[self.navigationController popViewControllerAnimated:YES];
|
[self.navigationController popViewControllerAnimated:YES];
|
||||||
}
|
}
|
||||||
|
|
||||||
- (void)modifyLoginPasswordSuccess {
|
- (void)mew_modifyLoginPasswordSuccess {
|
||||||
[self showSuccessToast:@"修改成功"];
|
[self showSuccessToast:@"修改成功"];
|
||||||
[self.navigationController popViewControllerAnimated:YES];
|
[self.navigationController popViewControllerAnimated:YES];
|
||||||
}
|
}
|
||||||
|
|
||||||
#pragma mark - Event Response
|
#pragma mark - Event Response
|
||||||
- (void)forgetButtonAction:(UIButton *)sender {
|
- (void)mew_forgetButtonAction:(UIButton *)sender {
|
||||||
LoginForgetPasswordViewController *controller = [[LoginForgetPasswordViewController alloc] init];
|
MewLoginForgetPasswordViewController *controller = [[MewLoginForgetPasswordViewController alloc] init];
|
||||||
|
|
||||||
[self.navigationController pushViewController:controller animated:YES];
|
[self.navigationController pushViewController:controller animated:YES];
|
||||||
// XPMineResetLoginPwdViewController * VC = [[XPMineResetLoginPwdViewController alloc] init];
|
|
||||||
// VC.userInfo = self.userInfo;
|
|
||||||
// [self.navigationController pushViewController:VC animated:YES];
|
|
||||||
}
|
}
|
||||||
|
|
||||||
- (void)submitButtonAction:(UIButton *)sender {
|
- (void)mew_submitButtonAction:(UIButton *)sender {
|
||||||
if (![self.newsPwdView.contentTextField.text isEqualToString:self.checkPwdView.contentTextField.text]) {
|
if (![self.newsPwdView.contentTextField.text isEqualToString:self.checkPwdView.contentTextField.text]) {
|
||||||
[self showErrorToast:@"两次输入的新密码不一致哦"];
|
[self showErrorToast:@"两次输入的新密码不一致哦"];
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
if (self.isModifiPwd) {
|
if (self.isModifiPwd) {
|
||||||
[self.presenter modifyLoginPassword:self.userInfo.phone newPwd:self.newsPwd pwd:self.currentPwd];
|
[self.presenter mew_modifyLoginPassword:self.userInfo.phone newPwd:self.newsPwd pwd:self.currentPwd];
|
||||||
} else {
|
} else {
|
||||||
[self.presenter setLoginPassword:self.userInfo.phone newPwd:self.newsPwd];
|
[self.presenter mew_setLoginPassword:self.userInfo.phone newPwd:self.newsPwd];
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -208,9 +205,9 @@
|
|||||||
return _stackView;
|
return _stackView;
|
||||||
}
|
}
|
||||||
|
|
||||||
- (MineModifPayPwdView *)currentPwdView {
|
- (MewMineModifPayPwdView *)currentPwdView {
|
||||||
if (!_currentPwdView) {
|
if (!_currentPwdView) {
|
||||||
_currentPwdView = [[MineModifPayPwdView alloc] init];
|
_currentPwdView = [[MewMineModifPayPwdView alloc] init];
|
||||||
[_currentPwdView.contentTextField addTarget:self action:@selector(textFieldDidChange:) forControlEvents:UIControlEventEditingChanged];
|
[_currentPwdView.contentTextField addTarget:self action:@selector(textFieldDidChange:) forControlEvents:UIControlEventEditingChanged];
|
||||||
_currentPwdView.backgroundColor = UIColor.whiteColor;
|
_currentPwdView.backgroundColor = UIColor.whiteColor;
|
||||||
_currentPwdView.hidden = YES;
|
_currentPwdView.hidden = YES;
|
||||||
@@ -220,9 +217,9 @@
|
|||||||
return _currentPwdView;
|
return _currentPwdView;
|
||||||
}
|
}
|
||||||
|
|
||||||
- (MineModifPayPwdView *)newsPwdView {
|
- (MewMineModifPayPwdView *)newsPwdView {
|
||||||
if (!_newsPwdView) {
|
if (!_newsPwdView) {
|
||||||
_newsPwdView = [[MineModifPayPwdView alloc] init];
|
_newsPwdView = [[MewMineModifPayPwdView alloc] init];
|
||||||
_newsPwdView.backgroundColor = UIColor.whiteColor;
|
_newsPwdView.backgroundColor = UIColor.whiteColor;
|
||||||
[_newsPwdView.contentTextField addTarget:self action:@selector(textFieldDidChange:) forControlEvents:UIControlEventEditingChanged];
|
[_newsPwdView.contentTextField addTarget:self action:@selector(textFieldDidChange:) forControlEvents:UIControlEventEditingChanged];
|
||||||
_newsPwdView.layer.cornerRadius = 50/2.f;
|
_newsPwdView.layer.cornerRadius = 50/2.f;
|
||||||
@@ -231,9 +228,9 @@
|
|||||||
return _newsPwdView;
|
return _newsPwdView;
|
||||||
}
|
}
|
||||||
|
|
||||||
- (MineModifPayPwdView *)checkPwdView {
|
- (MewMineModifPayPwdView *)checkPwdView {
|
||||||
if (!_checkPwdView) {
|
if (!_checkPwdView) {
|
||||||
_checkPwdView = [[MineModifPayPwdView alloc] init];
|
_checkPwdView = [[MewMineModifPayPwdView alloc] init];
|
||||||
_checkPwdView.backgroundColor = UIColor.whiteColor;
|
_checkPwdView.backgroundColor = UIColor.whiteColor;
|
||||||
[_checkPwdView.contentTextField addTarget:self action:@selector(textFieldDidChange:) forControlEvents:UIControlEventEditingChanged];
|
[_checkPwdView.contentTextField addTarget:self action:@selector(textFieldDidChange:) forControlEvents:UIControlEventEditingChanged];
|
||||||
_checkPwdView.layer.cornerRadius = 50/2.f;
|
_checkPwdView.layer.cornerRadius = 50/2.f;
|
||||||
@@ -253,7 +250,7 @@
|
|||||||
_submitButton.enabled = YES;
|
_submitButton.enabled = YES;
|
||||||
UIImage *image = [UIImage gradientColorImageFromColors:@[[MEWThemeColor mewColorWithHexString:@"#FF60FD"], [MEWThemeColor mewColorWithHexString:@"#8974FF"],[MEWThemeColor mewColorWithHexString:@"#69EBFF"]] gradientType:GradientTypeLeftToRight imgSize:CGSizeMake(KScreenWidth - 2*36, 52)];
|
UIImage *image = [UIImage gradientColorImageFromColors:@[[MEWThemeColor mewColorWithHexString:@"#FF60FD"], [MEWThemeColor mewColorWithHexString:@"#8974FF"],[MEWThemeColor mewColorWithHexString:@"#69EBFF"]] gradientType:GradientTypeLeftToRight imgSize:CGSizeMake(KScreenWidth - 2*36, 52)];
|
||||||
_submitButton.backgroundColor = [UIColor colorWithPatternImage:image];
|
_submitButton.backgroundColor = [UIColor colorWithPatternImage:image];
|
||||||
[_submitButton addTarget:self action:@selector(submitButtonAction:) forControlEvents:UIControlEventTouchUpInside];
|
[_submitButton addTarget:self action:@selector(mew_submitButtonAction:) forControlEvents:UIControlEventTouchUpInside];
|
||||||
}
|
}
|
||||||
return _submitButton;
|
return _submitButton;
|
||||||
}
|
}
|
||||||
@@ -265,7 +262,7 @@
|
|||||||
[_forgetButton setTitleColor:UIColor.whiteColor forState:UIControlStateNormal];
|
[_forgetButton setTitleColor:UIColor.whiteColor forState:UIControlStateNormal];
|
||||||
[_forgetButton setTitle:@"忘记密码?" forState:UIControlStateNormal];
|
[_forgetButton setTitle:@"忘记密码?" forState:UIControlStateNormal];
|
||||||
_forgetButton.titleLabel.font = [UIFont systemFontOfSize:13];
|
_forgetButton.titleLabel.font = [UIFont systemFontOfSize:13];
|
||||||
[_forgetButton addTarget:self action:@selector(forgetButtonAction:) forControlEvents:UIControlEventTouchUpInside];
|
[_forgetButton addTarget:self action:@selector(mew_forgetButtonAction:) forControlEvents:UIControlEventTouchUpInside];
|
||||||
}
|
}
|
||||||
return _forgetButton;
|
return _forgetButton;
|
||||||
}
|
}
|
@@ -26,7 +26,7 @@
|
|||||||
/// 获取用户信息
|
/// 获取用户信息
|
||||||
/// @param uid 用户uid
|
/// @param uid 用户uid
|
||||||
- (void)mew_getMessageUserInfo:(NSString *)uid {
|
- (void)mew_getMessageUserInfo:(NSString *)uid {
|
||||||
[Api userDetailInfoCompletion:[self createHttpCompletion:^(BaseModel * _Nonnull data) {
|
[Api Mew_UserDetailInfoCompletion:[self createHttpCompletion:^(BaseModel * _Nonnull data) {
|
||||||
UserInfoModel * infoModel = [UserInfoModel mewModelWithDictionary:data.data];
|
UserInfoModel * infoModel = [UserInfoModel mewModelWithDictionary:data.data];
|
||||||
[[self getView] mew_onGetSessionUserInfoSuccess:infoModel];
|
[[self getView] mew_onGetSessionUserInfoSuccess:infoModel];
|
||||||
}fail:^(NSInteger code, NSString * _Nullable msg) {
|
}fail:^(NSInteger code, NSString * _Nullable msg) {
|
||||||
@@ -37,7 +37,7 @@
|
|||||||
///是否关注当前用户
|
///是否关注当前用户
|
||||||
- (void)mew_getFansLike:(NSString *)likeUid {
|
- (void)mew_getFansLike:(NSString *)likeUid {
|
||||||
NSString * uid = [AccountInfoStorage instance].getUid;
|
NSString * uid = [AccountInfoStorage instance].getUid;
|
||||||
[Api attentionStatusCompletion:[self createHttpCompletion:^(BaseModel * _Nonnull data) {
|
[Api Mew_AttentionStatusCompletion:[self createHttpCompletion:^(BaseModel * _Nonnull data) {
|
||||||
BOOL isLike = [data.data boolValue];
|
BOOL isLike = [data.data boolValue];
|
||||||
[[self getView] mew_getFansLikeSuccess:isLike];
|
[[self getView] mew_getFansLikeSuccess:isLike];
|
||||||
}] uid:uid isLikeUid:likeUid];
|
}] uid:uid isLikeUid:likeUid];
|
||||||
@@ -49,7 +49,7 @@
|
|||||||
NSString * uid = [[AccountInfoStorage instance] getUid];
|
NSString * uid = [[AccountInfoStorage instance] getUid];
|
||||||
NSString * ticket = [[AccountInfoStorage instance] getTicket];
|
NSString * ticket = [[AccountInfoStorage instance] getTicket];
|
||||||
NSString * type = @"1";
|
NSString * type = @"1";
|
||||||
[Api attentionCompletion:[self createHttpCompletion:^(BaseModel * _Nonnull data) {
|
[Api Mew_AttentionCompletion:[self createHttpCompletion:^(BaseModel * _Nonnull data) {
|
||||||
[[self getView] mew_attentionUserSuccess:targetUid];
|
[[self getView] mew_attentionUserSuccess:targetUid];
|
||||||
[[NSNotificationCenter defaultCenter]postNotificationName:@"kAttentionUserNotification" object:nil];
|
[[NSNotificationCenter defaultCenter]postNotificationName:@"kAttentionUserNotification" object:nil];
|
||||||
} showLoading:YES] uid:uid likedUid:targetUid ticket:ticket type:type];
|
} showLoading:YES] uid:uid likedUid:targetUid ticket:ticket type:type];
|
||||||
|
@@ -22,7 +22,7 @@
|
|||||||
/// P
|
/// P
|
||||||
#import "MewMessageContentProtocol.h"
|
#import "MewMessageContentProtocol.h"
|
||||||
///Model
|
///Model
|
||||||
//#import "AttachmentModel.h"
|
//#import "MewAttachmentModel.h"
|
||||||
|
|
||||||
@interface MewSessionMessageCell()
|
@interface MewSessionMessageCell()
|
||||||
|
|
||||||
|
@@ -16,19 +16,19 @@ NS_ASSUME_NONNULL_BEGIN
|
|||||||
/// @param page 当前页数
|
/// @param page 当前页数
|
||||||
/// @param pageSize 一页多少个
|
/// @param pageSize 一页多少个
|
||||||
/// @param roomType 类型:4:个播房;其他:派对房;不传:所有房间
|
/// @param roomType 类型:4:个播房;其他:派对房;不传:所有房间
|
||||||
+ (void)requestMineCollectRoomList:(HttpRequestHelperCompletion)completion uid:(NSString *)uid page:(NSString *)page pageSize:(NSString *)pageSize roomType:(NSString *)roomType;
|
+ (void)Mew_RequestMineCollectRoomList:(HttpRequestHelperCompletion)completion uid:(NSString *)uid page:(NSString *)page pageSize:(NSString *)pageSize roomType:(NSString *)roomType;
|
||||||
|
|
||||||
/// 退出当前账号
|
/// 退出当前账号
|
||||||
/// @param completion 完成
|
/// @param completion 完成
|
||||||
/// @param access_token token
|
/// @param access_token token
|
||||||
+ (void)logoutCurrentAccount:(HttpRequestHelperCompletion)completion access_token:(NSString *)access_token;
|
+ (void)Mew_LogoutCurrentAccount:(HttpRequestHelperCompletion)completion access_token:(NSString *)access_token;
|
||||||
|
|
||||||
/// 获取用户详情
|
/// 获取用户详情
|
||||||
/// @param completion 完成
|
/// @param completion 完成
|
||||||
/// @param uid 发起关注的人
|
/// @param uid 发起关注的人
|
||||||
/// @param page page
|
/// @param page page
|
||||||
/// @param pageSize pagesize
|
/// @param pageSize pagesize
|
||||||
+ (void)userDetailInfoCompletion:(HttpRequestHelperCompletion)completion uid:(NSString *)uid page:(NSString *)page pageSize:(NSString *)pageSize;
|
+ (void)Mew_UserDetailInfoCompletion:(HttpRequestHelperCompletion)completion uid:(NSString *)uid page:(NSString *)page pageSize:(NSString *)pageSize;
|
||||||
|
|
||||||
/// 关注某人
|
/// 关注某人
|
||||||
/// @param completion 完成
|
/// @param completion 完成
|
||||||
@@ -36,13 +36,13 @@ NS_ASSUME_NONNULL_BEGIN
|
|||||||
/// @param likedUid 被关注的人
|
/// @param likedUid 被关注的人
|
||||||
/// @param ticket ticket
|
/// @param ticket ticket
|
||||||
/// @param type 1 关注 2取消关注
|
/// @param type 1 关注 2取消关注
|
||||||
+ (void)attentionCompletion:(HttpRequestHelperCompletion)completion uid:(NSString *)uid likedUid:(NSString *)likedUid ticket:(NSString *)ticket type:(NSString *)type;
|
+ (void)Mew_AttentionCompletion:(HttpRequestHelperCompletion)completion uid:(NSString *)uid likedUid:(NSString *)likedUid ticket:(NSString *)ticket type:(NSString *)type;
|
||||||
|
|
||||||
/// 查询两个人的关注状态
|
/// 查询两个人的关注状态
|
||||||
/// @param completion 完成
|
/// @param completion 完成
|
||||||
/// @param uid 自己的uid
|
/// @param uid 自己的uid
|
||||||
/// @param isLikeUid 要查询的那个人的uid
|
/// @param isLikeUid 要查询的那个人的uid
|
||||||
+ (void)attentionStatusCompletion:(HttpRequestHelperCompletion)completion uid:(NSString *)uid isLikeUid:(NSString *)isLikeUid;
|
+ (void)Mew_AttentionStatusCompletion:(HttpRequestHelperCompletion)completion uid:(NSString *)uid isLikeUid:(NSString *)isLikeUid;
|
||||||
|
|
||||||
|
|
||||||
/// 获取关注列表
|
/// 获取关注列表
|
||||||
@@ -50,13 +50,13 @@ NS_ASSUME_NONNULL_BEGIN
|
|||||||
/// @param uid 用户的uid
|
/// @param uid 用户的uid
|
||||||
/// @param pageNo 当前页数
|
/// @param pageNo 当前页数
|
||||||
/// @param pageSize 一页多少个
|
/// @param pageSize 一页多少个
|
||||||
+ (void)getattentionListCompletion:(HttpRequestHelperCompletion)completion uid:(NSString *)uid pageNo:(NSString *)pageNo pageSize:(NSString *)pageSize;
|
+ (void)Mew_GetAttentionListCompletion:(HttpRequestHelperCompletion)completion uid:(NSString *)uid pageNo:(NSString *)pageNo pageSize:(NSString *)pageSize;
|
||||||
|
|
||||||
|
|
||||||
/// 请求充值列表
|
/// 请求充值列表
|
||||||
/// @param complection 完成
|
/// @param complection 完成
|
||||||
/// @param channelType channel
|
/// @param channelType channel
|
||||||
+ (void)getRechargeList:(HttpRequestHelperCompletion)complection
|
+ (void)Mew_GetRechargeList:(HttpRequestHelperCompletion)complection
|
||||||
channelType:(NSString *)channelType;
|
channelType:(NSString *)channelType;
|
||||||
|
|
||||||
/// 苹果下单
|
/// 苹果下单
|
||||||
@@ -66,7 +66,7 @@ NS_ASSUME_NONNULL_BEGIN
|
|||||||
/// @param ticket ticket
|
/// @param ticket ticket
|
||||||
/// @param deviceInfo uuid
|
/// @param deviceInfo uuid
|
||||||
/// @param clientIp ip地址
|
/// @param clientIp ip地址
|
||||||
+ (void)requestIAPRecharge:(HttpRequestHelperCompletion)complection
|
+ (void)Mew_RequestIAPRecharge:(HttpRequestHelperCompletion)complection
|
||||||
chargeProdId:(NSString *)chargeProdId
|
chargeProdId:(NSString *)chargeProdId
|
||||||
uid:(NSString *)uid
|
uid:(NSString *)uid
|
||||||
ticket:(NSString *)ticket
|
ticket:(NSString *)ticket
|
||||||
@@ -81,7 +81,7 @@ NS_ASSUME_NONNULL_BEGIN
|
|||||||
/// @param transcationId 内购的唯一标识符
|
/// @param transcationId 内购的唯一标识符
|
||||||
/// @param uid 用户uid
|
/// @param uid 用户uid
|
||||||
/// @param ticket ticket
|
/// @param ticket ticket
|
||||||
+ (void)checkReceipt:(HttpRequestHelperCompletion)complection
|
+ (void)Mew_CheckReceipt:(HttpRequestHelperCompletion)complection
|
||||||
receipt:(NSString *)receipt
|
receipt:(NSString *)receipt
|
||||||
chooseEnv:(NSString *)chooseEnv
|
chooseEnv:(NSString *)chooseEnv
|
||||||
chargeRecordId:(NSString *)chargeRecordId
|
chargeRecordId:(NSString *)chargeRecordId
|
||||||
@@ -96,21 +96,21 @@ NS_ASSUME_NONNULL_BEGIN
|
|||||||
/// @param transcationId 内购的唯一标识符
|
/// @param transcationId 内购的唯一标识符
|
||||||
/// @param uid 用户uid
|
/// @param uid 用户uid
|
||||||
/// @param ticket ticket
|
/// @param ticket ticket
|
||||||
+ (void)checkReceipt:(HttpRequestHelperCompletion)completion chooseEnv:(NSString *)chooseEnv chargeRecordId:(NSString *)chargeRecordId transcationId:(NSString *)transcationId uid:(NSString *)uid ticket:(NSString *)ticket;
|
+ (void)Mew_CheckReceipt:(HttpRequestHelperCompletion)completion chooseEnv:(NSString *)chooseEnv chargeRecordId:(NSString *)chargeRecordId transcationId:(NSString *)transcationId uid:(NSString *)uid ticket:(NSString *)ticket;
|
||||||
|
|
||||||
|
|
||||||
/// 设置登录密码
|
/// 设置登录密码
|
||||||
/// @param completion 完成
|
/// @param completion 完成
|
||||||
/// @param phone 手机号
|
/// @param phone 手机号
|
||||||
/// @param newPwd 新的密码
|
/// @param newPwd 新的密码
|
||||||
+ (void)setLoingPassword:(HttpRequestHelperCompletion)completion phone:(NSString *)phone newPwd:(NSString *)newPwd;
|
+ (void)Mew_SetLoingPassword:(HttpRequestHelperCompletion)completion phone:(NSString *)phone newPwd:(NSString *)newPwd;
|
||||||
|
|
||||||
/// 修改 登录密码
|
/// 修改 登录密码
|
||||||
/// @param completion 完成
|
/// @param completion 完成
|
||||||
/// @param phone 手机号
|
/// @param phone 手机号
|
||||||
/// @param newPwd 新的密码
|
/// @param newPwd 新的密码
|
||||||
/// @param pwd 旧密码
|
/// @param pwd 旧密码
|
||||||
+ (void)modifyLoingPassword:(HttpRequestHelperCompletion)completion phone:(NSString *)phone newPwd:(NSString *)newPwd pwd:(NSString *)pwd;
|
+ (void)Mew_ModifyLoingPassword:(HttpRequestHelperCompletion)completion phone:(NSString *)phone newPwd:(NSString *)newPwd pwd:(NSString *)pwd;
|
||||||
|
|
||||||
@end
|
@end
|
||||||
|
|
||||||
|
@@ -15,7 +15,7 @@
|
|||||||
/// @param page 当前页数
|
/// @param page 当前页数
|
||||||
/// @param pageSize 一页多少个
|
/// @param pageSize 一页多少个
|
||||||
/// @param roomType 类型:4:个播房;其他:派对房;不传:所有房间
|
/// @param roomType 类型:4:个播房;其他:派对房;不传:所有房间
|
||||||
+ (void)requestMineCollectRoomList:(HttpRequestHelperCompletion)completion uid:(NSString *)uid page:(NSString *)page pageSize:(NSString *)pageSize roomType:(NSString *)roomType {
|
+ (void)Mew_RequestMineCollectRoomList:(HttpRequestHelperCompletion)completion uid:(NSString *)uid page:(NSString *)page pageSize:(NSString *)pageSize roomType:(NSString *)roomType {
|
||||||
NSString *getUrl = [NewEncryptTool MEW_aesDecrypt:@"xbrIaF3tjG37mRyRC97ZrffhHg2YaksxPephr1wGtYI="];//fans/fansRoomList
|
NSString *getUrl = [NewEncryptTool MEW_aesDecrypt:@"xbrIaF3tjG37mRyRC97ZrffhHg2YaksxPephr1wGtYI="];//fans/fansRoomList
|
||||||
[self makeRequest:getUrl method:HttpRequestHelperMethodGET completion:completion, __FUNCTION__,uid , page, pageSize, roomType, nil];
|
[self makeRequest:getUrl method:HttpRequestHelperMethodGET completion:completion, __FUNCTION__,uid , page, pageSize, roomType, nil];
|
||||||
}
|
}
|
||||||
@@ -23,7 +23,7 @@
|
|||||||
/// 退出当前账号
|
/// 退出当前账号
|
||||||
/// @param completion 完成
|
/// @param completion 完成
|
||||||
/// @param access_token token
|
/// @param access_token token
|
||||||
+ (void)logoutCurrentAccount:(HttpRequestHelperCompletion)completion access_token:(NSString *)access_token {
|
+ (void)Mew_LogoutCurrentAccount:(HttpRequestHelperCompletion)completion access_token:(NSString *)access_token {
|
||||||
NSString *getUrl = [NewEncryptTool MEW_aesDecrypt:@"73cfDtRGGthZvJUN7DktoA=="];///acc/logout
|
NSString *getUrl = [NewEncryptTool MEW_aesDecrypt:@"73cfDtRGGthZvJUN7DktoA=="];///acc/logout
|
||||||
[self makeRequest:getUrl method:HttpRequestHelperMethodPOST completion:completion, __FUNCTION__, access_token, nil];
|
[self makeRequest:getUrl method:HttpRequestHelperMethodPOST completion:completion, __FUNCTION__, access_token, nil];
|
||||||
}
|
}
|
||||||
@@ -34,7 +34,7 @@
|
|||||||
/// @param uid 发起关注的人
|
/// @param uid 发起关注的人
|
||||||
/// @param page page
|
/// @param page page
|
||||||
/// @param pageSize pagesize
|
/// @param pageSize pagesize
|
||||||
+ (void)userDetailInfoCompletion:(HttpRequestHelperCompletion)completion uid:(NSString *)uid page:(NSString *)page pageSize:(NSString *)pageSize {
|
+ (void)Mew_UserDetailInfoCompletion:(HttpRequestHelperCompletion)completion uid:(NSString *)uid page:(NSString *)page pageSize:(NSString *)pageSize {
|
||||||
NSString *getUrl = [NewEncryptTool MEW_aesDecrypt:@"W7uzbHnGUU1RiDHmTvViGQ=="];///user/detail/get
|
NSString *getUrl = [NewEncryptTool MEW_aesDecrypt:@"W7uzbHnGUU1RiDHmTvViGQ=="];///user/detail/get
|
||||||
[self makeRequest:getUrl method:HttpRequestHelperMethodGET completion:completion, __FUNCTION__, uid, page, pageSize, nil];
|
[self makeRequest:getUrl method:HttpRequestHelperMethodGET completion:completion, __FUNCTION__, uid, page, pageSize, nil];
|
||||||
}
|
}
|
||||||
@@ -46,7 +46,7 @@
|
|||||||
/// @param likedUid 被关注的人
|
/// @param likedUid 被关注的人
|
||||||
/// @param ticket ticket
|
/// @param ticket ticket
|
||||||
/// @param type 1 关注 2取消关注
|
/// @param type 1 关注 2取消关注
|
||||||
+ (void)attentionCompletion:(HttpRequestHelperCompletion)completion uid:(NSString *)uid likedUid:(NSString *)likedUid ticket:(NSString *)ticket type:(NSString *)type {
|
+ (void)Mew_AttentionCompletion:(HttpRequestHelperCompletion)completion uid:(NSString *)uid likedUid:(NSString *)likedUid ticket:(NSString *)ticket type:(NSString *)type {
|
||||||
NSString *getUrl = [NewEncryptTool MEW_aesDecrypt:@"atxkzRc+U9YS4UOIpECXlw=="];///fans/like
|
NSString *getUrl = [NewEncryptTool MEW_aesDecrypt:@"atxkzRc+U9YS4UOIpECXlw=="];///fans/like
|
||||||
[self makeRequest:getUrl method:HttpRequestHelperMethodPOST completion:completion, __FUNCTION__, uid, likedUid, ticket, type, nil];
|
[self makeRequest:getUrl method:HttpRequestHelperMethodPOST completion:completion, __FUNCTION__, uid, likedUid, ticket, type, nil];
|
||||||
}
|
}
|
||||||
@@ -55,7 +55,7 @@
|
|||||||
/// @param completion 完成
|
/// @param completion 完成
|
||||||
/// @param uid 自己的uid
|
/// @param uid 自己的uid
|
||||||
/// @param isLikeUid 要查询的那个人的uid
|
/// @param isLikeUid 要查询的那个人的uid
|
||||||
+ (void)attentionStatusCompletion:(HttpRequestHelperCompletion)completion uid:(NSString *)uid isLikeUid:(NSString *)isLikeUid {
|
+ (void)Mew_AttentionStatusCompletion:(HttpRequestHelperCompletion)completion uid:(NSString *)uid isLikeUid:(NSString *)isLikeUid {
|
||||||
NSString *getUrl = [NewEncryptTool MEW_aesDecrypt:@"2D8AkLpUg8cU9aQTxO+Mmw=="];///fans/islike
|
NSString *getUrl = [NewEncryptTool MEW_aesDecrypt:@"2D8AkLpUg8cU9aQTxO+Mmw=="];///fans/islike
|
||||||
[self makeRequest:getUrl method:HttpRequestHelperMethodGET completion:completion,__FUNCTION__, uid, isLikeUid, nil];
|
[self makeRequest:getUrl method:HttpRequestHelperMethodGET completion:completion,__FUNCTION__, uid, isLikeUid, nil];
|
||||||
}
|
}
|
||||||
@@ -65,7 +65,7 @@
|
|||||||
/// @param uid 用户的uid
|
/// @param uid 用户的uid
|
||||||
/// @param pageNo 当前页数
|
/// @param pageNo 当前页数
|
||||||
/// @param pageSize 一页多少个
|
/// @param pageSize 一页多少个
|
||||||
+ (void)getattentionListCompletion:(HttpRequestHelperCompletion)completion uid:(NSString *)uid pageNo:(NSString *)pageNo pageSize:(NSString *)pageSize {
|
+ (void)Mew_GetAttentionListCompletion:(HttpRequestHelperCompletion)completion uid:(NSString *)uid pageNo:(NSString *)pageNo pageSize:(NSString *)pageSize {
|
||||||
NSString *getUrl = [NewEncryptTool MEW_aesDecrypt:@"INF19c+8RN4ef4v8DIWwJQ=="];///fans/following
|
NSString *getUrl = [NewEncryptTool MEW_aesDecrypt:@"INF19c+8RN4ef4v8DIWwJQ=="];///fans/following
|
||||||
[self makeRequest:getUrl method:HttpRequestHelperMethodGET completion:completion, __FUNCTION__, uid, pageNo, pageSize, nil];
|
[self makeRequest:getUrl method:HttpRequestHelperMethodGET completion:completion, __FUNCTION__, uid, pageNo, pageSize, nil];
|
||||||
}
|
}
|
||||||
@@ -75,7 +75,7 @@
|
|||||||
/// 请求充值列表
|
/// 请求充值列表
|
||||||
/// @param completion 完成
|
/// @param completion 完成
|
||||||
/// @param channelType channel
|
/// @param channelType channel
|
||||||
+ (void)getRechargeList:(HttpRequestHelperCompletion)completion channelType:(NSString *)channelType {
|
+ (void)Mew_GetRechargeList:(HttpRequestHelperCompletion)completion channelType:(NSString *)channelType {
|
||||||
NSString *getUrl = [NewEncryptTool MEW_aesDecrypt:@"tJGng+8YSnwgwk5S0i5New=="];////chargeprod/list
|
NSString *getUrl = [NewEncryptTool MEW_aesDecrypt:@"tJGng+8YSnwgwk5S0i5New=="];////chargeprod/list
|
||||||
[self makeRequest:getUrl method:HttpRequestHelperMethodGET completion:completion, __FUNCTION__,channelType, nil];
|
[self makeRequest:getUrl method:HttpRequestHelperMethodGET completion:completion, __FUNCTION__,channelType, nil];
|
||||||
}
|
}
|
||||||
@@ -87,7 +87,7 @@
|
|||||||
/// @param ticket ticket
|
/// @param ticket ticket
|
||||||
/// @param deviceInfo uuid
|
/// @param deviceInfo uuid
|
||||||
/// @param clientIp ip地址
|
/// @param clientIp ip地址
|
||||||
+ (void)requestIAPRecharge:(HttpRequestHelperCompletion)completion chargeProdId:(NSString *)chargeProdId uid:(NSString *)uid ticket:(NSString *)ticket deviceInfo:(NSString *)deviceInfo clientIp:(NSString *)clientIp {
|
+ (void)Mew_RequestIAPRecharge:(HttpRequestHelperCompletion)completion chargeProdId:(NSString *)chargeProdId uid:(NSString *)uid ticket:(NSString *)ticket deviceInfo:(NSString *)deviceInfo clientIp:(NSString *)clientIp {
|
||||||
NSString *getUrl = [NewEncryptTool MEW_aesDecrypt:@"bwrNIwSuCtX9ebT29xed93rJaaaSsuxrTFso6OAppms="];//storeKitV/placeOrder
|
NSString *getUrl = [NewEncryptTool MEW_aesDecrypt:@"bwrNIwSuCtX9ebT29xed93rJaaaSsuxrTFso6OAppms="];//storeKitV/placeOrder
|
||||||
[self makeRequest:getUrl method:HttpRequestHelperMethodPOST completion:completion, __FUNCTION__,chargeProdId, uid, ticket, deviceInfo, clientIp, nil];
|
[self makeRequest:getUrl method:HttpRequestHelperMethodPOST completion:completion, __FUNCTION__,chargeProdId, uid, ticket, deviceInfo, clientIp, nil];
|
||||||
}
|
}
|
||||||
@@ -101,7 +101,7 @@
|
|||||||
/// @param transcationId 内购的唯一标识符
|
/// @param transcationId 内购的唯一标识符
|
||||||
/// @param uid 用户uid
|
/// @param uid 用户uid
|
||||||
/// @param ticket ticket
|
/// @param ticket ticket
|
||||||
+ (void)checkReceipt:(HttpRequestHelperCompletion)completion receipt:(NSString *)receipt chooseEnv:(NSString *)chooseEnv chargeRecordId:(NSString *)chargeRecordId transcationId:(NSString *)transcationId uid:(NSString *)uid ticket:(NSString *)ticket {
|
+ (void)Mew_CheckReceipt:(HttpRequestHelperCompletion)completion receipt:(NSString *)receipt chooseEnv:(NSString *)chooseEnv chargeRecordId:(NSString *)chargeRecordId transcationId:(NSString *)transcationId uid:(NSString *)uid ticket:(NSString *)ticket {
|
||||||
NSString *getUrl = [NewEncryptTool MEW_aesDecrypt:@"/sdsv2QZR4mbqOhGOocSTQ=="];////verify/setiap
|
NSString *getUrl = [NewEncryptTool MEW_aesDecrypt:@"/sdsv2QZR4mbqOhGOocSTQ=="];////verify/setiap
|
||||||
[self makeRequest:getUrl method:HttpRequestHelperMethodPOST completion:completion, __FUNCTION__,receipt, chooseEnv, chargeRecordId, transcationId, uid, ticket, nil];
|
[self makeRequest:getUrl method:HttpRequestHelperMethodPOST completion:completion, __FUNCTION__,receipt, chooseEnv, chargeRecordId, transcationId, uid, ticket, nil];
|
||||||
}
|
}
|
||||||
@@ -112,7 +112,7 @@
|
|||||||
/// @param transcationId 内购的唯一标识符
|
/// @param transcationId 内购的唯一标识符
|
||||||
/// @param uid 用户uid
|
/// @param uid 用户uid
|
||||||
/// @param ticket ticket
|
/// @param ticket ticket
|
||||||
+ (void)checkReceipt:(HttpRequestHelperCompletion)completion chooseEnv:(NSString *)chooseEnv chargeRecordId:(NSString *)chargeRecordId transcationId:(NSString *)transcationId uid:(NSString *)uid ticket:(NSString *)ticket {
|
+ (void)Mew_CheckReceipt:(HttpRequestHelperCompletion)completion chooseEnv:(NSString *)chooseEnv chargeRecordId:(NSString *)chargeRecordId transcationId:(NSString *)transcationId uid:(NSString *)uid ticket:(NSString *)ticket {
|
||||||
NSString *getUrl = [NewEncryptTool MEW_aesDecrypt:@"10iACYRNJ/Q7R019Q4DRNFPf0nODacTzggh6x9bvmOw="];//storeKitV2/verifyOrder
|
NSString *getUrl = [NewEncryptTool MEW_aesDecrypt:@"10iACYRNJ/Q7R019Q4DRNFPf0nODacTzggh6x9bvmOw="];//storeKitV2/verifyOrder
|
||||||
[self makeRequest:getUrl method:HttpRequestHelperMethodPOST completion:completion, __FUNCTION__, chooseEnv, chargeRecordId, transcationId, uid, ticket, nil];
|
[self makeRequest:getUrl method:HttpRequestHelperMethodPOST completion:completion, __FUNCTION__, chooseEnv, chargeRecordId, transcationId, uid, ticket, nil];
|
||||||
}
|
}
|
||||||
@@ -121,7 +121,7 @@
|
|||||||
/// @param completion 完成
|
/// @param completion 完成
|
||||||
/// @param phone 手机号
|
/// @param phone 手机号
|
||||||
/// @param newPwd 新的密码
|
/// @param newPwd 新的密码
|
||||||
+ (void)setLoingPassword:(HttpRequestHelperCompletion)completion phone:(NSString *)phone newPwd:(NSString *)newPwd {
|
+ (void)Mew_SetLoingPassword:(HttpRequestHelperCompletion)completion phone:(NSString *)phone newPwd:(NSString *)newPwd {
|
||||||
[self makeRequest:@"acc/pwd/set" method:HttpRequestHelperMethodPOST completion:completion, __FUNCTION__, phone, newPwd, nil];
|
[self makeRequest:@"acc/pwd/set" method:HttpRequestHelperMethodPOST completion:completion, __FUNCTION__, phone, newPwd, nil];
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -130,7 +130,7 @@
|
|||||||
/// @param phone 手机号
|
/// @param phone 手机号
|
||||||
/// @param newPwd 新的密码
|
/// @param newPwd 新的密码
|
||||||
/// @param pwd 旧密码
|
/// @param pwd 旧密码
|
||||||
+ (void)modifyLoingPassword:(HttpRequestHelperCompletion)completion phone:(NSString *)phone newPwd:(NSString *)newPwd pwd:(NSString *)pwd {
|
+ (void)Mew_ModifyLoingPassword:(HttpRequestHelperCompletion)completion phone:(NSString *)phone newPwd:(NSString *)newPwd pwd:(NSString *)pwd {
|
||||||
[self makeRequest:@"acc/pwd/modify" method:HttpRequestHelperMethodPOST completion:completion,__FUNCTION__, phone, newPwd, pwd, nil];
|
[self makeRequest:@"acc/pwd/modify" method:HttpRequestHelperMethodPOST completion:completion,__FUNCTION__, phone, newPwd, pwd, nil];
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@@ -1,12 +0,0 @@
|
|||||||
//
|
|
||||||
// FansInfoModel.m
|
|
||||||
// mew-ios
|
|
||||||
//
|
|
||||||
// Created by 触海 on 2023/11/18.
|
|
||||||
//
|
|
||||||
|
|
||||||
#import "FansInfoModel.h"
|
|
||||||
|
|
||||||
@implementation FansInfoModel
|
|
||||||
|
|
||||||
@end
|
|
@@ -1,5 +1,5 @@
|
|||||||
//
|
//
|
||||||
// FansInfoModel.h
|
// MewFansInfoModel.h
|
||||||
// mew-ios
|
// mew-ios
|
||||||
//
|
//
|
||||||
// Created by 触海 on 2023/11/18.
|
// Created by 触海 on 2023/11/18.
|
||||||
@@ -10,7 +10,7 @@
|
|||||||
|
|
||||||
NS_ASSUME_NONNULL_BEGIN
|
NS_ASSUME_NONNULL_BEGIN
|
||||||
|
|
||||||
@interface FansInfoModel : NSObject
|
@interface MewFansInfoModel : NSObject
|
||||||
///头像
|
///头像
|
||||||
@property (nonatomic,copy) NSString *avatar;
|
@property (nonatomic,copy) NSString *avatar;
|
||||||
///姓名
|
///姓名
|
@@ -0,0 +1,12 @@
|
|||||||
|
//
|
||||||
|
// MewFansInfoModel.m
|
||||||
|
// mew-ios
|
||||||
|
//
|
||||||
|
// Created by 触海 on 2023/11/18.
|
||||||
|
//
|
||||||
|
|
||||||
|
#import "MewFansInfoModel.h"
|
||||||
|
|
||||||
|
@implementation MewFansInfoModel
|
||||||
|
|
||||||
|
@end
|
@@ -1,5 +1,5 @@
|
|||||||
//
|
//
|
||||||
// MineCollectRoomModel.h
|
// MewMineCollectRoomModel.h
|
||||||
// mew-ios
|
// mew-ios
|
||||||
//
|
//
|
||||||
// Created by 触海 on 2023/11/9.
|
// Created by 触海 on 2023/11/9.
|
||||||
@@ -9,7 +9,7 @@
|
|||||||
|
|
||||||
NS_ASSUME_NONNULL_BEGIN
|
NS_ASSUME_NONNULL_BEGIN
|
||||||
|
|
||||||
@interface MineCollectRoomModel : NSObject
|
@interface MewMineCollectRoomModel : NSObject
|
||||||
///昵称
|
///昵称
|
||||||
@property (nonatomic,copy) NSString *nick;
|
@property (nonatomic,copy) NSString *nick;
|
||||||
///头像
|
///头像
|
@@ -0,0 +1,12 @@
|
|||||||
|
//
|
||||||
|
// MewMineCollectRoomModel.m
|
||||||
|
// mew-ios
|
||||||
|
//
|
||||||
|
// Created by 触海 on 2023/11/9.
|
||||||
|
//
|
||||||
|
|
||||||
|
#import "MewMineCollectRoomModel.h"
|
||||||
|
|
||||||
|
@implementation MewMineCollectRoomModel
|
||||||
|
|
||||||
|
@end
|
@@ -0,0 +1,29 @@
|
|||||||
|
//
|
||||||
|
// MewMineSettingItemModel.h
|
||||||
|
// mew-ios
|
||||||
|
//
|
||||||
|
// Created by 触海 on 2023/11/9.
|
||||||
|
//
|
||||||
|
|
||||||
|
#import <Foundation/Foundation.h>
|
||||||
|
|
||||||
|
NS_ASSUME_NONNULL_BEGIN
|
||||||
|
|
||||||
|
typedef NS_ENUM(NSInteger, MewMineSettingItemType){
|
||||||
|
MewMineSettingItemType_Phone, ///手机号
|
||||||
|
MewMineSettingItemType_Login_Password,///登录密码
|
||||||
|
MewMineSettingItemType_About_Us,///关于我们
|
||||||
|
MewMineSettingItemType_Cancel_Account ///注销账号
|
||||||
|
};
|
||||||
|
|
||||||
|
@interface MewMineSettingItemModel : NSObject
|
||||||
|
///标题
|
||||||
|
@property (nonatomic,copy) NSString *title;
|
||||||
|
///副标题
|
||||||
|
@property (nonatomic,copy,) NSString * __nullable subTitle;
|
||||||
|
///类型
|
||||||
|
@property (nonatomic,assign) MewMineSettingItemType type;
|
||||||
|
|
||||||
|
@end
|
||||||
|
|
||||||
|
NS_ASSUME_NONNULL_END
|
@@ -0,0 +1,12 @@
|
|||||||
|
//
|
||||||
|
// MewMineSettingItemModel.m
|
||||||
|
// mew-ios
|
||||||
|
//
|
||||||
|
// Created by 触海 on 2023/11/9.
|
||||||
|
//
|
||||||
|
|
||||||
|
#import "MewMineSettingItemModel.h"
|
||||||
|
|
||||||
|
@implementation MewMineSettingItemModel
|
||||||
|
|
||||||
|
@end
|
@@ -1,12 +0,0 @@
|
|||||||
//
|
|
||||||
// MineCollectRoomModel.m
|
|
||||||
// mew-ios
|
|
||||||
//
|
|
||||||
// Created by 触海 on 2023/11/9.
|
|
||||||
//
|
|
||||||
|
|
||||||
#import "MineCollectRoomModel.h"
|
|
||||||
|
|
||||||
@implementation MineCollectRoomModel
|
|
||||||
|
|
||||||
@end
|
|
@@ -1,5 +1,5 @@
|
|||||||
//
|
//
|
||||||
// RechargeListModel.h
|
// MewRechargeListModel.h
|
||||||
// mew-ios
|
// mew-ios
|
||||||
//
|
//
|
||||||
// Created by 触海 on 2023/11/17.
|
// Created by 触海 on 2023/11/17.
|
||||||
@@ -9,7 +9,7 @@
|
|||||||
|
|
||||||
NS_ASSUME_NONNULL_BEGIN
|
NS_ASSUME_NONNULL_BEGIN
|
||||||
|
|
||||||
@interface RechargeListModel : NSObject
|
@interface MewRechargeListModel : NSObject
|
||||||
///充值的id
|
///充值的id
|
||||||
@property(nonatomic, strong) NSString *chargeProdId;
|
@property(nonatomic, strong) NSString *chargeProdId;
|
||||||
@property(nonatomic, strong) NSString *prodName;
|
@property(nonatomic, strong) NSString *prodName;
|
@@ -0,0 +1,12 @@
|
|||||||
|
//
|
||||||
|
// MewRechargeListModel.m
|
||||||
|
// mew-ios
|
||||||
|
//
|
||||||
|
// Created by 触海 on 2023/11/17.
|
||||||
|
//
|
||||||
|
|
||||||
|
#import "MewRechargeListModel.h"
|
||||||
|
|
||||||
|
@implementation MewRechargeListModel
|
||||||
|
|
||||||
|
@end
|
@@ -1,5 +1,5 @@
|
|||||||
//
|
//
|
||||||
// WalletInfoModel.h
|
// MewWalletInfoModel.h
|
||||||
// mew-ios
|
// mew-ios
|
||||||
//
|
//
|
||||||
// Created by 触海 on 2023/11/17.
|
// Created by 触海 on 2023/11/17.
|
||||||
@@ -9,7 +9,7 @@
|
|||||||
|
|
||||||
NS_ASSUME_NONNULL_BEGIN
|
NS_ASSUME_NONNULL_BEGIN
|
||||||
|
|
||||||
@interface WalletInfoModel : NSObject
|
@interface MewWalletInfoModel : NSObject
|
||||||
/// 用户 uid
|
/// 用户 uid
|
||||||
@property(nonatomic, assign) NSInteger uid;
|
@property(nonatomic, assign) NSInteger uid;
|
||||||
/// 钻石数量
|
/// 钻石数量
|
@@ -0,0 +1,12 @@
|
|||||||
|
//
|
||||||
|
// MewWalletInfoModel.m
|
||||||
|
// mew-ios
|
||||||
|
//
|
||||||
|
// Created by 触海 on 2023/11/17.
|
||||||
|
//
|
||||||
|
|
||||||
|
#import "MewWalletInfoModel.h"
|
||||||
|
|
||||||
|
@implementation MewWalletInfoModel
|
||||||
|
|
||||||
|
@end
|
@@ -1,12 +0,0 @@
|
|||||||
//
|
|
||||||
// RechargeListModel.m
|
|
||||||
// mew-ios
|
|
||||||
//
|
|
||||||
// Created by 触海 on 2023/11/17.
|
|
||||||
//
|
|
||||||
|
|
||||||
#import "RechargeListModel.h"
|
|
||||||
|
|
||||||
@implementation RechargeListModel
|
|
||||||
|
|
||||||
@end
|
|
@@ -1,12 +0,0 @@
|
|||||||
//
|
|
||||||
// WalletInfoModel.m
|
|
||||||
// mew-ios
|
|
||||||
//
|
|
||||||
// Created by 触海 on 2023/11/17.
|
|
||||||
//
|
|
||||||
|
|
||||||
#import "WalletInfoModel.h"
|
|
||||||
|
|
||||||
@implementation WalletInfoModel
|
|
||||||
|
|
||||||
@end
|
|
@@ -1,29 +0,0 @@
|
|||||||
//
|
|
||||||
// YMMineSettingItemModel.h
|
|
||||||
// mew-ios
|
|
||||||
//
|
|
||||||
// Created by 触海 on 2023/11/9.
|
|
||||||
//
|
|
||||||
|
|
||||||
#import <Foundation/Foundation.h>
|
|
||||||
|
|
||||||
NS_ASSUME_NONNULL_BEGIN
|
|
||||||
|
|
||||||
typedef NS_ENUM(NSInteger, YMMineSettingItemType){
|
|
||||||
YMMineSettingItemType_Phone, ///手机号
|
|
||||||
YMMineSettingItemType_Login_Password,///登录密码
|
|
||||||
YMMineSettingItemType_About_Us,///关于我们
|
|
||||||
YMMineSettingItemType_Cancel_Account ///注销账号
|
|
||||||
};
|
|
||||||
|
|
||||||
@interface YMMineSettingItemModel : NSObject
|
|
||||||
///标题
|
|
||||||
@property (nonatomic,copy) NSString *title;
|
|
||||||
///副标题
|
|
||||||
@property (nonatomic,copy,) NSString * __nullable subTitle;
|
|
||||||
///类型
|
|
||||||
@property (nonatomic,assign) YMMineSettingItemType type;
|
|
||||||
|
|
||||||
@end
|
|
||||||
|
|
||||||
NS_ASSUME_NONNULL_END
|
|
@@ -1,12 +0,0 @@
|
|||||||
//
|
|
||||||
// YMMineSettingItemModel.m
|
|
||||||
// mew-ios
|
|
||||||
//
|
|
||||||
// Created by 触海 on 2023/11/9.
|
|
||||||
//
|
|
||||||
|
|
||||||
#import "YMMineSettingItemModel.h"
|
|
||||||
|
|
||||||
@implementation YMMineSettingItemModel
|
|
||||||
|
|
||||||
@end
|
|
@@ -1,5 +1,5 @@
|
|||||||
//
|
//
|
||||||
// YMMineCollectRoomPresenter.h
|
// MewMineCollectRoomPresenter.h
|
||||||
// mew-ios
|
// mew-ios
|
||||||
//
|
//
|
||||||
// Created by 触海 on 2023/11/9.
|
// Created by 触海 on 2023/11/9.
|
||||||
@@ -9,13 +9,13 @@
|
|||||||
|
|
||||||
NS_ASSUME_NONNULL_BEGIN
|
NS_ASSUME_NONNULL_BEGIN
|
||||||
|
|
||||||
@interface YMMineCollectRoomPresenter : BaseMvpPresenter
|
@interface MewMineCollectRoomPresenter : BaseMvpPresenter
|
||||||
|
|
||||||
/// 获取收藏房间列表
|
/// 获取收藏房间列表
|
||||||
/// @param page 当前的页数
|
/// @param page 当前的页数
|
||||||
/// @param pageSize 一页多少个
|
/// @param pageSize 一页多少个
|
||||||
/// @param type 类型:4:个播房;其他:派对房;不传:所有房间
|
/// @param type 类型:4:个播房;其他:派对房;不传:所有房间
|
||||||
- (void)getCollectRoomList:(int)page pageSize:(int)pageSize state:(int)state type:(NSString *)type;
|
- (void)mew_getCollectRoomList:(int)page pageSize:(int)pageSize state:(int)state type:(NSString *)type;
|
||||||
|
|
||||||
|
|
||||||
@end
|
@end
|
@@ -0,0 +1,31 @@
|
|||||||
|
//
|
||||||
|
// MewMineCollectRoomPresenter.m
|
||||||
|
// mew-ios
|
||||||
|
//
|
||||||
|
// Created by 触海 on 2023/11/9.
|
||||||
|
//
|
||||||
|
|
||||||
|
#import "MewMineCollectRoomPresenter.h"
|
||||||
|
#import "AccountInfoStorage.h"
|
||||||
|
#import "Api+Mine.h"
|
||||||
|
#import "MewMineCollectRoomModel.h"
|
||||||
|
#import "MewMineCollectRoomProtocol.h"
|
||||||
|
#import "NSArray+MEWSafe.h"
|
||||||
|
#import "NSObject+MEWExtension.h"
|
||||||
|
@implementation MewMineCollectRoomPresenter
|
||||||
|
|
||||||
|
/// 获取收藏房间列表
|
||||||
|
/// @param page 当前的页数
|
||||||
|
/// @param pageSize 一页多少个
|
||||||
|
/// @param type 类型:4:个播房;其他:派对房;不传:所有房间
|
||||||
|
- (void)mew_getCollectRoomList:(int)page pageSize:(int)pageSize state:(int)state type:(NSString *)type {
|
||||||
|
NSString * uid = [AccountInfoStorage instance].getUid;
|
||||||
|
[Api Mew_RequestMineCollectRoomList:[self createHttpCompletion:^(BaseModel * _Nonnull data) {
|
||||||
|
NSArray * array = [MewMineCollectRoomModel mewModelsWithArray:data.data[@"fansRoomList"]];
|
||||||
|
[[self getView] mew_fonGetCollectRoomListSuccess:array state:state];
|
||||||
|
} fail:^(NSInteger code, NSString * _Nullable msg) {
|
||||||
|
[[self getView] mew_getCollectRoomListFail:state];
|
||||||
|
}] uid:uid page:[NSString stringWithFormat:@"%d", page] pageSize:[NSString stringWithFormat:@"%d", pageSize] roomType:type.length ? type : NULL];
|
||||||
|
}
|
||||||
|
|
||||||
|
@end
|
@@ -1,5 +1,5 @@
|
|||||||
//
|
//
|
||||||
// MineRechargePresenter.h
|
// MewMineRechargePresenter.h
|
||||||
// yinmeng-ios
|
// yinmeng-ios
|
||||||
//
|
//
|
||||||
// Created by 触海 on 2023/11/22.
|
// Created by 触海 on 2023/11/22.
|
||||||
@@ -9,31 +9,31 @@
|
|||||||
|
|
||||||
NS_ASSUME_NONNULL_BEGIN
|
NS_ASSUME_NONNULL_BEGIN
|
||||||
|
|
||||||
@interface MineRechargePresenter : BaseMvpPresenter
|
@interface MewMineRechargePresenter : BaseMvpPresenter
|
||||||
|
|
||||||
/// 获取钱包信息
|
/// 获取钱包信息
|
||||||
- (void)getUserWalletInfo;
|
- (void)mew_getUserWalletInfo;
|
||||||
/// 请求内购列表
|
/// 请求内购列表
|
||||||
/// @param channel 目前是8
|
/// @param channel 目前是8
|
||||||
- (void)requestRechargeListWithChannel:(NSString *)channel;
|
- (void)mew_requestRechargeListWithChannel:(NSString *)channel;
|
||||||
|
|
||||||
/// 获取充值的订单编号
|
/// 获取充值的订单编号
|
||||||
/// @param chargeProdId 苹果服务器的充值 的id
|
/// @param chargeProdId 苹果服务器的充值 的id
|
||||||
- (void)requestIAPRechargeOrderWithChargeProdId:(NSString *)chargeProdId;
|
- (void)mew_requestIAPRechargeOrderWithChargeProdId:(NSString *)chargeProdId;
|
||||||
|
|
||||||
/// 充值成功二次验证
|
/// 充值成功二次验证
|
||||||
/// @param receipt 凭据
|
/// @param receipt 凭据
|
||||||
/// @param orderId 订单编号
|
/// @param orderId 订单编号
|
||||||
/// @param transcationId 商品id
|
/// @param transcationId 商品id
|
||||||
- (void)checkReceiptWithData:(NSString *)receipt orderId:(NSString *)orderId transcationId:(NSString *)transcationId;
|
- (void)mew_checkReceiptWithData:(NSString *)receipt orderId:(NSString *)orderId transcationId:(NSString *)transcationId;
|
||||||
|
|
||||||
/// 批量验证内购掉单
|
/// 批量验证内购掉单
|
||||||
/// @param transcations 凭据的数组
|
/// @param transcations 凭据的数组
|
||||||
- (void)checkTranscationIds:(NSArray *)transcations;
|
- (void)mew_checkTranscationIds:(NSArray *)transcations;
|
||||||
/// 充值成功二次验证
|
/// 充值成功二次验证
|
||||||
/// @param orderId 订单编号
|
/// @param orderId 订单编号
|
||||||
/// @param transcationId 商品id
|
/// @param transcationId 商品id
|
||||||
- (void)checkReceiptWithOrderId:(NSString *)orderId transcationId:(NSString *)transcationId errorToast:(BOOL)errorToast;
|
- (void)mew_checkReceiptWithOrderId:(NSString *)orderId transcationId:(NSString *)transcationId errorToast:(BOOL)errorToast;
|
||||||
@end
|
@end
|
||||||
|
|
||||||
NS_ASSUME_NONNULL_END
|
NS_ASSUME_NONNULL_END
|
@@ -1,52 +1,52 @@
|
|||||||
//
|
//
|
||||||
// MineRechargePresenter.m
|
// MewMineRechargePresenter.m
|
||||||
// yinmeng-ios
|
// yinmeng-ios
|
||||||
//
|
//
|
||||||
// Created by 触海 on 2023/11/22.
|
// Created by 触海 on 2023/11/22.
|
||||||
//
|
//
|
||||||
|
|
||||||
#import "MineRechargePresenter.h"
|
#import "MewMineRechargePresenter.h"
|
||||||
/// Tool
|
/// Tool
|
||||||
#import "AccountInfoStorage.h"
|
#import "AccountInfoStorage.h"
|
||||||
#import "YYUtility.h"
|
#import "YYUtility.h"
|
||||||
#import "NSObject+MEWExtension.h"
|
#import "NSObject+MEWExtension.h"
|
||||||
///Api
|
///Api
|
||||||
#import "Api+Mine.h"
|
#import "Api+Mine.h"
|
||||||
#import "RechargeListModel.h"
|
#import "MewRechargeListModel.h"
|
||||||
#import "WalletInfoModel.h"
|
#import "MewWalletInfoModel.h"
|
||||||
#import "MineRechargeProtocol.h"
|
#import "MewMineRechargeProtocol.h"
|
||||||
|
|
||||||
@implementation MineRechargePresenter
|
@implementation MewMineRechargePresenter
|
||||||
|
|
||||||
|
|
||||||
/// 获取钱包信息
|
/// 获取钱包信息
|
||||||
- (void)getUserWalletInfo {
|
- (void)mew_getUserWalletInfo {
|
||||||
NSString * uid = [AccountInfoStorage instance].getUid;
|
NSString * uid = [AccountInfoStorage instance].getUid;
|
||||||
NSString * ticket = [AccountInfoStorage instance].getTicket;
|
NSString * ticket = [AccountInfoStorage instance].getTicket;
|
||||||
[Api getUserWalletInfo:[self createHttpCompletion:^(BaseModel * _Nonnull data) {
|
[Api mew_getUserWalletInfo:[self createHttpCompletion:^(BaseModel * _Nonnull data) {
|
||||||
WalletInfoModel * model = [WalletInfoModel mewModelWithDictionary:data.data];
|
MewWalletInfoModel * model = [MewWalletInfoModel mewModelWithDictionary:data.data];
|
||||||
[[self getView] getUserWalletInfo:model];
|
[[self getView] mew_getUserWalletInfo:model];
|
||||||
}] uid:uid ticket:ticket];
|
}] uid:uid ticket:ticket];
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
/// 请求内购列表
|
/// 请求内购列表
|
||||||
/// @param channel 目前是8
|
/// @param channel 目前是8
|
||||||
- (void)requestRechargeListWithChannel:(NSString *)channel {
|
- (void)mew_requestRechargeListWithChannel:(NSString *)channel {
|
||||||
[Api getRechargeList:[self createHttpCompletion:^(BaseModel * _Nonnull data) {
|
[Api Mew_GetRechargeList:[self createHttpCompletion:^(BaseModel * _Nonnull data) {
|
||||||
NSArray * array = [RechargeListModel mewModelsWithArray:data.data];
|
NSArray * array = [MewRechargeListModel mewModelsWithArray:data.data];
|
||||||
[[self getView] requestRechargeListSucccess:array];
|
[[self getView] mew_requestRechargeListSucccess:array];
|
||||||
}] channelType:channel];
|
}] channelType:channel];
|
||||||
}
|
}
|
||||||
|
|
||||||
/// 获取充值的订单编号
|
/// 获取充值的订单编号
|
||||||
/// @param chargeProdId 苹果服务器的充值 的id
|
/// @param chargeProdId 苹果服务器的充值 的id
|
||||||
- (void)requestIAPRechargeOrderWithChargeProdId:(NSString *)chargeProdId {
|
- (void)mew_requestIAPRechargeOrderWithChargeProdId:(NSString *)chargeProdId {
|
||||||
NSString * uid = [AccountInfoStorage instance].getUid;
|
NSString * uid = [AccountInfoStorage instance].getUid;
|
||||||
NSString * ticket = [AccountInfoStorage instance].getTicket;
|
NSString * ticket = [AccountInfoStorage instance].getTicket;
|
||||||
NSString * deviceInfo = [YYUtility deviceID];
|
NSString * deviceInfo = [YYUtility deviceID];
|
||||||
NSString * clientIp= [YYUtility ipAddress];
|
NSString * clientIp= [YYUtility ipAddress];
|
||||||
[Api requestIAPRecharge:[self createHttpCompletion:^(BaseModel * _Nonnull data) {
|
[Api Mew_RequestIAPRecharge:[self createHttpCompletion:^(BaseModel * _Nonnull data) {
|
||||||
NSString *orderId = (NSString *)data.data[@"recordId"];
|
NSString *orderId = (NSString *)data.data[@"recordId"];
|
||||||
NSString *mew_uuid = (NSString *)data.data[@"appAccountToken"];
|
NSString *mew_uuid = (NSString *)data.data[@"appAccountToken"];
|
||||||
[[self getView] mew_requestIAPRechargeOrderSuccess:orderId chargeProdId:chargeProdId uuid:mew_uuid];
|
[[self getView] mew_requestIAPRechargeOrderSuccess:orderId chargeProdId:chargeProdId uuid:mew_uuid];
|
||||||
@@ -61,10 +61,10 @@
|
|||||||
/// 充值成功二次验证
|
/// 充值成功二次验证
|
||||||
/// @param orderId 订单编号
|
/// @param orderId 订单编号
|
||||||
/// @param transcationId 商品id
|
/// @param transcationId 商品id
|
||||||
- (void)checkReceiptWithOrderId:(NSString *)orderId transcationId:(NSString *)transcationId errorToast:(BOOL)errorToast{
|
- (void)mew_checkReceiptWithOrderId:(NSString *)orderId transcationId:(NSString *)transcationId errorToast:(BOOL)errorToast{
|
||||||
NSString * uid = [AccountInfoStorage instance].getUid;
|
NSString * uid = [AccountInfoStorage instance].getUid;
|
||||||
NSString * ticket = [AccountInfoStorage instance].getTicket;
|
NSString * ticket = [AccountInfoStorage instance].getTicket;
|
||||||
[Api checkReceipt:[self createHttpCompletion:^(BaseModel * _Nonnull data) {
|
[Api Mew_CheckReceipt:[self createHttpCompletion:^(BaseModel * _Nonnull data) {
|
||||||
[[self getView] mew_checkReceiptSuccess:transcationId];
|
[[self getView] mew_checkReceiptSuccess:transcationId];
|
||||||
}fail:^(NSInteger code, NSString * _Nullable msg) {
|
}fail:^(NSInteger code, NSString * _Nullable msg) {
|
||||||
[[self getView]mew_checkReceiptFailWithCode:code transcationId:transcationId];
|
[[self getView]mew_checkReceiptFailWithCode:code transcationId:transcationId];
|
||||||
@@ -75,10 +75,10 @@
|
|||||||
/// @param receipt 凭据
|
/// @param receipt 凭据
|
||||||
/// @param orderId 订单编号
|
/// @param orderId 订单编号
|
||||||
/// @param transcationId 商品id
|
/// @param transcationId 商品id
|
||||||
- (void)checkReceiptWithData:(NSString *)receipt orderId:(NSString *)orderId transcationId:(NSString *)transcationId {
|
- (void)mew_checkReceiptWithData:(NSString *)receipt orderId:(NSString *)orderId transcationId:(NSString *)transcationId {
|
||||||
NSString * uid = [AccountInfoStorage instance].getUid;
|
NSString * uid = [AccountInfoStorage instance].getUid;
|
||||||
NSString * ticket = [AccountInfoStorage instance].getTicket;
|
NSString * ticket = [AccountInfoStorage instance].getTicket;
|
||||||
[Api checkReceipt:[self createHttpCompletion:^(BaseModel * _Nonnull data) {
|
[Api Mew_CheckReceipt:[self createHttpCompletion:^(BaseModel * _Nonnull data) {
|
||||||
[[self getView] mew_checkReceiptSuccess:transcationId];
|
[[self getView] mew_checkReceiptSuccess:transcationId];
|
||||||
} showLoading:YES] receipt:receipt chooseEnv:@"true" chargeRecordId:orderId transcationId:transcationId uid:uid ticket:ticket];
|
} showLoading:YES] receipt:receipt chooseEnv:@"true" chargeRecordId:orderId transcationId:transcationId uid:uid ticket:ticket];
|
||||||
}
|
}
|
||||||
@@ -86,10 +86,10 @@
|
|||||||
|
|
||||||
/// 批量验证内购掉单
|
/// 批量验证内购掉单
|
||||||
/// @param transcations 凭据的数组
|
/// @param transcations 凭据的数组
|
||||||
- (void)checkTranscationIds:(NSArray *)transcations {
|
- (void)mew_checkTranscationIds:(NSArray *)transcations {
|
||||||
NSString * transcationIdStr = [transcations mewToJSONString];
|
NSString * transcationIdStr = [transcations mewToJSONString];
|
||||||
[Api requestCheckTranscationIds:[self createHttpCompletion:^(BaseModel * _Nonnull data) {
|
[Api requestCheckTranscationIds:[self createHttpCompletion:^(BaseModel * _Nonnull data) {
|
||||||
[[self getView] checkTranscationIdsSuccess];
|
[[self getView] mew_checkTranscationIdsSuccess];
|
||||||
}] transcationIdStr:transcationIdStr];
|
}] transcationIdStr:transcationIdStr];
|
||||||
}
|
}
|
||||||
|
|
@@ -1,5 +1,5 @@
|
|||||||
//
|
//
|
||||||
// YMMineSettingPresenter.h
|
// MewMineSettingPresenter.h
|
||||||
// mew-ios
|
// mew-ios
|
||||||
//
|
//
|
||||||
// Created by 触海 on 2023/11/9.
|
// Created by 触海 on 2023/11/9.
|
||||||
@@ -10,16 +10,16 @@
|
|||||||
|
|
||||||
NS_ASSUME_NONNULL_BEGIN
|
NS_ASSUME_NONNULL_BEGIN
|
||||||
|
|
||||||
@interface YMMineSettingPresenter : BaseMvpPresenter
|
@interface MewMineSettingPresenter : BaseMvpPresenter
|
||||||
/// 获取用户信息
|
/// 获取用户信息
|
||||||
- (void)getUserInfo;
|
- (void)mew_getUserInfo;
|
||||||
|
|
||||||
/// 获取数据源
|
/// 获取数据源
|
||||||
/// @param userinfo 当前的用户信息
|
/// @param userinfo 当前的用户信息
|
||||||
- (void)getMineSettingDataSourceWith:(UserInfoModel *)userinfo;
|
- (void)mew_getMineSettingDataSourceWith:(UserInfoModel *)userinfo;
|
||||||
|
|
||||||
/// 退出当前账号
|
/// 退出当前账号
|
||||||
- (void)logoutCurrentAccount;
|
- (void)mew_logoutCurrentAccount;
|
||||||
|
|
||||||
@end
|
@end
|
||||||
|
|
@@ -1,55 +1,55 @@
|
|||||||
//
|
//
|
||||||
// YMMineSettingPresenter.m
|
// MewMineSettingPresenter.m
|
||||||
// mew-ios
|
// mew-ios
|
||||||
//
|
//
|
||||||
// Created by 触海 on 2023/11/9.
|
// Created by 触海 on 2023/11/9.
|
||||||
//
|
//
|
||||||
|
|
||||||
#import "YMMineSettingPresenter.h"
|
#import "MewMineSettingPresenter.h"
|
||||||
#import "AccountInfoStorage.h"
|
#import "AccountInfoStorage.h"
|
||||||
#import "Api+Mine.h"
|
#import "Api+Mine.h"
|
||||||
///Model
|
///Model
|
||||||
#import "UserInfoModel.h"
|
#import "UserInfoModel.h"
|
||||||
#import "AccountModel.h"
|
#import "AccountModel.h"
|
||||||
#import "YMMineSettingItemModel.h"
|
#import "MewMineSettingItemModel.h"
|
||||||
/// protocol
|
/// protocol
|
||||||
#import "YMMineSettingProtocol.h"
|
#import "MewMineSettingProtocol.h"
|
||||||
/// Tool
|
/// Tool
|
||||||
#import "Base.h"
|
#import "Base.h"
|
||||||
|
|
||||||
@implementation YMMineSettingPresenter
|
@implementation MewMineSettingPresenter
|
||||||
- (id<YMMineSettingProtocol>)getView {
|
- (id<MewMineSettingProtocol>)getView {
|
||||||
return (id<YMMineSettingProtocol>)[super getView];
|
return (id<MewMineSettingProtocol>)[super getView];
|
||||||
}
|
}
|
||||||
|
|
||||||
/// 审核模式下的数据源
|
/// 审核模式下的数据源
|
||||||
- (void)getMineSettingDataSourceWith:(UserInfoModel *)userinfo {
|
- (void)mew_getMineSettingDataSourceWith:(UserInfoModel *)userinfo {
|
||||||
|
|
||||||
YMMineSettingItemModel *phoneItem = [[YMMineSettingItemModel alloc] init];
|
MewMineSettingItemModel *phoneItem = [[MewMineSettingItemModel alloc] init];
|
||||||
phoneItem.title = @"手机号码";
|
phoneItem.title = @"手机号码";
|
||||||
phoneItem.subTitle = userinfo.isBindPhone ? userinfo.phone : @"设置";
|
phoneItem.subTitle = userinfo.isBindPhone ? userinfo.phone : @"设置";
|
||||||
phoneItem.type = YMMineSettingItemType_Phone;
|
phoneItem.type = MewMineSettingItemType_Phone;
|
||||||
|
|
||||||
YMMineSettingItemModel * loginItem = [[YMMineSettingItemModel alloc] init];
|
MewMineSettingItemModel * loginItem = [[MewMineSettingItemModel alloc] init];
|
||||||
loginItem.title = userinfo.isBindPasswd ? @"重置密码" : @"设置密码";
|
loginItem.title = userinfo.isBindPasswd ? @"重置密码" : @"设置密码";
|
||||||
loginItem.subTitle = @"设置";
|
loginItem.subTitle = @"设置";
|
||||||
loginItem.type = YMMineSettingItemType_Login_Password;
|
loginItem.type = MewMineSettingItemType_Login_Password;
|
||||||
|
|
||||||
YMMineSettingItemModel * aboutusItem = [[YMMineSettingItemModel alloc] init];
|
MewMineSettingItemModel * aboutusItem = [[MewMineSettingItemModel alloc] init];
|
||||||
aboutusItem.title = [NSString stringWithFormat:@"关于"];
|
aboutusItem.title = [NSString stringWithFormat:@"关于"];
|
||||||
aboutusItem.subTitle = @"";
|
aboutusItem.subTitle = @"";
|
||||||
aboutusItem.type = YMMineSettingItemType_About_Us;
|
aboutusItem.type = MewMineSettingItemType_About_Us;
|
||||||
|
|
||||||
YMMineSettingItemModel * cancelItem = [[YMMineSettingItemModel alloc] init];
|
MewMineSettingItemModel * cancelItem = [[MewMineSettingItemModel alloc] init];
|
||||||
cancelItem.title = @"注销账号";
|
cancelItem.title = @"注销账号";
|
||||||
cancelItem.subTitle = @"";
|
cancelItem.subTitle = @"";
|
||||||
cancelItem.type = YMMineSettingItemType_Cancel_Account;
|
cancelItem.type = MewMineSettingItemType_Cancel_Account;
|
||||||
NSArray *dataModel = @[phoneItem, loginItem, aboutusItem, cancelItem];
|
NSArray *dataModel = @[phoneItem, loginItem, aboutusItem, cancelItem];
|
||||||
[[self getView] getMineSettingDatasourceSuccess:dataModel];
|
[[self getView] mew_getMineSettingDatasourceSuccess:dataModel];
|
||||||
}
|
}
|
||||||
|
|
||||||
/// 获取用户信息
|
/// 获取用户信息
|
||||||
- (void)getUserInfo {
|
- (void)mew_getUserInfo {
|
||||||
NSString *uid = [[AccountInfoStorage instance] getUid];
|
NSString *uid = [[AccountInfoStorage instance] getUid];
|
||||||
[Api getUserInfo:[self createHttpCompletion:^(BaseModel * _Nonnull data) {
|
[Api getUserInfo:[self createHttpCompletion:^(BaseModel * _Nonnull data) {
|
||||||
UserInfoModel *userInfo = [UserInfoModel mewModelWithDictionary:data.data];
|
UserInfoModel *userInfo = [UserInfoModel mewModelWithDictionary:data.data];
|
||||||
@@ -58,12 +58,11 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
/// 退出当前账号
|
/// 退出当前账号
|
||||||
- (void)logoutCurrentAccount {
|
- (void)mew_logoutCurrentAccount {
|
||||||
/// 判断是否最小化房间
|
/// 判断是否最小化房间
|
||||||
|
|
||||||
AccountModel *model = [[AccountInfoStorage instance] accountModel];
|
AccountModel *model = [[AccountInfoStorage instance] accountModel];
|
||||||
[Api logoutCurrentAccount:[self createHttpCompletion:^(BaseModel * _Nonnull data) {
|
[Api Mew_LogoutCurrentAccount:[self createHttpCompletion:^(BaseModel * _Nonnull data) {
|
||||||
[[self getView] logoutCurrentAccountSuccess];
|
[[self getView] mew_logoutCurrentAccountSuccess];
|
||||||
[self logout];
|
[self logout];
|
||||||
}] access_token:model.access_token];
|
}] access_token:model.access_token];
|
||||||
}
|
}
|
@@ -1,5 +1,5 @@
|
|||||||
//
|
//
|
||||||
// YMMineCollectRoomProtocol.h
|
// MewMineCollectRoomProtocol.h
|
||||||
// mew-ios
|
// mew-ios
|
||||||
//
|
//
|
||||||
// Created by 触海 on 2023/11/9.
|
// Created by 触海 on 2023/11/9.
|
||||||
@@ -9,7 +9,7 @@
|
|||||||
|
|
||||||
NS_ASSUME_NONNULL_BEGIN
|
NS_ASSUME_NONNULL_BEGIN
|
||||||
|
|
||||||
@protocol YMMineCollectRoomProtocol <NSObject>
|
@protocol MewMineCollectRoomProtocol <NSObject>
|
||||||
///获取收藏房间列表成功
|
///获取收藏房间列表成功
|
||||||
- (void)mew_fonGetCollectRoomListSuccess:(NSArray *)array state:(int)state;
|
- (void)mew_fonGetCollectRoomListSuccess:(NSArray *)array state:(int)state;
|
||||||
|
|
@@ -0,0 +1,31 @@
|
|||||||
|
//
|
||||||
|
// MewMineRechargeProtocol.h
|
||||||
|
// yinmeng-ios
|
||||||
|
//
|
||||||
|
// Created by 触海 on 2023/11/22.
|
||||||
|
//
|
||||||
|
|
||||||
|
#import <Foundation/Foundation.h>
|
||||||
|
@class MewRechargeListModel;
|
||||||
|
|
||||||
|
NS_ASSUME_NONNULL_BEGIN
|
||||||
|
|
||||||
|
@protocol MewMineRechargeProtocol <NSObject>
|
||||||
|
@optional
|
||||||
|
///请求钱包余额信息
|
||||||
|
- (void)mew_getUserWalletInfo:(MewWalletInfoModel *)balanceInfo;
|
||||||
|
///请求充值列表成功
|
||||||
|
- (void)mew_requestRechargeListSucccess:(NSArray<MewRechargeListModel *> *)list;
|
||||||
|
///请求充值id的状态成功
|
||||||
|
- (void)mew_requestIAPRechargeOrderSuccess:(NSString *)orderId chargeProdId:(NSString *)chargeProdId uuid:(NSString *)uuid;
|
||||||
|
///请求充值账单失败
|
||||||
|
- (void)mew_requestIAPRechargeOrderFail;
|
||||||
|
///二次校验成功
|
||||||
|
- (void)mew_checkReceiptSuccess:(NSString *)transcationId;
|
||||||
|
///批量验证凭据成功
|
||||||
|
- (void)mew_checkTranscationIdsSuccess;
|
||||||
|
///二次校验失败
|
||||||
|
- (void)mew_checkReceiptFailWithCode:(NSInteger)code transcationId:(NSString *)transcationId;
|
||||||
|
@end
|
||||||
|
|
||||||
|
NS_ASSUME_NONNULL_END
|
@@ -1,5 +1,5 @@
|
|||||||
//
|
//
|
||||||
// YMMineSettingProtocol.h
|
// MewMineSettingProtocol.h
|
||||||
// mew-ios
|
// mew-ios
|
||||||
//
|
//
|
||||||
// Created by 触海 on 2023/11/9.
|
// Created by 触海 on 2023/11/9.
|
||||||
@@ -10,14 +10,14 @@
|
|||||||
|
|
||||||
NS_ASSUME_NONNULL_BEGIN
|
NS_ASSUME_NONNULL_BEGIN
|
||||||
|
|
||||||
@protocol YMMineSettingProtocol <NSObject>
|
@protocol MewMineSettingProtocol <NSObject>
|
||||||
|
|
||||||
/// 获取数据成功
|
/// 获取数据成功
|
||||||
- (void)getMineSettingDatasourceSuccess:(NSArray *)array;
|
- (void)mew_getMineSettingDatasourceSuccess:(NSArray *)array;
|
||||||
///获取用户信息成功
|
///获取用户信息成功
|
||||||
- (void)mew_onGetUserInfoSuccess:(UserInfoModel *)userInfo;
|
- (void)mew_onGetUserInfoSuccess:(UserInfoModel *)userInfo;
|
||||||
///退出当前账号成功
|
///退出当前账号成功
|
||||||
- (void)logoutCurrentAccountSuccess;
|
- (void)mew_logoutCurrentAccountSuccess;
|
||||||
|
|
||||||
@end
|
@end
|
||||||
|
|
@@ -0,0 +1,17 @@
|
|||||||
|
//
|
||||||
|
// MewMineCollectRoomCell.h
|
||||||
|
// mew-ios
|
||||||
|
//
|
||||||
|
// Created by 触海 on 2023/11/9.
|
||||||
|
//
|
||||||
|
|
||||||
|
#import <UIKit/UIKit.h>
|
||||||
|
@class MewMineCollectRoomModel;
|
||||||
|
|
||||||
|
NS_ASSUME_NONNULL_BEGIN
|
||||||
|
|
||||||
|
@interface MewMineCollectRoomCell : UITableViewCell
|
||||||
|
@property (nonatomic,strong) MewMineCollectRoomModel *roomInfo;
|
||||||
|
@end
|
||||||
|
|
||||||
|
NS_ASSUME_NONNULL_END
|
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user