Compare commits
11 Commits
Author | SHA1 | Date | |
---|---|---|---|
![]() |
05382132d2 | ||
![]() |
620dd0f83c | ||
![]() |
d2a8a54d97 | ||
![]() |
00e84ea21d | ||
![]() |
79d34e791a | ||
![]() |
53f6965421 | ||
![]() |
ebaad60549 | ||
![]() |
e6afe4ba33 | ||
![]() |
a054d160ea | ||
![]() |
84f2877bd2 | ||
![]() |
048cc8dddd |
4
Podfile
4
Podfile
@@ -24,8 +24,7 @@ target 'xplan-ios' do
|
|||||||
pod 'SZTextView'
|
pod 'SZTextView'
|
||||||
#轮播图
|
#轮播图
|
||||||
pod 'SDCycleScrollView'
|
pod 'SDCycleScrollView'
|
||||||
#上传图片
|
|
||||||
pod 'Qiniu'
|
|
||||||
#内购
|
#内购
|
||||||
pod 'IAPHelper'
|
pod 'IAPHelper'
|
||||||
#持久化存储
|
#持久化存储
|
||||||
@@ -72,6 +71,7 @@ target 'xplan-ios' do
|
|||||||
pod 'WechatOpenSDK'
|
pod 'WechatOpenSDK'
|
||||||
#调试
|
#调试
|
||||||
pod 'LookinServer', :configurations => ['Debug']
|
pod 'LookinServer', :configurations => ['Debug']
|
||||||
|
pod 'QCloudCOSXML'
|
||||||
|
|
||||||
end
|
end
|
||||||
post_install do |installer|
|
post_install do |installer|
|
||||||
|
186
Podfile.lock
186
Podfile.lock
@@ -14,92 +14,98 @@ PODS:
|
|||||||
- AFNetworking/Serialization (4.0.1)
|
- AFNetworking/Serialization (4.0.1)
|
||||||
- AFNetworking/UIKit (4.0.1):
|
- AFNetworking/UIKit (4.0.1):
|
||||||
- AFNetworking/NSURLSession
|
- AFNetworking/NSURLSession
|
||||||
- AgoraRtcEngine_iOS (4.2.2):
|
- AgoraRtcEngine_iOS (4.2.6):
|
||||||
- AgoraRtcEngine_iOS/AIAEC (= 4.2.2)
|
- AgoraRtcEngine_iOS/AIAEC (= 4.2.6)
|
||||||
- AgoraRtcEngine_iOS/AINS (= 4.2.2)
|
- AgoraRtcEngine_iOS/AINS (= 4.2.6)
|
||||||
- AgoraRtcEngine_iOS/AudioBeauty (= 4.2.2)
|
- AgoraRtcEngine_iOS/AudioBeauty (= 4.2.6)
|
||||||
- AgoraRtcEngine_iOS/ClearVision (= 4.2.2)
|
- AgoraRtcEngine_iOS/ClearVision (= 4.2.6)
|
||||||
- AgoraRtcEngine_iOS/ContentInspect (= 4.2.2)
|
- AgoraRtcEngine_iOS/ContentInspect (= 4.2.6)
|
||||||
- AgoraRtcEngine_iOS/DRM (= 4.2.2)
|
- AgoraRtcEngine_iOS/DRM (= 4.2.6)
|
||||||
- AgoraRtcEngine_iOS/FaceDetection (= 4.2.2)
|
- AgoraRtcEngine_iOS/FaceDetection (= 4.2.6)
|
||||||
- AgoraRtcEngine_iOS/ReplayKit (= 4.2.2)
|
- AgoraRtcEngine_iOS/ReplayKit (= 4.2.6)
|
||||||
- AgoraRtcEngine_iOS/RtcBasic (= 4.2.2)
|
- AgoraRtcEngine_iOS/RtcBasic (= 4.2.6)
|
||||||
- AgoraRtcEngine_iOS/SpatialAudio (= 4.2.2)
|
- AgoraRtcEngine_iOS/SpatialAudio (= 4.2.6)
|
||||||
- AgoraRtcEngine_iOS/VideoCodecDec (= 4.2.2)
|
- AgoraRtcEngine_iOS/VideoCodecDec (= 4.2.6)
|
||||||
- AgoraRtcEngine_iOS/VideoCodecEnc (= 4.2.2)
|
- AgoraRtcEngine_iOS/VideoCodecEnc (= 4.2.6)
|
||||||
- AgoraRtcEngine_iOS/VirtualBackground (= 4.2.2)
|
- AgoraRtcEngine_iOS/VirtualBackground (= 4.2.6)
|
||||||
- AgoraRtcEngine_iOS/VQA (= 4.2.2)
|
- AgoraRtcEngine_iOS/VQA (= 4.2.6)
|
||||||
- AgoraRtcEngine_iOS/AIAEC (4.2.2)
|
- AgoraRtcEngine_iOS/AIAEC (4.2.6)
|
||||||
- AgoraRtcEngine_iOS/AINS (4.2.2)
|
- AgoraRtcEngine_iOS/AINS (4.2.6)
|
||||||
- AgoraRtcEngine_iOS/AudioBeauty (4.2.2)
|
- AgoraRtcEngine_iOS/AudioBeauty (4.2.6)
|
||||||
- AgoraRtcEngine_iOS/ClearVision (4.2.2)
|
- AgoraRtcEngine_iOS/ClearVision (4.2.6)
|
||||||
- AgoraRtcEngine_iOS/ContentInspect (4.2.2)
|
- AgoraRtcEngine_iOS/ContentInspect (4.2.6)
|
||||||
- AgoraRtcEngine_iOS/DRM (4.2.2)
|
- AgoraRtcEngine_iOS/DRM (4.2.6)
|
||||||
- AgoraRtcEngine_iOS/FaceDetection (4.2.2)
|
- AgoraRtcEngine_iOS/FaceDetection (4.2.6)
|
||||||
- AgoraRtcEngine_iOS/ReplayKit (4.2.2)
|
- AgoraRtcEngine_iOS/ReplayKit (4.2.6)
|
||||||
- AgoraRtcEngine_iOS/RtcBasic (4.2.2)
|
- AgoraRtcEngine_iOS/RtcBasic (4.2.6)
|
||||||
- AgoraRtcEngine_iOS/SpatialAudio (4.2.2)
|
- AgoraRtcEngine_iOS/SpatialAudio (4.2.6)
|
||||||
- AgoraRtcEngine_iOS/VideoCodecDec (4.2.2)
|
- AgoraRtcEngine_iOS/VideoCodecDec (4.2.6)
|
||||||
- AgoraRtcEngine_iOS/VideoCodecEnc (4.2.2)
|
- AgoraRtcEngine_iOS/VideoCodecEnc (4.2.6)
|
||||||
- AgoraRtcEngine_iOS/VirtualBackground (4.2.2)
|
- AgoraRtcEngine_iOS/VirtualBackground (4.2.6)
|
||||||
- AgoraRtcEngine_iOS/VQA (4.2.2)
|
- AgoraRtcEngine_iOS/VQA (4.2.6)
|
||||||
- AlipaySDK-iOS (15.8.11)
|
- AlipaySDK-iOS (15.8.16)
|
||||||
- Base64 (1.1.2)
|
- Base64 (1.1.2)
|
||||||
- Bugly (2.5.93)
|
- Bugly (2.5.93)
|
||||||
- CocoaAsyncSocket (7.6.5)
|
- CocoaAsyncSocket (7.6.5)
|
||||||
- FFPopup (1.1.5)
|
- FFPopup (1.1.5)
|
||||||
- FLAnimatedImage (1.0.17)
|
- FLAnimatedImage (1.0.17)
|
||||||
- HappyDNS (0.3.17)
|
|
||||||
- IAPHelper (1.1)
|
- IAPHelper (1.1)
|
||||||
- IQKeyboardManager (6.5.9)
|
- IQKeyboardManager (6.5.17)
|
||||||
- JXCategoryView (1.5.9)
|
- JXCategoryView (1.6.1)
|
||||||
- JXPagingView/Pager (2.1.2)
|
- JXPagingView/Pager (2.1.2)
|
||||||
- LinkedME_LinkPage (1.5.5.4)
|
- LinkedME_LinkPage (1.5.5.4)
|
||||||
- LookinServer (1.0.4)
|
- LookinServer (1.2.6):
|
||||||
|
- LookinServer/Core (= 1.2.6)
|
||||||
|
- LookinServer/Core (1.2.6)
|
||||||
- MarqueeLabel-ObjC (3.3.0)
|
- MarqueeLabel-ObjC (3.3.0)
|
||||||
- Masonry (1.1.0)
|
- Masonry (1.1.0)
|
||||||
- MBProgressHUD (1.2.0)
|
- MBProgressHUD (1.2.0)
|
||||||
- MJExtension (3.3.0)
|
- MJExtension (3.4.1)
|
||||||
- MJRefresh (3.7.3)
|
- MJRefresh (3.7.6)
|
||||||
- mob_sharesdk (4.4.13):
|
- mob_sharesdk (4.4.23):
|
||||||
- mob_sharesdk/ShareSDK (= 4.4.13)
|
- mob_sharesdk/ShareSDK (= 4.4.23)
|
||||||
- MOBFoundation (>= 3.2.9)
|
- MOBFoundation (>= 3.2.9)
|
||||||
- mob_sharesdk/ShareSDK (4.4.13):
|
- mob_sharesdk/ShareSDK (4.4.23):
|
||||||
- MOBFoundation (>= 3.2.9)
|
- MOBFoundation (>= 3.2.9)
|
||||||
- mob_sharesdk/ShareSDKExtension (4.4.13):
|
- mob_sharesdk/ShareSDKExtension (4.4.23):
|
||||||
- mob_sharesdk/ShareSDK
|
- mob_sharesdk/ShareSDK
|
||||||
- MOBFoundation (>= 3.2.9)
|
- MOBFoundation (>= 3.2.9)
|
||||||
- mob_sharesdk/ShareSDKPlatforms/Apple (4.4.13):
|
- mob_sharesdk/ShareSDKPlatforms/Apple (4.4.23):
|
||||||
- mob_sharesdk/ShareSDK
|
- mob_sharesdk/ShareSDK
|
||||||
- MOBFoundation (>= 3.2.9)
|
- MOBFoundation (>= 3.2.9)
|
||||||
- mob_sharesdk/ShareSDKPlatforms/QQ (4.4.13):
|
- mob_sharesdk/ShareSDKPlatforms/QQ (4.4.23):
|
||||||
- mob_sharesdk/ShareSDK
|
- mob_sharesdk/ShareSDK
|
||||||
- MOBFoundation (>= 3.2.9)
|
- MOBFoundation (>= 3.2.9)
|
||||||
- mob_sharesdk/ShareSDKPlatforms/WeChat_Lite (4.4.13):
|
- mob_sharesdk/ShareSDKPlatforms/WeChat_Lite (4.4.23):
|
||||||
- mob_sharesdk/ShareSDK
|
- mob_sharesdk/ShareSDK
|
||||||
- MOBFoundation (>= 3.2.9)
|
- MOBFoundation (>= 3.2.9)
|
||||||
- MOBFoundation (3.2.48)
|
- MOBFoundation (3.2.63)
|
||||||
- NIMSDK_LITE (8.9.110)
|
- NIMSDK_LITE (8.9.124)
|
||||||
- NTESBaseComponent (1.4)
|
- NTESBaseComponent (1.8)
|
||||||
- NTESQuickPass (3.2.6):
|
- NTESQuickPass (3.4.9):
|
||||||
- NTESBaseComponent
|
- NTESBaseComponent
|
||||||
- pop (1.0.12)
|
- pop (1.0.12)
|
||||||
- Protobuf (3.19.1)
|
- Protobuf (3.25.3)
|
||||||
- QGVAPlayer (1.0.15)
|
- QCloudCore/Default (6.3.5):
|
||||||
- Qiniu (8.3.2):
|
- QCloudTrack/Beacon (= 6.3.5)
|
||||||
- HappyDNS (~> 0.3.17)
|
- QCloudCOSXML (6.3.5):
|
||||||
|
- QCloudCOSXML/Default (= 6.3.5)
|
||||||
|
- QCloudCOSXML/Default (6.3.5):
|
||||||
|
- QCloudCore/Default (= 6.3.5)
|
||||||
|
- QCloudTrack/Beacon (6.3.5)
|
||||||
|
- QGVAPlayer (1.0.19)
|
||||||
- QY_NIM_iOS_SDK (6.6.1)
|
- QY_NIM_iOS_SDK (6.6.1)
|
||||||
- ReactiveObjC (3.1.1)
|
- ReactiveObjC (3.1.1)
|
||||||
- SDCycleScrollView (1.82):
|
- SDCycleScrollView (1.82):
|
||||||
- SDWebImage (>= 5.0.0)
|
- SDWebImage (>= 5.0.0)
|
||||||
- SDWebImage (5.11.1):
|
- SDWebImage (5.19.0):
|
||||||
- SDWebImage/Core (= 5.11.1)
|
- SDWebImage/Core (= 5.19.0)
|
||||||
- SDWebImage/Core (5.11.1)
|
- SDWebImage/Core (5.19.0)
|
||||||
- SDWebImageFLPlugin (0.6.0):
|
- SDWebImageFLPlugin (0.6.0):
|
||||||
- FLAnimatedImage (>= 1.0.11)
|
- FLAnimatedImage (>= 1.0.11)
|
||||||
- SDWebImage/Core (~> 5.10)
|
- SDWebImage/Core (~> 5.10)
|
||||||
- SSKeychain (1.4.1)
|
- SSKeychain (1.4.1)
|
||||||
- SSZipArchive (2.4.2)
|
- SSZipArchive (2.4.3)
|
||||||
- SVGAPlayer (2.5.7):
|
- SVGAPlayer (2.5.7):
|
||||||
- SVGAPlayer/Core (= 2.5.7)
|
- SVGAPlayer/Core (= 2.5.7)
|
||||||
- SVGAPlayer/ProtoFiles (= 2.5.7)
|
- SVGAPlayer/ProtoFiles (= 2.5.7)
|
||||||
@@ -109,13 +115,17 @@ PODS:
|
|||||||
- SVGAPlayer/ProtoFiles (2.5.7):
|
- SVGAPlayer/ProtoFiles (2.5.7):
|
||||||
- Protobuf (~> 3.4)
|
- Protobuf (~> 3.4)
|
||||||
- SZTextView (1.3.0)
|
- SZTextView (1.3.0)
|
||||||
- TXLiteAVSDK_TRTC (11.4.14530):
|
- TXLiteAVSDK_TRTC (11.4.14571):
|
||||||
- TXLiteAVSDK_TRTC/TRTC (= 11.4.14530)
|
- TXLiteAVSDK_TRTC/TRTC (= 11.4.14571)
|
||||||
- TXLiteAVSDK_TRTC/TRTC (11.4.14530)
|
- TXLiteAVSDK_TRTC/TRTC (11.4.14571)
|
||||||
- TZImagePickerController (3.8.1)
|
- TZImagePickerController (3.8.4):
|
||||||
- UMCommon (7.3.5):
|
- TZImagePickerController/Basic (= 3.8.4)
|
||||||
|
- TZImagePickerController/Location (= 3.8.4)
|
||||||
|
- TZImagePickerController/Basic (3.8.4)
|
||||||
|
- TZImagePickerController/Location (3.8.4)
|
||||||
|
- UMCommon (7.4.5):
|
||||||
- UMDevice
|
- UMDevice
|
||||||
- UMDevice (2.0.5)
|
- UMDevice (3.3.0)
|
||||||
- WechatOpenSDK (2.0.2)
|
- WechatOpenSDK (2.0.2)
|
||||||
- YYCache (1.0.4)
|
- YYCache (1.0.4)
|
||||||
- YYImage (1.0.4):
|
- YYImage (1.0.4):
|
||||||
@@ -154,8 +164,8 @@ DEPENDENCIES:
|
|||||||
- NIMSDK_LITE (~> 8.9.0)
|
- NIMSDK_LITE (~> 8.9.0)
|
||||||
- NTESQuickPass
|
- NTESQuickPass
|
||||||
- pop (~> 1.0.12)
|
- pop (~> 1.0.12)
|
||||||
|
- QCloudCOSXML
|
||||||
- QGVAPlayer
|
- QGVAPlayer
|
||||||
- Qiniu
|
|
||||||
- QY_NIM_iOS_SDK (~> 6.6.1)
|
- QY_NIM_iOS_SDK (~> 6.6.1)
|
||||||
- ReactiveObjC
|
- ReactiveObjC
|
||||||
- SDCycleScrollView
|
- SDCycleScrollView
|
||||||
@@ -182,7 +192,6 @@ SPEC REPOS:
|
|||||||
- CocoaAsyncSocket
|
- CocoaAsyncSocket
|
||||||
- FFPopup
|
- FFPopup
|
||||||
- FLAnimatedImage
|
- FLAnimatedImage
|
||||||
- HappyDNS
|
|
||||||
- IAPHelper
|
- IAPHelper
|
||||||
- IQKeyboardManager
|
- IQKeyboardManager
|
||||||
- JXCategoryView
|
- JXCategoryView
|
||||||
@@ -201,8 +210,10 @@ SPEC REPOS:
|
|||||||
- NTESQuickPass
|
- NTESQuickPass
|
||||||
- pop
|
- pop
|
||||||
- Protobuf
|
- Protobuf
|
||||||
|
- QCloudCore
|
||||||
|
- QCloudCOSXML
|
||||||
|
- QCloudTrack
|
||||||
- QGVAPlayer
|
- QGVAPlayer
|
||||||
- Qiniu
|
|
||||||
- QY_NIM_iOS_SDK
|
- QY_NIM_iOS_SDK
|
||||||
- ReactiveObjC
|
- ReactiveObjC
|
||||||
- SDCycleScrollView
|
- SDCycleScrollView
|
||||||
@@ -224,53 +235,54 @@ SPEC REPOS:
|
|||||||
|
|
||||||
SPEC CHECKSUMS:
|
SPEC CHECKSUMS:
|
||||||
AFNetworking: 3bd23d814e976cd148d7d44c3ab78017b744cd58
|
AFNetworking: 3bd23d814e976cd148d7d44c3ab78017b744cd58
|
||||||
AgoraRtcEngine_iOS: c510de329cd905daff3f01fa4c872ea6d5eaee23
|
AgoraRtcEngine_iOS: ac647332ad8f86d79cf810601c9e62b28c3a4de0
|
||||||
AlipaySDK-iOS: a07b6eafa847a5b29acb6c150ea16d9792d5d167
|
AlipaySDK-iOS: 5e6011fbd546e7db6b43c1f527d164ee63f3d7cb
|
||||||
Base64: cecfb41a004124895a7bcee567a89bae5a89d49b
|
Base64: cecfb41a004124895a7bcee567a89bae5a89d49b
|
||||||
Bugly: b8715e6ec4004b7f7fbffab0643ba80545aee3da
|
Bugly: b8715e6ec4004b7f7fbffab0643ba80545aee3da
|
||||||
CocoaAsyncSocket: 065fd1e645c7abab64f7a6a2007a48038fdc6a99
|
CocoaAsyncSocket: 065fd1e645c7abab64f7a6a2007a48038fdc6a99
|
||||||
FFPopup: a208dcee8db3e54ec4a88fcd6481f6f5d85b7a83
|
FFPopup: a208dcee8db3e54ec4a88fcd6481f6f5d85b7a83
|
||||||
FLAnimatedImage: bbf914596368867157cc71b38a8ec834b3eeb32b
|
FLAnimatedImage: bbf914596368867157cc71b38a8ec834b3eeb32b
|
||||||
HappyDNS: 848ef73e24f2b0e2752064223ce2dc0dd88900ea
|
|
||||||
IAPHelper: fd74f53b0ac142eed085777b88b86a11746a2dd4
|
IAPHelper: fd74f53b0ac142eed085777b88b86a11746a2dd4
|
||||||
IQKeyboardManager: 241cc94ccabc9deb8f8bd7d12f00d73288d13ecc
|
IQKeyboardManager: 904d013844bbae0abe073f015487bfebe5476335
|
||||||
JXCategoryView: 2ef9ecfd3735158d009ce02d1f29811aa822da65
|
JXCategoryView: 7b1ee69ede4843c581688afe84d0f047723262f2
|
||||||
JXPagingView: 90924b364a2ff7e94db534fad1fa50925ff69ee4
|
JXPagingView: 90924b364a2ff7e94db534fad1fa50925ff69ee4
|
||||||
LinkedME_LinkPage: 0b443cec28582eb2d7e1c09987072e33e44083ec
|
LinkedME_LinkPage: 0b443cec28582eb2d7e1c09987072e33e44083ec
|
||||||
LookinServer: 743c1681771d0a8dcc38825325a080c3186404a5
|
LookinServer: de929b55f8fa2e241c18c39af3f900eaa9166389
|
||||||
MarqueeLabel-ObjC: 696eaa82e4fcc7fb53e4fdf37ac138f03bf022d6
|
MarqueeLabel-ObjC: 696eaa82e4fcc7fb53e4fdf37ac138f03bf022d6
|
||||||
Masonry: 678fab65091a9290e40e2832a55e7ab731aad201
|
Masonry: 678fab65091a9290e40e2832a55e7ab731aad201
|
||||||
MBProgressHUD: 3ee5efcc380f6a79a7cc9b363dd669c5e1ae7406
|
MBProgressHUD: 3ee5efcc380f6a79a7cc9b363dd669c5e1ae7406
|
||||||
MJExtension: 01704cca2b60a214c10761b6491eab74069d68a9
|
MJExtension: 21c5f6f8c4d5d8844b7ae8fbae08fed0b501f961
|
||||||
MJRefresh: ec9c53ff4abf3a9237b4283862f1bd51c2ee3fdb
|
MJRefresh: 2fe7fb43a5167ceda20bb7e63f130c04fd1814a5
|
||||||
mob_sharesdk: e8efde8dc7a872064c197a0af13eb5d06a2b143c
|
mob_sharesdk: 6081cd4584b581be65cdcb78ff82e8288f037f97
|
||||||
MOBFoundation: 5135f9e8310989a32b5ed4f130c01f4d8abc011a
|
MOBFoundation: 0f932708bf9fa5c07aea37992554ca1b3af9e572
|
||||||
NIMSDK_LITE: 299ff39677d705b91413d14ad352b32a1b0e72fe
|
NIMSDK_LITE: 48b43ff18d3d9634d36304e8c647a46bb05bc974
|
||||||
NTESBaseComponent: 9e97373eec7e5a26c39db26477bf99a37ee9e71a
|
NTESBaseComponent: 7b310e7e80bb6c27183176188b98356d200dbbc5
|
||||||
NTESQuickPass: 781bd12ee63681389fe9b646c837fa76e3a00e6e
|
NTESQuickPass: 248f5efa21c51227c391c3ff5110cf3ad4d3809b
|
||||||
pop: d582054913807fd11fd50bfe6a539d91c7e1a55a
|
pop: d582054913807fd11fd50bfe6a539d91c7e1a55a
|
||||||
Protobuf: 3724efa50cb2846d7ccebc8691c574e85fd74471
|
Protobuf: 8e9074797a13c484a79959fdb819ef4ae6da7dbe
|
||||||
QGVAPlayer: 002673a02b4e50f9f53d0673b87168b540a300ae
|
QCloudCore: 9ba71f98027912b87bde80084e074d4e443769f5
|
||||||
Qiniu: 61f1e2fdfb35b37f98c8f03a718faf12652f9994
|
QCloudCOSXML: e10fecf4f3bf55b56930162483c41c246237853f
|
||||||
|
QCloudTrack: a1e25308ead00d58db596b8564c7f197a8a06102
|
||||||
|
QGVAPlayer: a0bca68c9bd6f1c8de5ac2d10ddf98be6038cce9
|
||||||
QY_NIM_iOS_SDK: 7fbf411c9c299f3b904fcc5b494542f41a11f70c
|
QY_NIM_iOS_SDK: 7fbf411c9c299f3b904fcc5b494542f41a11f70c
|
||||||
ReactiveObjC: 011caa393aa0383245f2dcf9bf02e86b80b36040
|
ReactiveObjC: 011caa393aa0383245f2dcf9bf02e86b80b36040
|
||||||
SDCycleScrollView: a0d74c3384caa72bdfc81470bdbc8c14b3e1fbcf
|
SDCycleScrollView: a0d74c3384caa72bdfc81470bdbc8c14b3e1fbcf
|
||||||
SDWebImage: a7f831e1a65eb5e285e3fb046a23fcfbf08e696d
|
SDWebImage: 981fd7e860af070920f249fd092420006014c3eb
|
||||||
SDWebImageFLPlugin: 72efd2cfbf565bc438421abb426f4bcf7b670754
|
SDWebImageFLPlugin: 72efd2cfbf565bc438421abb426f4bcf7b670754
|
||||||
SSKeychain: 55cc80f66f5c73da827e3077f02e43528897db41
|
SSKeychain: 55cc80f66f5c73da827e3077f02e43528897db41
|
||||||
SSZipArchive: e7b4f3d9e780c2acc1764cd88fbf2de28f26e5b2
|
SSZipArchive: fe6a26b2a54d5a0890f2567b5cc6de5caa600aef
|
||||||
SVGAPlayer: 318b85a78b61292d6ae9dfcd651f3f0d1cdadd86
|
SVGAPlayer: 318b85a78b61292d6ae9dfcd651f3f0d1cdadd86
|
||||||
SZTextView: 094dc6acc9beec537685c545d6e3e0d4975174e1
|
SZTextView: 094dc6acc9beec537685c545d6e3e0d4975174e1
|
||||||
TXLiteAVSDK_TRTC: 72ff3c596f55555be2dd733291501eef5fae9ce5
|
TXLiteAVSDK_TRTC: 5be9b8b610608ad24525e88ac0c7ec5f146523d5
|
||||||
TZImagePickerController: 943511626019431372cf908f24c114521e484f0e
|
TZImagePickerController: f1c9f1cae6ac0e30b31aaa9698f9bf4a7cf5b84f
|
||||||
UMCommon: ab4d875ddefe1b06c60b577e4a58bc4d433ee067
|
UMCommon: 28cd03c308341f687f5269abd26a82d66f01837f
|
||||||
UMDevice: c13bbb2e8ca6c67d1e23e03162553e3ec5a8b5b0
|
UMDevice: f67106f8f1a8bc465ba20d376d896e178be66ba7
|
||||||
WechatOpenSDK: e79349b37d44c015210f39fd6d2379f0ec60efe2
|
WechatOpenSDK: e79349b37d44c015210f39fd6d2379f0ec60efe2
|
||||||
YYCache: 8105b6638f5e849296c71f331ff83891a4942952
|
YYCache: 8105b6638f5e849296c71f331ff83891a4942952
|
||||||
YYImage: 1e1b62a9997399593e4b9c4ecfbbabbf1d3f3b54
|
YYImage: 1e1b62a9997399593e4b9c4ecfbbabbf1d3f3b54
|
||||||
YYText: 5c461d709e24d55a182d1441c41dc639a18a4849
|
YYText: 5c461d709e24d55a182d1441c41dc639a18a4849
|
||||||
YYWebImage: 5f7f36aee2ae293f016d418c7d6ba05c4863e928
|
YYWebImage: 5f7f36aee2ae293f016d418c7d6ba05c4863e928
|
||||||
|
|
||||||
PODFILE CHECKSUM: 0f2e29ba8c875f839292918f612c6ec567ad4318
|
PODFILE CHECKSUM: 3bd419f422e49acfd1c9500a9a45ab79466fa77a
|
||||||
|
|
||||||
COCOAPODS: 1.12.1
|
COCOAPODS: 1.12.1
|
||||||
|
@@ -225,6 +225,9 @@
|
|||||||
23E1708C2AED2E080039DE62 /* YYTextAsyncLayer+XPTextAsyncLayer.m in Sources */ = {isa = PBXBuildFile; fileRef = 23E1708B2AED2E080039DE62 /* YYTextAsyncLayer+XPTextAsyncLayer.m */; };
|
23E1708C2AED2E080039DE62 /* YYTextAsyncLayer+XPTextAsyncLayer.m in Sources */ = {isa = PBXBuildFile; fileRef = 23E1708B2AED2E080039DE62 /* YYTextAsyncLayer+XPTextAsyncLayer.m */; };
|
||||||
23EEB0622B3C1B3F00E8CA05 /* MewMainHomeEmptyCell.m in Sources */ = {isa = PBXBuildFile; fileRef = 23EEB0612B3C1B3F00E8CA05 /* MewMainHomeEmptyCell.m */; };
|
23EEB0622B3C1B3F00E8CA05 /* MewMainHomeEmptyCell.m in Sources */ = {isa = PBXBuildFile; fileRef = 23EEB0612B3C1B3F00E8CA05 /* MewMainHomeEmptyCell.m */; };
|
||||||
23F8BFF82A7A392000A36763 /* XPRoomMessagePrivilegeCardCell.m in Sources */ = {isa = PBXBuildFile; fileRef = 23F8BFF72A7A392000A36763 /* XPRoomMessagePrivilegeCardCell.m */; };
|
23F8BFF82A7A392000A36763 /* XPRoomMessagePrivilegeCardCell.m in Sources */ = {isa = PBXBuildFile; fileRef = 23F8BFF72A7A392000A36763 /* XPRoomMessagePrivilegeCardCell.m */; };
|
||||||
|
23FE47CF2BB2C8CE00F09D23 /* YinMineSettingFillCodeView.m in Sources */ = {isa = PBXBuildFile; fileRef = 23FE47CE2BB2C8CE00F09D23 /* YinMineSettingFillCodeView.m */; };
|
||||||
|
23FE47D22BB2D98300F09D23 /* YinMineSettingPopUpView.m in Sources */ = {isa = PBXBuildFile; fileRef = 23FE47D12BB2D98300F09D23 /* YinMineSettingPopUpView.m */; };
|
||||||
|
23FE47EA2BB5076A00F09D23 /* YinUploadFileModel.m in Sources */ = {isa = PBXBuildFile; fileRef = 23FE47E92BB5076A00F09D23 /* YinUploadFileModel.m */; };
|
||||||
73FFADDC93E195344047A2EC /* Pods_xplan_ios.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = CACF623970097D653132D69A /* Pods_xplan_ios.framework */; };
|
73FFADDC93E195344047A2EC /* Pods_xplan_ios.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = CACF623970097D653132D69A /* Pods_xplan_ios.framework */; };
|
||||||
9B0086C627BA392B0032BD2B /* AnchorStageView.m in Sources */ = {isa = PBXBuildFile; fileRef = 9B0086C527BA392B0032BD2B /* AnchorStageView.m */; };
|
9B0086C627BA392B0032BD2B /* AnchorStageView.m in Sources */ = {isa = PBXBuildFile; fileRef = 9B0086C527BA392B0032BD2B /* AnchorStageView.m */; };
|
||||||
9B0086CA27BA4F570032BD2B /* AnchorMicroView.m in Sources */ = {isa = PBXBuildFile; fileRef = 9B0086C927BA4F570032BD2B /* AnchorMicroView.m */; };
|
9B0086CA27BA4F570032BD2B /* AnchorMicroView.m in Sources */ = {isa = PBXBuildFile; fileRef = 9B0086C927BA4F570032BD2B /* AnchorMicroView.m */; };
|
||||||
@@ -1196,7 +1199,6 @@
|
|||||||
E8B825CA26EA1231009E8E9F /* LoginVerifCodeViewController.m in Sources */ = {isa = PBXBuildFile; fileRef = E8B825C826EA1231009E8E9F /* LoginVerifCodeViewController.m */; };
|
E8B825CA26EA1231009E8E9F /* LoginVerifCodeViewController.m in Sources */ = {isa = PBXBuildFile; fileRef = E8B825C826EA1231009E8E9F /* LoginVerifCodeViewController.m */; };
|
||||||
E8B825CD26EA18C8009E8E9F /* ThemeColor.m in Sources */ = {isa = PBXBuildFile; fileRef = E8B825CC26EA18C8009E8E9F /* ThemeColor.m */; };
|
E8B825CD26EA18C8009E8E9F /* ThemeColor.m in Sources */ = {isa = PBXBuildFile; fileRef = E8B825CC26EA18C8009E8E9F /* ThemeColor.m */; };
|
||||||
E8B825D026EA3825009E8E9F /* LoginPasswordViewController.m in Sources */ = {isa = PBXBuildFile; fileRef = E8B825CF26EA3825009E8E9F /* LoginPasswordViewController.m */; };
|
E8B825D026EA3825009E8E9F /* LoginPasswordViewController.m in Sources */ = {isa = PBXBuildFile; fileRef = E8B825CF26EA3825009E8E9F /* LoginPasswordViewController.m */; };
|
||||||
E8B846BC26FD7C1200A777FE /* UploadImage.m in Sources */ = {isa = PBXBuildFile; fileRef = E8B846BB26FD7C1200A777FE /* UploadImage.m */; };
|
|
||||||
E8B846BF26FD827900A777FE /* XPMineUserInfoAlbumViewController.m in Sources */ = {isa = PBXBuildFile; fileRef = E8B846BE26FD827900A777FE /* XPMineUserInfoAlbumViewController.m */; };
|
E8B846BF26FD827900A777FE /* XPMineUserInfoAlbumViewController.m in Sources */ = {isa = PBXBuildFile; fileRef = E8B846BE26FD827900A777FE /* XPMineUserInfoAlbumViewController.m */; };
|
||||||
E8B846C226FD82DC00A777FE /* XPMineUserInfoAlbumCollectionViewCell.m in Sources */ = {isa = PBXBuildFile; fileRef = E8B846C126FD82DC00A777FE /* XPMineUserInfoAlbumCollectionViewCell.m */; };
|
E8B846C226FD82DC00A777FE /* XPMineUserInfoAlbumCollectionViewCell.m in Sources */ = {isa = PBXBuildFile; fileRef = E8B846C126FD82DC00A777FE /* XPMineUserInfoAlbumCollectionViewCell.m */; };
|
||||||
E8B846C526FDB41A00A777FE /* XPMineUserInfolbumPresenter.m in Sources */ = {isa = PBXBuildFile; fileRef = E8B846C426FDB41A00A777FE /* XPMineUserInfolbumPresenter.m */; };
|
E8B846C526FDB41A00A777FE /* XPMineUserInfolbumPresenter.m in Sources */ = {isa = PBXBuildFile; fileRef = E8B846C426FDB41A00A777FE /* XPMineUserInfolbumPresenter.m */; };
|
||||||
@@ -1839,6 +1841,12 @@
|
|||||||
23EEB0612B3C1B3F00E8CA05 /* MewMainHomeEmptyCell.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = MewMainHomeEmptyCell.m; sourceTree = "<group>"; };
|
23EEB0612B3C1B3F00E8CA05 /* MewMainHomeEmptyCell.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = MewMainHomeEmptyCell.m; sourceTree = "<group>"; };
|
||||||
23F8BFF62A7A392000A36763 /* XPRoomMessagePrivilegeCardCell.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = XPRoomMessagePrivilegeCardCell.h; sourceTree = "<group>"; };
|
23F8BFF62A7A392000A36763 /* XPRoomMessagePrivilegeCardCell.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = XPRoomMessagePrivilegeCardCell.h; sourceTree = "<group>"; };
|
||||||
23F8BFF72A7A392000A36763 /* XPRoomMessagePrivilegeCardCell.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = XPRoomMessagePrivilegeCardCell.m; sourceTree = "<group>"; };
|
23F8BFF72A7A392000A36763 /* XPRoomMessagePrivilegeCardCell.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = XPRoomMessagePrivilegeCardCell.m; sourceTree = "<group>"; };
|
||||||
|
23FE47CD2BB2C8CE00F09D23 /* YinMineSettingFillCodeView.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = YinMineSettingFillCodeView.h; sourceTree = "<group>"; };
|
||||||
|
23FE47CE2BB2C8CE00F09D23 /* YinMineSettingFillCodeView.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = YinMineSettingFillCodeView.m; sourceTree = "<group>"; };
|
||||||
|
23FE47D02BB2D98300F09D23 /* YinMineSettingPopUpView.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = YinMineSettingPopUpView.h; sourceTree = "<group>"; };
|
||||||
|
23FE47D12BB2D98300F09D23 /* YinMineSettingPopUpView.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = YinMineSettingPopUpView.m; sourceTree = "<group>"; };
|
||||||
|
23FE47E82BB5076A00F09D23 /* YinUploadFileModel.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = YinUploadFileModel.h; sourceTree = "<group>"; };
|
||||||
|
23FE47E92BB5076A00F09D23 /* YinUploadFileModel.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = YinUploadFileModel.m; sourceTree = "<group>"; };
|
||||||
7DB00EC07F1D0ADFF900B38D /* Pods-xplan-ios.debug.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-xplan-ios.debug.xcconfig"; path = "Target Support Files/Pods-xplan-ios/Pods-xplan-ios.debug.xcconfig"; sourceTree = "<group>"; };
|
7DB00EC07F1D0ADFF900B38D /* Pods-xplan-ios.debug.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-xplan-ios.debug.xcconfig"; path = "Target Support Files/Pods-xplan-ios/Pods-xplan-ios.debug.xcconfig"; sourceTree = "<group>"; };
|
||||||
9B0086C427BA392B0032BD2B /* AnchorStageView.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = AnchorStageView.h; sourceTree = "<group>"; };
|
9B0086C427BA392B0032BD2B /* AnchorStageView.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = AnchorStageView.h; sourceTree = "<group>"; };
|
||||||
9B0086C527BA392B0032BD2B /* AnchorStageView.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = AnchorStageView.m; sourceTree = "<group>"; };
|
9B0086C527BA392B0032BD2B /* AnchorStageView.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = AnchorStageView.m; sourceTree = "<group>"; };
|
||||||
@@ -3642,8 +3650,6 @@
|
|||||||
E8B825CC26EA18C8009E8E9F /* ThemeColor.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = ThemeColor.m; sourceTree = "<group>"; };
|
E8B825CC26EA18C8009E8E9F /* ThemeColor.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = ThemeColor.m; sourceTree = "<group>"; };
|
||||||
E8B825CE26EA3825009E8E9F /* LoginPasswordViewController.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = LoginPasswordViewController.h; sourceTree = "<group>"; };
|
E8B825CE26EA3825009E8E9F /* LoginPasswordViewController.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = LoginPasswordViewController.h; sourceTree = "<group>"; };
|
||||||
E8B825CF26EA3825009E8E9F /* LoginPasswordViewController.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = LoginPasswordViewController.m; sourceTree = "<group>"; };
|
E8B825CF26EA3825009E8E9F /* LoginPasswordViewController.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = LoginPasswordViewController.m; sourceTree = "<group>"; };
|
||||||
E8B846BA26FD7C1200A777FE /* UploadImage.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = UploadImage.h; sourceTree = "<group>"; };
|
|
||||||
E8B846BB26FD7C1200A777FE /* UploadImage.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = UploadImage.m; sourceTree = "<group>"; };
|
|
||||||
E8B846BD26FD827900A777FE /* XPMineUserInfoAlbumViewController.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = XPMineUserInfoAlbumViewController.h; sourceTree = "<group>"; };
|
E8B846BD26FD827900A777FE /* XPMineUserInfoAlbumViewController.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = XPMineUserInfoAlbumViewController.h; sourceTree = "<group>"; };
|
||||||
E8B846BE26FD827900A777FE /* XPMineUserInfoAlbumViewController.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = XPMineUserInfoAlbumViewController.m; sourceTree = "<group>"; };
|
E8B846BE26FD827900A777FE /* XPMineUserInfoAlbumViewController.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = XPMineUserInfoAlbumViewController.m; sourceTree = "<group>"; };
|
||||||
E8B846C026FD82DC00A777FE /* XPMineUserInfoAlbumCollectionViewCell.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = XPMineUserInfoAlbumCollectionViewCell.h; sourceTree = "<group>"; };
|
E8B846C026FD82DC00A777FE /* XPMineUserInfoAlbumCollectionViewCell.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = XPMineUserInfoAlbumCollectionViewCell.h; sourceTree = "<group>"; };
|
||||||
@@ -4508,7 +4514,6 @@
|
|||||||
E82D5C77276B25B000858D6D /* SpriteSheetManager */,
|
E82D5C77276B25B000858D6D /* SpriteSheetManager */,
|
||||||
E865964E2701A1A900846EBD /* StatisticsService */,
|
E865964E2701A1A900846EBD /* StatisticsService */,
|
||||||
E89DA6612700590A008483C1 /* IAPHelper */,
|
E89DA6612700590A008483C1 /* IAPHelper */,
|
||||||
E8B846B926FD7BE600A777FE /* UploadImage */,
|
|
||||||
E8EEB8EA26FC2050007C6EBA /* SDPhotoBrowser */,
|
E8EEB8EA26FC2050007C6EBA /* SDPhotoBrowser */,
|
||||||
E81366E426F0A4820076364C /* NSString */,
|
E81366E426F0A4820076364C /* NSString */,
|
||||||
E82109AA26F1C86E00FC3319 /* CountDown */,
|
E82109AA26F1C86E00FC3319 /* CountDown */,
|
||||||
@@ -5191,8 +5196,10 @@
|
|||||||
9B33E3C827D85379003B0E62 /* File */ = {
|
9B33E3C827D85379003B0E62 /* File */ = {
|
||||||
isa = PBXGroup;
|
isa = PBXGroup;
|
||||||
children = (
|
children = (
|
||||||
9B33E3C927D85379003B0E62 /* UploadFile.m */,
|
|
||||||
9B33E3CA27D85379003B0E62 /* UploadFile.h */,
|
9B33E3CA27D85379003B0E62 /* UploadFile.h */,
|
||||||
|
9B33E3C927D85379003B0E62 /* UploadFile.m */,
|
||||||
|
23FE47E82BB5076A00F09D23 /* YinUploadFileModel.h */,
|
||||||
|
23FE47E92BB5076A00F09D23 /* YinUploadFileModel.m */,
|
||||||
);
|
);
|
||||||
path = File;
|
path = File;
|
||||||
sourceTree = "<group>";
|
sourceTree = "<group>";
|
||||||
@@ -8121,6 +8128,10 @@
|
|||||||
237B89DE2A933F52005DB380 /* XPMineUserGameCell.m */,
|
237B89DE2A933F52005DB380 /* XPMineUserGameCell.m */,
|
||||||
237B89EC2A945F81005DB380 /* XPMineUserGameTypeCell.h */,
|
237B89EC2A945F81005DB380 /* XPMineUserGameTypeCell.h */,
|
||||||
237B89ED2A945F81005DB380 /* XPMineUserGameTypeCell.m */,
|
237B89ED2A945F81005DB380 /* XPMineUserGameTypeCell.m */,
|
||||||
|
23FE47CD2BB2C8CE00F09D23 /* YinMineSettingFillCodeView.h */,
|
||||||
|
23FE47CE2BB2C8CE00F09D23 /* YinMineSettingFillCodeView.m */,
|
||||||
|
23FE47D02BB2D98300F09D23 /* YinMineSettingPopUpView.h */,
|
||||||
|
23FE47D12BB2D98300F09D23 /* YinMineSettingPopUpView.m */,
|
||||||
);
|
);
|
||||||
path = MineInfo;
|
path = MineInfo;
|
||||||
sourceTree = "<group>";
|
sourceTree = "<group>";
|
||||||
@@ -8876,15 +8887,6 @@
|
|||||||
path = Model;
|
path = Model;
|
||||||
sourceTree = "<group>";
|
sourceTree = "<group>";
|
||||||
};
|
};
|
||||||
E8B846B926FD7BE600A777FE /* UploadImage */ = {
|
|
||||||
isa = PBXGroup;
|
|
||||||
children = (
|
|
||||||
E8B846BA26FD7C1200A777FE /* UploadImage.h */,
|
|
||||||
E8B846BB26FD7C1200A777FE /* UploadImage.m */,
|
|
||||||
);
|
|
||||||
path = UploadImage;
|
|
||||||
sourceTree = "<group>";
|
|
||||||
};
|
|
||||||
E8B846D026FDDBCD00A777FE /* Recharge */ = {
|
E8B846D026FDDBCD00A777FE /* Recharge */ = {
|
||||||
isa = PBXGroup;
|
isa = PBXGroup;
|
||||||
children = (
|
children = (
|
||||||
@@ -10873,6 +10875,7 @@
|
|||||||
E81C1B1C27705F6B0020D1E4 /* XPArrangeMicPresenter.m in Sources */,
|
E81C1B1C27705F6B0020D1E4 /* XPArrangeMicPresenter.m in Sources */,
|
||||||
184862CE27213FD7005FC5DC /* ZegoRtcImpl.m in Sources */,
|
184862CE27213FD7005FC5DC /* ZegoRtcImpl.m in Sources */,
|
||||||
E8A88D2727E8193400CA8837 /* XPRoomPKSelectUserView.m in Sources */,
|
E8A88D2727E8193400CA8837 /* XPRoomPKSelectUserView.m in Sources */,
|
||||||
|
23FE47CF2BB2C8CE00F09D23 /* YinMineSettingFillCodeView.m in Sources */,
|
||||||
9B734F7C288AB05A00CBDAA9 /* XPMIneGameCollectionViewCell.m in Sources */,
|
9B734F7C288AB05A00CBDAA9 /* XPMIneGameCollectionViewCell.m in Sources */,
|
||||||
9B0E1C5926E77022005D4442 /* BaseNavigationController.m in Sources */,
|
9B0E1C5926E77022005D4442 /* BaseNavigationController.m in Sources */,
|
||||||
E8664ED927E4355C000171BA /* XPRoomPKRecordTableViewCell.m in Sources */,
|
E8664ED927E4355C000171BA /* XPRoomPKRecordTableViewCell.m in Sources */,
|
||||||
@@ -10978,7 +10981,9 @@
|
|||||||
18A61BE8274F9CF000A09A54 /* SessionListViewController.m in Sources */,
|
18A61BE8274F9CF000A09A54 /* SessionListViewController.m in Sources */,
|
||||||
E8C1CD6A27D8937800376F83 /* XPRoomFaceCollectionViewCell.m in Sources */,
|
E8C1CD6A27D8937800376F83 /* XPRoomFaceCollectionViewCell.m in Sources */,
|
||||||
E8DBB6F927B639A300AA285D /* LittleGameStageView.m in Sources */,
|
E8DBB6F927B639A300AA285D /* LittleGameStageView.m in Sources */,
|
||||||
|
23FE47EA2BB5076A00F09D23 /* YinUploadFileModel.m in Sources */,
|
||||||
9B2EA7C02804037700ED17BF /* AnchorPKStageView.m in Sources */,
|
9B2EA7C02804037700ED17BF /* AnchorPKStageView.m in Sources */,
|
||||||
|
23FE47D22BB2D98300F09D23 /* YinMineSettingPopUpView.m in Sources */,
|
||||||
E811FFF72742367B00918544 /* XPGiftEmptyCollectionViewCell.m in Sources */,
|
E811FFF72742367B00918544 /* XPGiftEmptyCollectionViewCell.m in Sources */,
|
||||||
E8A86E0827BA38DB001C21F9 /* UIImage+RW.m in Sources */,
|
E8A86E0827BA38DB001C21F9 /* UIImage+RW.m in Sources */,
|
||||||
E800807927FD84560055A8AB /* ClanInfoModel.m in Sources */,
|
E800807927FD84560055A8AB /* ClanInfoModel.m in Sources */,
|
||||||
@@ -11331,7 +11336,6 @@
|
|||||||
237B8A092A95A52B005DB380 /* XPMineGameOrderItemVC.m in Sources */,
|
237B8A092A95A52B005DB380 /* XPMineGameOrderItemVC.m in Sources */,
|
||||||
E839533F276A0CDB00CF2F24 /* XPMineNameplateTableViewCell.m in Sources */,
|
E839533F276A0CDB00CF2F24 /* XPMineNameplateTableViewCell.m in Sources */,
|
||||||
9B73CD11279AE99B006AF255 /* XPSkillCardListCell.m in Sources */,
|
9B73CD11279AE99B006AF255 /* XPSkillCardListCell.m in Sources */,
|
||||||
E8B846BC26FD7C1200A777FE /* UploadImage.m in Sources */,
|
|
||||||
9BCE6144277D657600CC0358 /* XPReleaseRadioTableViewCell.m in Sources */,
|
9BCE6144277D657600CC0358 /* XPReleaseRadioTableViewCell.m in Sources */,
|
||||||
9B16A34827E17D9B00E13A98 /* XPRoomTrumpetViewController.m in Sources */,
|
9B16A34827E17D9B00E13A98 /* XPRoomTrumpetViewController.m in Sources */,
|
||||||
186A534D26FC6ED900D67B2C /* TTActionSheetView.m in Sources */,
|
186A534D26FC6ED900D67B2C /* TTActionSheetView.m in Sources */,
|
||||||
@@ -11691,7 +11695,7 @@
|
|||||||
"$(inherited)",
|
"$(inherited)",
|
||||||
"@executable_path/Frameworks",
|
"@executable_path/Frameworks",
|
||||||
);
|
);
|
||||||
MARKETING_VERSION = 2.1.1;
|
MARKETING_VERSION = 2.1.2;
|
||||||
OTHER_LDFLAGS = (
|
OTHER_LDFLAGS = (
|
||||||
"$(inherited)",
|
"$(inherited)",
|
||||||
"-ObjC",
|
"-ObjC",
|
||||||
@@ -11789,8 +11793,6 @@
|
|||||||
"-framework",
|
"-framework",
|
||||||
"\"Foundation\"",
|
"\"Foundation\"",
|
||||||
"-framework",
|
"-framework",
|
||||||
"\"HappyDNS\"",
|
|
||||||
"-framework",
|
|
||||||
"\"IAPHelper\"",
|
"\"IAPHelper\"",
|
||||||
"-framework",
|
"-framework",
|
||||||
"\"IQKeyboardManager\"",
|
"\"IQKeyboardManager\"",
|
||||||
@@ -11843,8 +11845,6 @@
|
|||||||
"-framework",
|
"-framework",
|
||||||
"\"QYSDK_NIM\"",
|
"\"QYSDK_NIM\"",
|
||||||
"-framework",
|
"-framework",
|
||||||
"\"Qiniu\"",
|
|
||||||
"-framework",
|
|
||||||
"\"QuartzCore\"",
|
"\"QuartzCore\"",
|
||||||
"-framework",
|
"-framework",
|
||||||
"\"ReactiveObjC\"",
|
"\"ReactiveObjC\"",
|
||||||
@@ -11895,12 +11895,8 @@
|
|||||||
"-framework",
|
"-framework",
|
||||||
"\"VideoToolbox\"",
|
"\"VideoToolbox\"",
|
||||||
"-framework",
|
"-framework",
|
||||||
"\"WYEAccountApiSDK\"",
|
|
||||||
"-framework",
|
|
||||||
"\"WYOAuth\"",
|
"\"WYOAuth\"",
|
||||||
"-framework",
|
"-framework",
|
||||||
"\"WYTYRZUISDK\"",
|
|
||||||
"-framework",
|
|
||||||
"\"WebKit\"",
|
"\"WebKit\"",
|
||||||
"-framework",
|
"-framework",
|
||||||
"\"WechatConnector\"",
|
"\"WechatConnector\"",
|
||||||
@@ -11954,7 +11950,7 @@
|
|||||||
"$(inherited)",
|
"$(inherited)",
|
||||||
"@executable_path/Frameworks",
|
"@executable_path/Frameworks",
|
||||||
);
|
);
|
||||||
MARKETING_VERSION = 2.1.1;
|
MARKETING_VERSION = 2.1.2;
|
||||||
OTHER_LDFLAGS = (
|
OTHER_LDFLAGS = (
|
||||||
"$(inherited)",
|
"$(inherited)",
|
||||||
"-ObjC",
|
"-ObjC",
|
||||||
@@ -12052,8 +12048,6 @@
|
|||||||
"-framework",
|
"-framework",
|
||||||
"\"Foundation\"",
|
"\"Foundation\"",
|
||||||
"-framework",
|
"-framework",
|
||||||
"\"HappyDNS\"",
|
|
||||||
"-framework",
|
|
||||||
"\"IAPHelper\"",
|
"\"IAPHelper\"",
|
||||||
"-framework",
|
"-framework",
|
||||||
"\"IQKeyboardManager\"",
|
"\"IQKeyboardManager\"",
|
||||||
@@ -12104,8 +12098,6 @@
|
|||||||
"-framework",
|
"-framework",
|
||||||
"\"QYSDK_NIM\"",
|
"\"QYSDK_NIM\"",
|
||||||
"-framework",
|
"-framework",
|
||||||
"\"Qiniu\"",
|
|
||||||
"-framework",
|
|
||||||
"\"QuartzCore\"",
|
"\"QuartzCore\"",
|
||||||
"-framework",
|
"-framework",
|
||||||
"\"ReactiveObjC\"",
|
"\"ReactiveObjC\"",
|
||||||
@@ -12156,12 +12148,8 @@
|
|||||||
"-framework",
|
"-framework",
|
||||||
"\"VideoToolbox\"",
|
"\"VideoToolbox\"",
|
||||||
"-framework",
|
"-framework",
|
||||||
"\"WYEAccountApiSDK\"",
|
|
||||||
"-framework",
|
|
||||||
"\"WYOAuth\"",
|
"\"WYOAuth\"",
|
||||||
"-framework",
|
"-framework",
|
||||||
"\"WYTYRZUISDK\"",
|
|
||||||
"-framework",
|
|
||||||
"\"WebKit\"",
|
"\"WebKit\"",
|
||||||
"-framework",
|
"-framework",
|
||||||
"\"WechatConnector\"",
|
"\"WechatConnector\"",
|
||||||
|
@@ -31,7 +31,7 @@
|
|||||||
</Testables>
|
</Testables>
|
||||||
</TestAction>
|
</TestAction>
|
||||||
<LaunchAction
|
<LaunchAction
|
||||||
buildConfiguration = "Release"
|
buildConfiguration = "Debug"
|
||||||
selectedDebuggerIdentifier = "Xcode.DebuggerFoundation.Debugger.LLDB"
|
selectedDebuggerIdentifier = "Xcode.DebuggerFoundation.Debugger.LLDB"
|
||||||
selectedLauncherIdentifier = "Xcode.DebuggerFoundation.Launcher.LLDB"
|
selectedLauncherIdentifier = "Xcode.DebuggerFoundation.Launcher.LLDB"
|
||||||
launchStyle = "0"
|
launchStyle = "0"
|
||||||
|
@@ -85,6 +85,8 @@ NS_ASSUME_NONNULL_BEGIN
|
|||||||
position:(NSString *)position
|
position:(NSString *)position
|
||||||
ticket:(NSString *)ticket
|
ticket:(NSString *)ticket
|
||||||
uid:(NSString *)uid;
|
uid:(NSString *)uid;
|
||||||
|
///得到腾讯存储信息
|
||||||
|
+ (void)getQCloudInfo:(HttpRequestHelperCompletion)completion;
|
||||||
@end
|
@end
|
||||||
|
|
||||||
NS_ASSUME_NONNULL_END
|
NS_ASSUME_NONNULL_END
|
||||||
|
@@ -115,4 +115,8 @@
|
|||||||
+ (void)microLockCompletion:(HttpRequestHelperCompletion)complection roomUid:(NSString *)roomUid state:(NSString *)state position:(NSString *)position ticket:(NSString *)ticket uid:(NSString *)uid {
|
+ (void)microLockCompletion:(HttpRequestHelperCompletion)complection roomUid:(NSString *)roomUid state:(NSString *)state position:(NSString *)position ticket:(NSString *)ticket uid:(NSString *)uid {
|
||||||
[self makeRequest:@"room/mic/lockpos" method:HttpRequestHelperMethodPOST completion:complection, __FUNCTION__, roomUid, state, position, ticket, uid, nil];
|
[self makeRequest:@"room/mic/lockpos" method:HttpRequestHelperMethodPOST completion:complection, __FUNCTION__, roomUid, state, position, ticket, uid, nil];
|
||||||
}
|
}
|
||||||
|
///得到腾讯存储信息
|
||||||
|
+ (void)getQCloudInfo:(HttpRequestHelperCompletion)completion{
|
||||||
|
[self makeRequest:@"tencent/cos/getToken" method:HttpRequestHelperMethodGET completion:completion, __FUNCTION__, nil];
|
||||||
|
}
|
||||||
@end
|
@end
|
||||||
|
@@ -145,6 +145,8 @@ NS_ASSUME_NONNULL_BEGIN
|
|||||||
@property(nonatomic,strong) NSArray<UserGameInfoVo *> *userGamePartner;
|
@property(nonatomic,strong) NSArray<UserGameInfoVo *> *userGamePartner;
|
||||||
///pk时不能禁麦
|
///pk时不能禁麦
|
||||||
@property(nonatomic,assign) BOOL isNoProhibitMic;
|
@property(nonatomic,assign) BOOL isNoProhibitMic;
|
||||||
|
///控制是否有补填弹窗入口
|
||||||
|
@property(nonatomic,assign) BOOL canRefillInviteCode;
|
||||||
@end
|
@end
|
||||||
|
|
||||||
NS_ASSUME_NONNULL_END
|
NS_ASSUME_NONNULL_END
|
||||||
|
@@ -17,6 +17,7 @@ NS_ASSUME_NONNULL_BEGIN
|
|||||||
- (NSDate *)dateByAddingDays:(NSInteger)days;
|
- (NSDate *)dateByAddingDays:(NSInteger)days;
|
||||||
|
|
||||||
- (NSString *)stringForFormat:(NSString *)format;
|
- (NSString *)stringForFormat:(NSString *)format;
|
||||||
|
+(NSString *)getNowTimeTimestamp;
|
||||||
@end
|
@end
|
||||||
|
|
||||||
@interface NSCalendar (Pick)
|
@interface NSCalendar (Pick)
|
||||||
|
@@ -7,6 +7,7 @@
|
|||||||
|
|
||||||
#import "NSDate+DateUtils.h"
|
#import "NSDate+DateUtils.h"
|
||||||
|
|
||||||
|
|
||||||
NSString * const kDateFormatYYYYMMDD = @"yyyy-MM-dd";
|
NSString * const kDateFormatYYYYMMDD = @"yyyy-MM-dd";
|
||||||
NSString * const kDateFormatYYMMDDTHHmmss = @"yyyy-MM-dd'T'HH:mm:ss";
|
NSString * const kDateFormatYYMMDDTHHmmss = @"yyyy-MM-dd'T'HH:mm:ss";
|
||||||
|
|
||||||
@@ -43,7 +44,16 @@ NSString * const kDateFormatYYMMDDTHHmmss = @"yyyy-MM-dd'T'HH:mm:ss";
|
|||||||
- (NSString *) stringForYearMonthDayDashed {
|
- (NSString *) stringForYearMonthDayDashed {
|
||||||
return [self stringForFormat:kDateFormatYYYYMMDD];
|
return [self stringForFormat:kDateFormatYYYYMMDD];
|
||||||
}
|
}
|
||||||
|
+(NSString *)getNowTimeTimestamp{
|
||||||
|
|
||||||
|
NSDate* dat = [NSDate dateWithTimeIntervalSinceNow:0];
|
||||||
|
|
||||||
|
NSTimeInterval a=[dat timeIntervalSince1970];
|
||||||
|
|
||||||
|
NSString*timeString = [NSString stringWithFormat:@"%0.f", a];//转为字符型
|
||||||
|
|
||||||
|
return timeString;
|
||||||
|
}
|
||||||
- (NSString *)stringForFormat:(NSString *)format {
|
- (NSString *)stringForFormat:(NSString *)format {
|
||||||
if (!format) {
|
if (!format) {
|
||||||
return nil;
|
return nil;
|
||||||
|
@@ -1,8 +1,8 @@
|
|||||||
//
|
//
|
||||||
// UploadFile.h
|
// UploadFile.h
|
||||||
// xplan-ios
|
// YUMI
|
||||||
//
|
//
|
||||||
// Created by GreenLand on 2022/2/23.
|
// Created by YUMI on 2022/2/23.
|
||||||
//
|
//
|
||||||
|
|
||||||
#import <Foundation/Foundation.h>
|
#import <Foundation/Foundation.h>
|
||||||
@@ -10,19 +10,40 @@
|
|||||||
NS_ASSUME_NONNULL_BEGIN
|
NS_ASSUME_NONNULL_BEGIN
|
||||||
|
|
||||||
@interface UploadFile : NSObject
|
@interface UploadFile : NSObject
|
||||||
|
+ (instancetype)share;
|
||||||
|
-(void)initQCloud;
|
||||||
|
|
||||||
|
+ (void)downloadAudioWithFileName:(NSString *)fileName musicUrl:(NSString *)musicUrl mainFileName:(NSString *)mainFileName completion:(void (^) (BOOL isSuccess, NSString *editAudioPath))completion;
|
||||||
/// 上传一个文件
|
/// 上传一个文件
|
||||||
/// @param filePath 文件地址
|
/// @param filePath 文件地址
|
||||||
/// @param fileName 文件的名字
|
/// @param fileName 文件的名字
|
||||||
/// @param token token
|
|
||||||
/// @param success 成功
|
/// @param success 成功
|
||||||
/// @param failure 失败
|
/// @param failure 失败
|
||||||
+ (void)uploadFile:(NSString *)filePath
|
- (void)QCloudUploadFile:(NSString *)filePath
|
||||||
named:(NSString *)fileName
|
named:(NSString *)fileName
|
||||||
token:(NSString *)token
|
|
||||||
success:(void (^)(NSString *key, NSDictionary *resp))success
|
success:(void (^)(NSString *key, NSDictionary *resp))success
|
||||||
failure:(void (^)(NSNumber *resCode, NSString *message))failure;
|
failure:(void (^)(NSNumber *resCode, NSString *message))failure;
|
||||||
+ (void)mew_downloadAudioWithFileName:(NSString *)fileName musicUrl:(NSString *)musicUrl mainFileName:(NSString *)mainFileName completion:(void (^) (BOOL isSuccess, NSString *editAudioPath))completion;
|
/// 上传一个Image
|
||||||
|
/// @param image 图片
|
||||||
|
/// @param imageName 图片的名字
|
||||||
|
|
||||||
|
/// @param success 成功
|
||||||
|
/// @param failure 失败
|
||||||
|
- (void)QCloudUploadImage:(NSData *)data
|
||||||
|
named:(NSString *)name
|
||||||
|
success:(void (^)(NSString *key, NSDictionary *resp))success
|
||||||
|
failure:(void (^)(NSNumber *resCode, NSString *message))failure;
|
||||||
|
/// 上传一个文件
|
||||||
|
/// @param data 文件
|
||||||
|
/// @param fileName 文件的名字
|
||||||
|
/// @param success 成功
|
||||||
|
/// @param failure 失败
|
||||||
|
- (void)QCloudUploadFileWithData:(NSData *)data
|
||||||
|
named:(NSString *)fileName
|
||||||
|
success:(void (^)(NSString *key, NSDictionary *resp))success
|
||||||
|
failure:(void (^)(NSNumber *resCode, NSString *message))failure;
|
||||||
@end
|
@end
|
||||||
|
|
||||||
NS_ASSUME_NONNULL_END
|
NS_ASSUME_NONNULL_END
|
||||||
|
@@ -4,36 +4,267 @@
|
|||||||
//
|
//
|
||||||
// Created by GreenLand on 2022/2/23.
|
// Created by GreenLand on 2022/2/23.
|
||||||
//
|
//
|
||||||
|
#import <QCloudCOSXML/QCloudCOSXML.h>
|
||||||
#import "UploadFile.h"
|
#import "UploadFile.h"
|
||||||
#import <Qiniu/QiniuSDK.h>
|
|
||||||
#import <AFNetworking.h>
|
#import <AFNetworking.h>
|
||||||
|
#import "Api+Mine.h"
|
||||||
|
#import "YinUploadFileModel.h"
|
||||||
|
static UploadFile* manager;
|
||||||
|
|
||||||
|
@interface UploadFile()<QCloudSignatureProvider,QCloudCredentailFenceQueueDelegate>
|
||||||
|
// 一个脚手架实例
|
||||||
|
@property (nonatomic) QCloudCredentailFenceQueue* credentialFenceQueue;
|
||||||
|
@property(nonatomic,strong) YinUploadFileModel *fileModel;
|
||||||
|
@end
|
||||||
|
|
||||||
@implementation UploadFile
|
@implementation UploadFile
|
||||||
|
|
||||||
|
+ (instancetype)share {
|
||||||
|
static dispatch_once_t onceToken;
|
||||||
|
dispatch_once(&onceToken, ^{
|
||||||
|
manager = [[UploadFile alloc] init];
|
||||||
|
});
|
||||||
|
return manager;
|
||||||
|
}
|
||||||
|
|
||||||
|
-(void)initQCloud{
|
||||||
|
[Api getQCloudInfo:^(BaseModel * _Nullable data, NSInteger code, NSString * _Nullable msg) {
|
||||||
|
if (code == 200){
|
||||||
|
YinUploadFileModel *fileModel = [YinUploadFileModel modelWithDictionary:data.data];
|
||||||
|
self.fileModel = fileModel;
|
||||||
|
QCloudServiceConfiguration* configuration = [QCloudServiceConfiguration new];
|
||||||
|
configuration.appID = fileModel.appId;
|
||||||
|
QCloudCOSXMLEndPoint* endpoint = [[QCloudCOSXMLEndPoint alloc] init];
|
||||||
|
endpoint.regionName = fileModel.region;
|
||||||
|
// 使用 HTTPS
|
||||||
|
endpoint.useHTTPS = YES;
|
||||||
|
configuration.endpoint = endpoint;
|
||||||
|
// 密钥提供者为自己
|
||||||
|
configuration.signatureProvider = self;
|
||||||
|
// 初始化 COS 服务示例
|
||||||
|
[QCloudCOSXMLService registerDefaultCOSXMLWithConfiguration:configuration];
|
||||||
|
[QCloudCOSTransferMangerService registerDefaultCOSTransferMangerWithConfiguration:
|
||||||
|
configuration];
|
||||||
|
|
||||||
|
self.credentialFenceQueue = [QCloudCredentailFenceQueue new];
|
||||||
|
self.credentialFenceQueue.delegate = self;
|
||||||
|
|
||||||
|
}
|
||||||
|
}];
|
||||||
|
}
|
||||||
|
#pragma mark- QCloudSignatureProvider
|
||||||
|
- (void) signatureWithFields:(QCloudSignatureFields*)fileds
|
||||||
|
request:(QCloudBizHTTPRequest*)request
|
||||||
|
urlRequest:(NSMutableURLRequest*)urlRequst
|
||||||
|
compelete:(QCloudHTTPAuthentationContinueBlock)continueBlock
|
||||||
|
{
|
||||||
|
|
||||||
|
[Api getQCloudInfo:^(BaseModel * _Nullable data, NSInteger code, NSString * _Nullable msg) {
|
||||||
|
if (code == 200){
|
||||||
|
YinUploadFileModel *fileModel = [YinUploadFileModel modelWithDictionary:data.data];
|
||||||
|
QCloudCredential* credential = [QCloudCredential new];
|
||||||
|
|
||||||
|
|
||||||
|
// 临时密钥 SecretId
|
||||||
|
|
||||||
|
credential.secretID = fileModel.secretId;
|
||||||
|
// 临时密钥 SecretKey
|
||||||
|
|
||||||
|
credential.secretKey = fileModel.secretKey;
|
||||||
|
// 临时密钥 Token
|
||||||
|
|
||||||
|
credential.token = fileModel.sessionToken;
|
||||||
|
/** 强烈建议返回服务器时间作为签名的开始时间, 用来避免由于用户手机本地时间偏差过大导致的签名不正确(参数startTime和expiredTime单位为秒)
|
||||||
|
*/
|
||||||
|
credential.startDate = [NSDate dateWithTimeIntervalSince1970:fileModel.startTime]; // 单位是秒
|
||||||
|
credential.expirationDate = [NSDate dateWithTimeIntervalSince1970:fileModel.expireTime];// 单位是秒
|
||||||
|
|
||||||
|
|
||||||
|
QCloudAuthentationV5Creator* creator = [[QCloudAuthentationV5Creator alloc]
|
||||||
|
initWithCredential:credential];
|
||||||
|
// 注意 这里不要对urlRequst 进行copy以及mutableCopy操作
|
||||||
|
QCloudSignature *signature = [creator signatureForData:urlRequst];
|
||||||
|
continueBlock(signature, nil);
|
||||||
|
|
||||||
|
}
|
||||||
|
}
|
||||||
|
];
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
#pragma mark - QCloudCredentailFenceQueueDelegate
|
||||||
|
- (void) fenceQueue:(QCloudCredentailFenceQueue * )queue requestCreatorWithContinue:(QCloudCredentailFenceQueueContinue)continueBlock
|
||||||
|
{
|
||||||
|
//这里同步从◊后台服务器获取临时密钥,强烈建议将获取临时密钥的逻辑放在这里,最大程度上保证密钥的可用性
|
||||||
|
//...
|
||||||
|
|
||||||
|
[Api getQCloudInfo:^(BaseModel * _Nullable data, NSInteger code, NSString * _Nullable msg) {
|
||||||
|
if (code == 200){
|
||||||
|
YinUploadFileModel *fileModel = [YinUploadFileModel modelWithDictionary:data.data];
|
||||||
|
QCloudCredential* credential = [QCloudCredential new];
|
||||||
|
// 临时密钥 SecretId
|
||||||
|
credential.secretID = fileModel.secretId;
|
||||||
|
// 临时密钥 SecretKey
|
||||||
|
|
||||||
|
credential.secretKey = fileModel.secretKey;
|
||||||
|
// 临时密钥 Token
|
||||||
|
|
||||||
|
credential.token = fileModel.sessionToken;
|
||||||
|
/** 强烈建议返回服务器时间作为签名的开始时间, 用来避免由于用户手机本地时间偏差过大导致的签名不正确(参数startTime和expiredTime单位为秒)
|
||||||
|
*/
|
||||||
|
credential.startDate = [NSDate dateWithTimeIntervalSince1970:fileModel.startTime]; // 单位是秒
|
||||||
|
credential.expirationDate = [NSDate dateWithTimeIntervalSince1970:fileModel.expireTime];// 单位是秒
|
||||||
|
QCloudAuthentationV5Creator* creator = [[QCloudAuthentationV5Creator alloc]
|
||||||
|
initWithCredential:credential];
|
||||||
|
continueBlock(creator, nil);
|
||||||
|
}
|
||||||
|
}];
|
||||||
|
}
|
||||||
/// 上传一个文件
|
/// 上传一个文件
|
||||||
/// @param filePath 文件地址
|
/// @param filePath 文件地址
|
||||||
/// @param fileName 文件的名字
|
/// @param fileName 文件的名字
|
||||||
/// @param token token
|
|
||||||
/// @param success 成功
|
/// @param success 成功
|
||||||
/// @param failure 失败
|
/// @param failure 失败
|
||||||
+ (void)uploadFile:(NSString *)filePath
|
- (void)QCloudUploadFile:(NSString *)filePath
|
||||||
named:(NSString *)fileName
|
named:(NSString *)fileName
|
||||||
token:(NSString *)token
|
|
||||||
success:(void (^)(NSString *key, NSDictionary *resp))success
|
success:(void (^)(NSString *key, NSDictionary *resp))success
|
||||||
failure:(void (^)(NSNumber *resCode, NSString *message))failure {
|
failure:(void (^)(NSNumber *resCode, NSString *message))failure {
|
||||||
QNConfiguration *config = [QNConfiguration build:^(QNConfigurationBuilder *builder) {
|
|
||||||
builder.zone = [QNFixedZone zone2];
|
|
||||||
|
QCloudCOSXMLUploadObjectRequest* put = [QCloudCOSXMLUploadObjectRequest new];
|
||||||
|
// 本地文件路径
|
||||||
|
NSURL* url = [NSURL fileURLWithPath:filePath];
|
||||||
|
// 存储桶名称,由BucketName-Appid 组成,可以在COS控制台查看 https://console.cloud.tencent.com/cos5/bucket
|
||||||
|
put.bucket = self.fileModel.bucket;
|
||||||
|
// 对象键,是对象在 COS 上的完整路径,如果带目录的话,格式为 "video/xxx/movie.mp4"
|
||||||
|
put.object = fileName;
|
||||||
|
//需要上传的对象内容。可以传入NSData*或者NSURL*类型的变量
|
||||||
|
put.body = url;
|
||||||
|
//监听上传进度
|
||||||
|
[put setSendProcessBlock:^(int64_t bytesSent,
|
||||||
|
int64_t totalBytesSent,
|
||||||
|
int64_t totalBytesExpectedToSend) {
|
||||||
|
// bytesSent 本次要发送的字节数(一个大文件可能要分多次发送)
|
||||||
|
// totalBytesSent 已发送的字节数
|
||||||
|
// totalBytesExpectedToSend 本次上传要发送的总字节数(即一个文件大小)
|
||||||
}];
|
}];
|
||||||
QNUploadManager *upManager = [[QNUploadManager alloc] initWithConfiguration:config];
|
|
||||||
[upManager putFile:filePath key:fileName token:token complete:^(QNResponseInfo *info, NSString *key, NSDictionary *resp) {
|
//监听上传结果
|
||||||
if (resp) {
|
[put setFinishBlock:^(id outputObject, NSError *error) {
|
||||||
success(key,resp);
|
//可以从 outputObject 中获取 response 中 etag 或者自定义头部等信息
|
||||||
}else{
|
if (error) {
|
||||||
failure(@(info.statusCode),info.error.localizedDescription);
|
failure(@(error.code),error.localizedDescription);
|
||||||
|
return;
|
||||||
}
|
}
|
||||||
} option:nil];
|
QCloudUploadObjectResult * result = (QCloudUploadObjectResult *)outputObject;
|
||||||
|
NSArray *urlList = [result.location componentsSeparatedByString:@".com/"];
|
||||||
|
if (urlList.count == 2){
|
||||||
|
NSString *url = [NSString stringWithFormat:@"%@/%@",self.fileModel.customDomain,urlList[1]];
|
||||||
|
success(url,nil);
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
success(result.location,nil);
|
||||||
|
}];
|
||||||
|
|
||||||
|
[[QCloudCOSTransferMangerService defaultCOSTransferManager] UploadObject:put];
|
||||||
|
|
||||||
}
|
}
|
||||||
+ (void)mew_downloadAudioWithFileName:(NSString *)fileName musicUrl:(NSString *)musicUrl mainFileName:(NSString *)mainFileName completion:(void (^) (BOOL isSuccess, NSString *editAudioPath))completion{
|
/// 上传一个文件
|
||||||
|
/// @param data 文件
|
||||||
|
/// @param fileName 文件的名字
|
||||||
|
/// @param success 成功
|
||||||
|
/// @param failure 失败
|
||||||
|
- (void)QCloudUploadFileWithData:(NSData *)data
|
||||||
|
named:(NSString *)fileName
|
||||||
|
success:(void (^)(NSString *key, NSDictionary *resp))success
|
||||||
|
failure:(void (^)(NSNumber *resCode, NSString *message))failure {
|
||||||
|
|
||||||
|
|
||||||
|
QCloudCOSXMLUploadObjectRequest* put = [QCloudCOSXMLUploadObjectRequest new];
|
||||||
|
\
|
||||||
|
// 存储桶名称,由BucketName-Appid 组成,可以在COS控制台查看 https://console.cloud.tencent.com/cos5/bucket
|
||||||
|
put.bucket = self.fileModel.bucket;
|
||||||
|
// 对象键,是对象在 COS 上的完整路径,如果带目录的话,格式为 "video/xxx/movie.mp4"
|
||||||
|
put.object = fileName;
|
||||||
|
//需要上传的对象内容。可以传入NSData*或者NSURL*类型的变量
|
||||||
|
put.body = data;
|
||||||
|
//监听上传进度
|
||||||
|
[put setSendProcessBlock:^(int64_t bytesSent,
|
||||||
|
int64_t totalBytesSent,
|
||||||
|
int64_t totalBytesExpectedToSend) {
|
||||||
|
// bytesSent 本次要发送的字节数(一个大文件可能要分多次发送)
|
||||||
|
// totalBytesSent 已发送的字节数
|
||||||
|
// totalBytesExpectedToSend 本次上传要发送的总字节数(即一个文件大小)
|
||||||
|
}];
|
||||||
|
|
||||||
|
//监听上传结果
|
||||||
|
[put setFinishBlock:^(id outputObject, NSError *error) {
|
||||||
|
//可以从 outputObject 中获取 response 中 etag 或者自定义头部等信息
|
||||||
|
if (error) {
|
||||||
|
failure(@(error.code),error.localizedDescription);
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
QCloudUploadObjectResult * result = (QCloudUploadObjectResult *)outputObject;
|
||||||
|
NSArray *urlList = [result.location componentsSeparatedByString:@".com/"];
|
||||||
|
if (urlList.count == 2){
|
||||||
|
NSString *url = [NSString stringWithFormat:@"%@/%@",self.fileModel.customDomain,urlList[1]];
|
||||||
|
success(url,nil);
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
success(result.location,nil);
|
||||||
|
}];
|
||||||
|
|
||||||
|
[[QCloudCOSTransferMangerService defaultCOSTransferManager] UploadObject:put];
|
||||||
|
|
||||||
|
}
|
||||||
|
/// 上传一个Image
|
||||||
|
/// @param image 图片
|
||||||
|
/// @param imageName 图片的名字
|
||||||
|
|
||||||
|
/// @param success 成功
|
||||||
|
/// @param failure 失败
|
||||||
|
- (void)QCloudUploadImage:(NSData *)data
|
||||||
|
named:(NSString *)name
|
||||||
|
success:(void (^)(NSString *key, NSDictionary *resp))success
|
||||||
|
failure:(void (^)(NSNumber *resCode, NSString *message))failure{
|
||||||
|
|
||||||
|
QCloudCOSXMLUploadObjectRequest* put = [QCloudCOSXMLUploadObjectRequest new];
|
||||||
|
put.bucket = self.fileModel.bucket;
|
||||||
|
// 对象键,是对象在 COS 上的完整路径,如果带目录的话,格式为 "video/xxx/movie.mp4"
|
||||||
|
put.object = name;
|
||||||
|
//需要上传的对象内容。可以传入NSData*或者NSURL*类型的变量
|
||||||
|
put.body = data;
|
||||||
|
//监听上传进度
|
||||||
|
[put setSendProcessBlock:^(int64_t bytesSent,
|
||||||
|
int64_t totalBytesSent,
|
||||||
|
int64_t totalBytesExpectedToSend) {
|
||||||
|
// bytesSent 本次要发送的字节数(一个大文件可能要分多次发送)
|
||||||
|
// totalBytesSent 已发送的字节数
|
||||||
|
// totalBytesExpectedToSend 本次上传要发送的总字节数(即一个文件大小)
|
||||||
|
}];
|
||||||
|
|
||||||
|
//监听上传结果
|
||||||
|
[put setFinishBlock:^(id outputObject, NSError *error) {
|
||||||
|
|
||||||
|
if (error) {
|
||||||
|
failure(@(error.code),error.localizedDescription);
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
QCloudUploadObjectResult * result = (QCloudUploadObjectResult *)outputObject;
|
||||||
|
NSArray *urlList = [result.location componentsSeparatedByString:@".com/"];
|
||||||
|
if (urlList.count == 2){
|
||||||
|
NSString *url = [NSString stringWithFormat:@"%@/%@",self.fileModel.customDomain,urlList[1]];
|
||||||
|
success(url,nil);
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
success(result.location,nil);
|
||||||
|
}];
|
||||||
|
|
||||||
|
[[QCloudCOSTransferMangerService defaultCOSTransferManager] UploadObject:put];
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
+(void)downloadAudioWithFileName:(NSString *)fileName musicUrl:(NSString *)musicUrl mainFileName:(NSString *)mainFileName completion:(void (^) (BOOL isSuccess, NSString *editAudioPath))completion {
|
||||||
AFHTTPSessionManager *manager = [AFHTTPSessionManager manager];
|
AFHTTPSessionManager *manager = [AFHTTPSessionManager manager];
|
||||||
NSURLRequest *request = [NSURLRequest requestWithURL:[NSURL URLWithString:musicUrl]];
|
NSURLRequest *request = [NSURLRequest requestWithURL:[NSURL URLWithString:musicUrl]];
|
||||||
NSURLSessionDownloadTask *download = [manager downloadTaskWithRequest:request progress:^(NSProgress * _Nonnull downloadProgress) {
|
NSURLSessionDownloadTask *download = [manager downloadTaskWithRequest:request progress:^(NSProgress * _Nonnull downloadProgress) {
|
||||||
|
24
xplan-ios/Base/Tool/File/YinUploadFileModel.h
Normal file
24
xplan-ios/Base/Tool/File/YinUploadFileModel.h
Normal file
@@ -0,0 +1,24 @@
|
|||||||
|
//
|
||||||
|
// YinUploadFileModel.h
|
||||||
|
// xplan-ios
|
||||||
|
//
|
||||||
|
// Created by duoban on 2024/3/26.
|
||||||
|
//
|
||||||
|
|
||||||
|
#import <Foundation/Foundation.h>
|
||||||
|
|
||||||
|
NS_ASSUME_NONNULL_BEGIN
|
||||||
|
|
||||||
|
@interface YinUploadFileModel : NSObject
|
||||||
|
@property(nonatomic,copy) NSString *secretId;
|
||||||
|
@property(nonatomic,copy) NSString *secretKey;
|
||||||
|
@property(nonatomic,copy) NSString *sessionToken;
|
||||||
|
@property(nonatomic,copy) NSString *bucket;
|
||||||
|
@property(nonatomic,copy) NSString *region;
|
||||||
|
@property(nonatomic,copy) NSString *customDomain;
|
||||||
|
@property(nonatomic,assign) long startTime;
|
||||||
|
@property(nonatomic,assign) long expireTime;
|
||||||
|
@property(nonatomic,copy) NSString *appId;
|
||||||
|
@end
|
||||||
|
|
||||||
|
NS_ASSUME_NONNULL_END
|
12
xplan-ios/Base/Tool/File/YinUploadFileModel.m
Normal file
12
xplan-ios/Base/Tool/File/YinUploadFileModel.m
Normal file
@@ -0,0 +1,12 @@
|
|||||||
|
//
|
||||||
|
// YinUploadFileModel.m
|
||||||
|
// xplan-ios
|
||||||
|
//
|
||||||
|
// Created by duoban on 2024/3/26.
|
||||||
|
//
|
||||||
|
|
||||||
|
#import "YinUploadFileModel.h"
|
||||||
|
|
||||||
|
@implementation YinUploadFileModel
|
||||||
|
|
||||||
|
@end
|
@@ -32,6 +32,7 @@ NS_ASSUME_NONNULL_BEGIN
|
|||||||
+ (NSInteger) getDay:(long) time;
|
+ (NSInteger) getDay:(long) time;
|
||||||
+ (NSString *)calculateConstellationWithMonth:(long)time;
|
+ (NSString *)calculateConstellationWithMonth:(long)time;
|
||||||
+ (NSString *)calculateAge:(long)time;
|
+ (NSString *)calculateAge:(long)time;
|
||||||
|
+(NSString *)createUUID;
|
||||||
@end
|
@end
|
||||||
|
|
||||||
NS_ASSUME_NONNULL_END
|
NS_ASSUME_NONNULL_END
|
||||||
|
@@ -7,7 +7,7 @@
|
|||||||
|
|
||||||
#import "NSString+Utils.h"
|
#import "NSString+Utils.h"
|
||||||
#import <CommonCrypto/CommonDigest.h>
|
#import <CommonCrypto/CommonDigest.h>
|
||||||
|
#import "NSDate+DateUtils.h"
|
||||||
@implementation NSString (Utils)
|
@implementation NSString (Utils)
|
||||||
|
|
||||||
///是否是正确的手机号
|
///是否是正确的手机号
|
||||||
@@ -246,5 +246,15 @@
|
|||||||
NSLog(@"用户年龄是%ld",userAge);
|
NSLog(@"用户年龄是%ld",userAge);
|
||||||
return [NSString stringWithFormat:@"%ld", userAge];
|
return [NSString stringWithFormat:@"%ld", userAge];
|
||||||
}
|
}
|
||||||
|
+(NSString *)createUUID{
|
||||||
|
|
||||||
|
CFUUIDRef uuid;
|
||||||
|
CFStringRef uuidText;
|
||||||
|
uuid = CFUUIDCreate(NULL);
|
||||||
|
uuidText = CFUUIDCreateString(NULL, uuid);
|
||||||
|
NSString *time = [NSDate getNowTimeTimestamp];
|
||||||
|
NSString *result = [NSString stringWithFormat:@"%@%@",uuidText,time];
|
||||||
|
return [result MD5String];
|
||||||
|
|
||||||
|
}
|
||||||
@end
|
@end
|
||||||
|
@@ -1,37 +0,0 @@
|
|||||||
//
|
|
||||||
// UploadImage.h
|
|
||||||
// xplan-ios
|
|
||||||
//
|
|
||||||
// Created by 冯硕 on 2021/9/24.
|
|
||||||
// 上传图片类
|
|
||||||
|
|
||||||
#import <Foundation/Foundation.h>
|
|
||||||
|
|
||||||
NS_ASSUME_NONNULL_BEGIN
|
|
||||||
|
|
||||||
@interface UploadImage : NSObject
|
|
||||||
/// 上传一个Image
|
|
||||||
/// @param image 图片
|
|
||||||
/// @param imageName 图片的名字
|
|
||||||
/// @param token token
|
|
||||||
/// @param success 成功
|
|
||||||
/// @param failure 失败
|
|
||||||
+ (void)uploadImage:(UIImage *)image
|
|
||||||
named:(NSString *)imageName
|
|
||||||
token:(NSString *)token
|
|
||||||
success:(void (^)(NSString *key, NSDictionary *resp))success
|
|
||||||
failure:(void (^)(NSNumber *resCode, NSString *message))failure;
|
|
||||||
/// 上传一个gif图片
|
|
||||||
/// @param data 图片
|
|
||||||
/// @param imageName 图片的名字
|
|
||||||
/// @param token token
|
|
||||||
/// @param success 成功
|
|
||||||
/// @param failure 失败
|
|
||||||
+ (void)uploadGifImageData:(NSData *)data
|
|
||||||
named:(NSString *)imageName
|
|
||||||
token:(NSString *)token
|
|
||||||
success:(void (^)(NSString *key, NSDictionary *resp))success
|
|
||||||
failure:(void (^)(NSNumber *resCode, NSString *message))failure;
|
|
||||||
@end
|
|
||||||
|
|
||||||
NS_ASSUME_NONNULL_END
|
|
@@ -1,63 +0,0 @@
|
|||||||
//
|
|
||||||
// UploadImage.m
|
|
||||||
// xplan-ios
|
|
||||||
//
|
|
||||||
// Created by 冯硕 on 2021/9/24.
|
|
||||||
//
|
|
||||||
|
|
||||||
#import "UploadImage.h"
|
|
||||||
#import <Qiniu/QiniuSDK.h>
|
|
||||||
|
|
||||||
@implementation UploadImage
|
|
||||||
|
|
||||||
/// 上传一个Image
|
|
||||||
/// @param image 图片
|
|
||||||
/// @param imageName 图片的名字
|
|
||||||
/// @param token token
|
|
||||||
/// @param success 成功
|
|
||||||
/// @param failure 失败
|
|
||||||
+ (void)uploadImage:(UIImage *)image
|
|
||||||
named:(NSString *)imageName
|
|
||||||
token:(NSString *)token
|
|
||||||
success:(void (^)(NSString *key, NSDictionary *resp))success
|
|
||||||
failure:(void (^)(NSNumber *resCode, NSString *message))failure{
|
|
||||||
QNConfiguration *config = [QNConfiguration build:^(QNConfigurationBuilder *builder) {
|
|
||||||
builder.zone = [QNFixedZone zone2];
|
|
||||||
|
|
||||||
}];
|
|
||||||
QNUploadManager *upManager = [[QNUploadManager alloc] initWithConfiguration:config];
|
|
||||||
NSData *data = UIImageJPEGRepresentation(image, 0.5);
|
|
||||||
[upManager putData:data key:imageName token:token complete:^(QNResponseInfo *info, NSString *key, NSDictionary *resp) {
|
|
||||||
if (resp) {
|
|
||||||
success(key,resp);
|
|
||||||
}else{
|
|
||||||
failure(@(info.statusCode),info.error.localizedDescription);
|
|
||||||
}
|
|
||||||
} option:nil];
|
|
||||||
}
|
|
||||||
/// 上传一个gif图片
|
|
||||||
/// @param data 图片
|
|
||||||
/// @param imageName 图片的名字
|
|
||||||
/// @param token token
|
|
||||||
/// @param success 成功
|
|
||||||
/// @param failure 失败
|
|
||||||
+ (void)uploadGifImageData:(NSData *)data
|
|
||||||
named:(NSString *)imageName
|
|
||||||
token:(NSString *)token
|
|
||||||
success:(void (^)(NSString *key, NSDictionary *resp))success
|
|
||||||
failure:(void (^)(NSNumber *resCode, NSString *message))failure{
|
|
||||||
QNConfiguration *config = [QNConfiguration build:^(QNConfigurationBuilder *builder) {
|
|
||||||
builder.zone = [QNFixedZone zone2];
|
|
||||||
|
|
||||||
}];
|
|
||||||
QNUploadManager *upManager = [[QNUploadManager alloc] initWithConfiguration:config];
|
|
||||||
|
|
||||||
[upManager putData:data key:imageName token:token complete:^(QNResponseInfo *info, NSString *key, NSDictionary *resp) {
|
|
||||||
if (resp) {
|
|
||||||
success(key,resp);
|
|
||||||
}else{
|
|
||||||
failure(@(info.statusCode),info.error.localizedDescription);
|
|
||||||
}
|
|
||||||
} option:nil];
|
|
||||||
}
|
|
||||||
@end
|
|
@@ -52,4 +52,5 @@ typedef NS_ENUM(NSUInteger, GradientType) {
|
|||||||
+ (BOOL)isGifWithImageData: (NSData *)data;
|
+ (BOOL)isGifWithImageData: (NSData *)data;
|
||||||
+ (NSTimeInterval)durationForGifData:(NSData *)data;
|
+ (NSTimeInterval)durationForGifData:(NSData *)data;
|
||||||
+(UIImage *)mew_setImageGaussBlur:(UIImage *)image value:(CGFloat )value;
|
+(UIImage *)mew_setImageGaussBlur:(UIImage *)image value:(CGFloat )value;
|
||||||
|
+ (NSString *)contentTypeWithImageData: (NSData *)data;
|
||||||
@end
|
@end
|
||||||
|
@@ -43,7 +43,7 @@ NSString * const KeyWithType(KeyType type) {
|
|||||||
///正式环境
|
///正式环境
|
||||||
@(YES):@{
|
@(YES):@{
|
||||||
@(KeyType_PasswordEncode) : @"1ea53d260ecf11e7b56e00163e046a26",
|
@(KeyType_PasswordEncode) : @"1ea53d260ecf11e7b56e00163e046a26",
|
||||||
@(KeyType_NTESQuickLoginBusinessId) : @"200c83103d4a413591c7969dd8d4d6e2",
|
@(KeyType_NTESQuickLoginBusinessId) : @"57ccd6209f12437496611aec8c315c46",
|
||||||
@(KeyType_QQAppid) : @"102044928",
|
@(KeyType_QQAppid) : @"102044928",
|
||||||
@(KeyType_QQSecret) : @"715dd2601777347cd57af77c3e28402f",
|
@(KeyType_QQSecret) : @"715dd2601777347cd57af77c3e28402f",
|
||||||
@(KeyType_WechatAppid) : @"wx4b772d5ebc964a38",
|
@(KeyType_WechatAppid) : @"wx4b772d5ebc964a38",
|
||||||
@@ -66,7 +66,7 @@ NSString * const KeyWithType(KeyType type) {
|
|||||||
///测试环境
|
///测试环境
|
||||||
@(NO):@{
|
@(NO):@{
|
||||||
@(KeyType_PasswordEncode) : @"1ea53d260ecf11e7b56e00163e046a26",
|
@(KeyType_PasswordEncode) : @"1ea53d260ecf11e7b56e00163e046a26",
|
||||||
@(KeyType_NTESQuickLoginBusinessId) : @"200c83103d4a413591c7969dd8d4d6e2",
|
@(KeyType_NTESQuickLoginBusinessId) : @"57ccd6209f12437496611aec8c315c46",
|
||||||
@(KeyType_QQAppid) : @"102044928",
|
@(KeyType_QQAppid) : @"102044928",
|
||||||
@(KeyType_QQSecret) : @"715dd2601777347cd57af77c3e28402f",
|
@(KeyType_QQSecret) : @"715dd2601777347cd57af77c3e28402f",
|
||||||
@(KeyType_WechatAppid) : @"wx4b772d5ebc964a38",
|
@(KeyType_WechatAppid) : @"wx4b772d5ebc964a38",
|
||||||
|
@@ -422,7 +422,7 @@
|
|||||||
NSFileManager *fileMgr = [[NSFileManager alloc] init];
|
NSFileManager *fileMgr = [[NSFileManager alloc] init];
|
||||||
[fileMgr createDirectoryAtPath:filePath withIntermediateDirectories:YES attributes:nil error:nil];
|
[fileMgr createDirectoryAtPath:filePath withIntermediateDirectories:YES attributes:nil error:nil];
|
||||||
}
|
}
|
||||||
[UploadFile mew_downloadAudioWithFileName:fileName musicUrl:model.playUrl mainFileName:@"kMewMainHomeVoiceCard" completion:^(BOOL isSuccess, NSString *editAudioPath) {
|
[UploadFile downloadAudioWithFileName:fileName musicUrl:model.playUrl mainFileName:@"kMewMainHomeVoiceCard" completion:^(BOOL isSuccess, NSString *editAudioPath) {
|
||||||
if(isSuccess){
|
if(isSuccess){
|
||||||
[self mew_setplayAudioWithUrl:editAudioPath];
|
[self mew_setplayAudioWithUrl:editAudioPath];
|
||||||
|
|
||||||
|
@@ -360,16 +360,20 @@ typedef NS_ENUM(NSUInteger, XYLoginType) {
|
|||||||
if (hadAgree.length > 0) {
|
if (hadAgree.length > 0) {
|
||||||
CMModel.privacyState = YES;
|
CMModel.privacyState = YES;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
CMModel.privacyColor = [ThemeColor secondTextColor];
|
CMModel.privacyColor = [ThemeColor secondTextColor];
|
||||||
CMModel.appPrivacyText = [NSString stringWithFormat:@"同意《默认》,并授权%@获取本机号码。",AppName];
|
CMModel.appPrivacyText = [NSString stringWithFormat:@"同意《默认》,并授权%@获取本机号码。",AppName];
|
||||||
CMModel.privacyFont = [UIFont systemFontOfSize:12];
|
CMModel.privacyFont = [UIFont systemFontOfSize:12];
|
||||||
CMModel.protocolColor = [ThemeColor mainTextColor];
|
CMModel.protocolColor = [ThemeColor mainTextColor];
|
||||||
CMModel.appPrivacyOriginBottomMargin = 30;
|
CMModel.appPrivacyOriginBottomMargin = 30;
|
||||||
|
|
||||||
CMModel.backActionBlock = ^{ //点击了返回按钮
|
@kWeakify(self);
|
||||||
|
CMModel.backActionBlock = ^(int backType) {
|
||||||
|
@kStrongify(self);
|
||||||
[self hideHUD];
|
[self hideHUD];
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
||||||
CMModel.checkActionBlock = ^(BOOL isChecked) {
|
CMModel.checkActionBlock = ^(BOOL isChecked) {
|
||||||
NSUserDefaults *defaults = [NSUserDefaults standardUserDefaults];
|
NSUserDefaults *defaults = [NSUserDefaults standardUserDefaults];
|
||||||
|
@@ -299,6 +299,10 @@ NS_ASSUME_NONNULL_BEGIN
|
|||||||
/// @param completion 完成
|
/// @param completion 完成
|
||||||
/// @param uid 用户id
|
/// @param uid 用户id
|
||||||
+(void)requestGamePartnerInfoList:(HttpRequestHelperCompletion)completion uid:(NSString *)uid;
|
+(void)requestGamePartnerInfoList:(HttpRequestHelperCompletion)completion uid:(NSString *)uid;
|
||||||
|
/// 补填邀请码
|
||||||
|
/// @param completion 完成
|
||||||
|
/// @param inviteCode 邀请码
|
||||||
|
+(void)requestInviteCode:(HttpRequestHelperCompletion)completion inviteCode:(NSString *)inviteCode;
|
||||||
@end
|
@end
|
||||||
|
|
||||||
NS_ASSUME_NONNULL_END
|
NS_ASSUME_NONNULL_END
|
||||||
|
@@ -336,4 +336,10 @@
|
|||||||
+(void)requestGamePartnerInfoList:(HttpRequestHelperCompletion)completion uid:(NSString *)uid{
|
+(void)requestGamePartnerInfoList:(HttpRequestHelperCompletion)completion uid:(NSString *)uid{
|
||||||
[self makeRequest:@"gamePartnerInfo/list" method:HttpRequestHelperMethodGET completion:completion, __FUNCTION__,uid, nil];
|
[self makeRequest:@"gamePartnerInfo/list" method:HttpRequestHelperMethodGET completion:completion, __FUNCTION__,uid, nil];
|
||||||
}
|
}
|
||||||
|
/// 补填邀请码
|
||||||
|
/// @param completion 完成
|
||||||
|
/// @param inviteCode 邀请码
|
||||||
|
+(void)requestInviteCode:(HttpRequestHelperCompletion)completion inviteCode:(NSString *)inviteCode{
|
||||||
|
[self makeRequest:@"inviteCode/refillInviteCode" method:HttpRequestHelperMethodPOST completion:completion, __FUNCTION__,inviteCode, nil];
|
||||||
|
}
|
||||||
@end
|
@end
|
||||||
|
@@ -23,6 +23,7 @@ typedef NS_ENUM(NSInteger, XPMineSettingItemType){
|
|||||||
XPMineSettingItemType_Clear_Memory,///清楚缓存
|
XPMineSettingItemType_Clear_Memory,///清楚缓存
|
||||||
XPMineSettingItemType_About_Us,///关于我们
|
XPMineSettingItemType_About_Us,///关于我们
|
||||||
XPMineSettingItemType_CheckUpdate,///检查更新
|
XPMineSettingItemType_CheckUpdate,///检查更新
|
||||||
|
XPMineSettingItemType_InvitationCode,///填写邀请码
|
||||||
};
|
};
|
||||||
|
|
||||||
@interface XPMineSettingItemModel : NSObject
|
@interface XPMineSettingItemModel : NSObject
|
||||||
|
@@ -17,12 +17,14 @@ NS_ASSUME_NONNULL_BEGIN
|
|||||||
/// 获取数据源
|
/// 获取数据源
|
||||||
/// @param userinfo 当前的用户信息
|
/// @param userinfo 当前的用户信息
|
||||||
- (void)getMineSettingDataSourceWith:(UserInfoModel *)userinfo;
|
- (void)getMineSettingDataSourceWith:(UserInfoModel *)userinfo;
|
||||||
|
- (void)getNewMineSettingDataSourceWith:(UserInfoModel *)userinfo;
|
||||||
/// 退出当前账号
|
/// 退出当前账号
|
||||||
- (void)logoutCurrentAccount;
|
- (void)logoutCurrentAccount;
|
||||||
|
|
||||||
///获取版本更新
|
///获取版本更新
|
||||||
- (void)getVersionUpdate;
|
- (void)getVersionUpdate;
|
||||||
|
/// 补填邀请码
|
||||||
|
-(void)fillInviteCode:(NSString *)inviteCode;
|
||||||
|
|
||||||
@end
|
@end
|
||||||
|
|
||||||
|
@@ -39,7 +39,89 @@
|
|||||||
- (id<XPMineSettingProtocol>)getView {
|
- (id<XPMineSettingProtocol>)getView {
|
||||||
return (id<XPMineSettingProtocol>) [super getView];
|
return (id<XPMineSettingProtocol>) [super getView];
|
||||||
}
|
}
|
||||||
|
/// 获取数据源
|
||||||
|
/// @param userinfo 当前的用户信息
|
||||||
|
- (void)getNewMineSettingDataSourceWith:(UserInfoModel *)userinfo {
|
||||||
|
|
||||||
|
XPMineSettingItemModel * phoneItem = [[XPMineSettingItemModel alloc] init];
|
||||||
|
phoneItem.title = @"手机号码";
|
||||||
|
phoneItem.subTitle = userinfo.isBindPhone ? userinfo.phone : @"设置";
|
||||||
|
phoneItem.type = XPMineSettingItemType_Phone;
|
||||||
|
self.phoneItem = phoneItem;
|
||||||
|
|
||||||
|
XPMineSettingItemModel * loginItem = [[XPMineSettingItemModel alloc] init];
|
||||||
|
loginItem.title = userinfo.isBindPasswd ? @"重置密码" : @"设置密码";
|
||||||
|
loginItem.subTitle = @"设置";
|
||||||
|
loginItem.type = XPMineSettingItemType_Login_Password;
|
||||||
|
self.loginItem = loginItem;
|
||||||
|
|
||||||
|
XPMineSettingItemModel * blackListItem = [[XPMineSettingItemModel alloc] init];
|
||||||
|
blackListItem.title = @"黑名单管理";
|
||||||
|
blackListItem.subTitle = @"";
|
||||||
|
blackListItem.type = XPMineSettingItemType_Black_Manager;
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
XPMineSettingItemModel * invitationCodeItem = [[XPMineSettingItemModel alloc] init];
|
||||||
|
invitationCodeItem.title = @"填写邀请码";
|
||||||
|
invitationCodeItem.subTitle = @"";
|
||||||
|
invitationCodeItem.type = XPMineSettingItemType_InvitationCode;
|
||||||
|
|
||||||
|
|
||||||
|
XPMineSettingItemModel * payItem = [[XPMineSettingItemModel alloc] init];
|
||||||
|
payItem.title = @"支付密码";
|
||||||
|
payItem.subTitle = userinfo.isBindPaymentPwd ? @"修改" : @"设置";
|
||||||
|
payItem.type = XPMineSettingItemType_Pay_Password;
|
||||||
|
self.payItem = payItem;
|
||||||
|
|
||||||
|
XPMineSettingItemModel * notificaItem = [[XPMineSettingItemModel alloc] init];
|
||||||
|
notificaItem.title = @"通知提醒设置";
|
||||||
|
notificaItem.subTitle = @"设置";
|
||||||
|
notificaItem.type = XPMineSettingItemType_Notification_Remind;
|
||||||
|
|
||||||
|
XPMineSettingItemModel * privacyItem = [[XPMineSettingItemModel alloc] init];
|
||||||
|
privacyItem.title = @"个人信息与权限";
|
||||||
|
privacyItem.subTitle = @"";
|
||||||
|
privacyItem.type = XPMineSettingItemType_Permission;
|
||||||
|
|
||||||
|
XPMineSettingItemModel * helperItem = [[XPMineSettingItemModel alloc] init];
|
||||||
|
helperItem.title = @"帮助";
|
||||||
|
helperItem.subTitle = @"";
|
||||||
|
helperItem.type = XPMineSettingItemType_Helper;
|
||||||
|
|
||||||
|
XPMineSettingItemModel * feedbackItem = [[XPMineSettingItemModel alloc] init];
|
||||||
|
feedbackItem.title = @"我要反馈";
|
||||||
|
feedbackItem.subTitle = @"";
|
||||||
|
feedbackItem.type = XPMineSettingItemType_Feedback;
|
||||||
|
|
||||||
|
XPMineSettingItemModel * clearMemoryItem = [[XPMineSettingItemModel alloc] init];
|
||||||
|
clearMemoryItem.title = @"清除缓存";
|
||||||
|
clearMemoryItem.subTitle = @"";
|
||||||
|
clearMemoryItem.type = XPMineSettingItemType_Clear_Memory;
|
||||||
|
|
||||||
|
XPMineSettingItemModel *updateItem = [[XPMineSettingItemModel alloc] init];
|
||||||
|
updateItem.title = @"检查更新";
|
||||||
|
updateItem.subTitle = @"";
|
||||||
|
updateItem.type = XPMineSettingItemType_CheckUpdate;
|
||||||
|
|
||||||
|
XPMineSettingItemModel * aboutusItem = [[XPMineSettingItemModel alloc] init];
|
||||||
|
aboutusItem.title = [NSString stringWithFormat:@"关于%@", AppName];
|
||||||
|
aboutusItem.subTitle = @"";
|
||||||
|
aboutusItem.type = XPMineSettingItemType_About_Us;
|
||||||
|
|
||||||
|
NSArray * oneSection = @[phoneItem];
|
||||||
|
NSArray * twoSection = @[loginItem,payItem, notificaItem, blackListItem];
|
||||||
|
if (userinfo.canRefillInviteCode == YES){
|
||||||
|
twoSection = @[loginItem,payItem, notificaItem, blackListItem,invitationCodeItem];
|
||||||
|
}
|
||||||
|
NSArray * threeSection = @[privacyItem];
|
||||||
|
NSArray * fourthSection = @[helperItem, clearMemoryItem, updateItem, aboutusItem];
|
||||||
|
|
||||||
|
self.datasouce = @[oneSection, twoSection, threeSection, fourthSection];
|
||||||
|
|
||||||
|
|
||||||
|
[[self getView] getMineSettingDatasourceSuccess:self.datasouce];
|
||||||
|
}
|
||||||
|
|
||||||
/// 获取数据源
|
/// 获取数据源
|
||||||
/// @param userinfo 当前的用户信息
|
/// @param userinfo 当前的用户信息
|
||||||
@@ -64,6 +146,14 @@
|
|||||||
blackListItem.title = @"黑名单管理";
|
blackListItem.title = @"黑名单管理";
|
||||||
blackListItem.subTitle = @"";
|
blackListItem.subTitle = @"";
|
||||||
blackListItem.type = XPMineSettingItemType_Black_Manager;
|
blackListItem.type = XPMineSettingItemType_Black_Manager;
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
XPMineSettingItemModel * invitationCodeItem = [[XPMineSettingItemModel alloc] init];
|
||||||
|
invitationCodeItem.title = @"填写邀请码";
|
||||||
|
invitationCodeItem.subTitle = @"";
|
||||||
|
invitationCodeItem.type = XPMineSettingItemType_InvitationCode;
|
||||||
|
|
||||||
|
|
||||||
XPMineSettingItemModel * payItem = [[XPMineSettingItemModel alloc] init];
|
XPMineSettingItemModel * payItem = [[XPMineSettingItemModel alloc] init];
|
||||||
payItem.title = @"支付密码";
|
payItem.title = @"支付密码";
|
||||||
@@ -108,6 +198,9 @@
|
|||||||
|
|
||||||
NSArray * oneSection = @[phoneItem];
|
NSArray * oneSection = @[phoneItem];
|
||||||
NSArray * twoSection = @[loginItem,payItem, notificaItem, blackListItem];
|
NSArray * twoSection = @[loginItem,payItem, notificaItem, blackListItem];
|
||||||
|
if (userinfo.canRefillInviteCode == YES){
|
||||||
|
twoSection = @[loginItem,payItem, notificaItem, blackListItem,invitationCodeItem];
|
||||||
|
}
|
||||||
NSArray * threeSection = @[privacyItem];
|
NSArray * threeSection = @[privacyItem];
|
||||||
NSArray * fourthSection = @[helperItem, clearMemoryItem, updateItem, aboutusItem];
|
NSArray * fourthSection = @[helperItem, clearMemoryItem, updateItem, aboutusItem];
|
||||||
|
|
||||||
@@ -163,4 +256,12 @@
|
|||||||
} errorToast:NO] appVersion:appVersion os:os channel:channel];
|
} errorToast:NO] appVersion:appVersion os:os channel:channel];
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/// 补填邀请码
|
||||||
|
-(void)fillInviteCode:(NSString *)inviteCode{
|
||||||
|
[Api requestInviteCode:[self createHttpCompletion:^(BaseModel * _Nonnull data) {
|
||||||
|
[[self getView]fillInviteCodeSuccess];
|
||||||
|
} fail:^(NSInteger code, NSString * _Nullable msg) {
|
||||||
|
[[self getView]fillInviteCodeFail:code];
|
||||||
|
} showLoading:YES errorToast:YES] inviteCode:inviteCode];
|
||||||
|
}
|
||||||
@end
|
@end
|
||||||
|
@@ -11,7 +11,7 @@
|
|||||||
#import "NSMutableDictionary+Saft.h"
|
#import "NSMutableDictionary+Saft.h"
|
||||||
///Tool
|
///Tool
|
||||||
#import "AccountInfoStorage.h"
|
#import "AccountInfoStorage.h"
|
||||||
#import "UploadImage.h"
|
#import "UploadFile.h"
|
||||||
|
|
||||||
///Model
|
///Model
|
||||||
#import "XPMineUserInfoEditModel.h"
|
#import "XPMineUserInfoEditModel.h"
|
||||||
@@ -112,16 +112,14 @@
|
|||||||
/// 上传头像
|
/// 上传头像
|
||||||
/// @param avatar 头像
|
/// @param avatar 头像
|
||||||
- (void)uploadAvatar:(UIImage *)avatar {
|
- (void)uploadAvatar:(UIImage *)avatar {
|
||||||
[Api qiniuUpLoadImage:[self createHttpCompletion:^(BaseModel * _Nonnull data) {
|
NSData *data = UIImageJPEGRepresentation(avatar, 0.5);
|
||||||
NSString *key = data.data[@"key"];
|
NSString *format = [UIImage contentTypeWithImageData:data];
|
||||||
NSString *token = data.data[@"token"];
|
NSString *name = [NSString stringWithFormat:@"image/%@.%@",[NSString createUUID],format];
|
||||||
[UploadImage uploadImage:avatar named:key token:token success:^(NSString * _Nonnull key, NSDictionary * _Nonnull resp) {
|
[[UploadFile share]QCloudUploadImage:data named:name success:^(NSString * _Nonnull key, NSDictionary * _Nonnull resp) {
|
||||||
NSString *url = resp[@"path"];
|
[[self getView] uploadImageSuccess:key];
|
||||||
[[self getView] uploadImageSuccess:url];
|
} failure:^(NSNumber * _Nonnull resCode, NSString * _Nonnull message) {
|
||||||
} failure:^(NSNumber * _Nonnull resCode, NSString * _Nonnull message) {
|
|
||||||
[[self getView] showErrorToast:@"上传失败"];
|
}];
|
||||||
}];
|
|
||||||
}]];
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
@@ -12,7 +12,7 @@
|
|||||||
#import "UserInfoModel.h"
|
#import "UserInfoModel.h"
|
||||||
///Tool
|
///Tool
|
||||||
#import "AccountInfoStorage.h"
|
#import "AccountInfoStorage.h"
|
||||||
#import "UploadImage.h"
|
#import "UploadFile.h"
|
||||||
///P
|
///P
|
||||||
#import "XPMineUserInfoAlbumProtocol.h"
|
#import "XPMineUserInfoAlbumProtocol.h"
|
||||||
|
|
||||||
@@ -40,16 +40,14 @@
|
|||||||
/// 相册
|
/// 相册
|
||||||
/// @param albumImage 相册的image
|
/// @param albumImage 相册的image
|
||||||
- (void)uploadAlbumImage:(UIImage *)albumImage {
|
- (void)uploadAlbumImage:(UIImage *)albumImage {
|
||||||
[Api qiniuUpLoadImage:[self createHttpCompletion:^(BaseModel * _Nonnull data) {
|
NSData *data = UIImageJPEGRepresentation(albumImage, 0.5);
|
||||||
NSString *key = data.data[@"key"];
|
NSString *format = [UIImage contentTypeWithImageData:data];
|
||||||
NSString *token = data.data[@"token"];
|
NSString *name = [NSString stringWithFormat:@"image/%@.%@",[NSString createUUID],format];
|
||||||
[UploadImage uploadImage:albumImage named:key token:token success:^(NSString * _Nonnull key, NSDictionary * _Nonnull resp) {
|
[[UploadFile share]QCloudUploadImage:data named:name success:^(NSString * _Nonnull key, NSDictionary * _Nonnull resp) {
|
||||||
NSString *url = resp[@"path"];
|
[[self getView] uploadAlbumImageToThirdSuccess:key];
|
||||||
[[self getView] uploadAlbumImageToThirdSuccess:url];
|
} failure:^(NSNumber * _Nonnull resCode, NSString * _Nonnull message) {
|
||||||
} failure:^(NSNumber * _Nonnull resCode, NSString * _Nonnull message) {
|
[[self getView] showErrorToast:@"上传失败"];
|
||||||
[[self getView] showErrorToast:@"上传失败"];
|
}];
|
||||||
}];
|
|
||||||
} showLoading:YES]];
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
@@ -23,7 +23,11 @@ NS_ASSUME_NONNULL_BEGIN
|
|||||||
- (void)getVersionUpdateFail;
|
- (void)getVersionUpdateFail;
|
||||||
///版本更新
|
///版本更新
|
||||||
-(void)getVersionUpdate:(XPVersionUpdateModel *)model;
|
-(void)getVersionUpdate:(XPVersionUpdateModel *)model;
|
||||||
|
|
||||||
|
///补填邀请码成功
|
||||||
|
-(void)fillInviteCodeSuccess;
|
||||||
|
///补填邀请码失败
|
||||||
|
-(void)fillInviteCodeFail:(NSInteger)code;
|
||||||
@end
|
@end
|
||||||
|
|
||||||
NS_ASSUME_NONNULL_END
|
NS_ASSUME_NONNULL_END
|
||||||
|
@@ -26,6 +26,9 @@
|
|||||||
#import "TTAlertConfig.h"
|
#import "TTAlertConfig.h"
|
||||||
#import "TTPopup.h"
|
#import "TTPopup.h"
|
||||||
#import "XPUpgradeView.h"
|
#import "XPUpgradeView.h"
|
||||||
|
#import "YinMineSettingFillCodeView.h"
|
||||||
|
#import "YinMineSettingPopUpView.h"
|
||||||
|
|
||||||
///P
|
///P
|
||||||
#import "XPMineSettingPresent.h"
|
#import "XPMineSettingPresent.h"
|
||||||
#import "XPMineSettingProtocol.h"
|
#import "XPMineSettingProtocol.h"
|
||||||
@@ -44,7 +47,7 @@
|
|||||||
#import "XPLoginBindPhoneResultViewController.h"
|
#import "XPLoginBindPhoneResultViewController.h"
|
||||||
|
|
||||||
|
|
||||||
@interface XPMineSettingViewController ()<UITableViewDelegate, UITableViewDataSource, XPMineSettingProtocol>
|
@interface XPMineSettingViewController ()<UITableViewDelegate, UITableViewDataSource, XPMineSettingProtocol,YinMineSettingFillCodeViewDelegate,YinMineSettingPopUpViewDelegate>
|
||||||
///
|
///
|
||||||
@property (nonatomic,strong) UITableView *tableView;
|
@property (nonatomic,strong) UITableView *tableView;
|
||||||
///数据源
|
///数据源
|
||||||
@@ -205,6 +208,14 @@
|
|||||||
[self.presenter getVersionUpdate];
|
[self.presenter getVersionUpdate];
|
||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
|
case XPMineSettingItemType_InvitationCode:
|
||||||
|
{
|
||||||
|
YinMineSettingFillCodeView *codeView = [[YinMineSettingFillCodeView alloc]initWithFrame:CGRectMake(0, 0, KScreenWidth, KScreenHeight)];
|
||||||
|
codeView.delegate = self;
|
||||||
|
[TTPopup popupView:codeView style:TTPopupStyleAlert];
|
||||||
|
|
||||||
|
break;
|
||||||
|
}
|
||||||
default:
|
default:
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
@@ -283,7 +294,18 @@
|
|||||||
self.userInfo = userInfo;
|
self.userInfo = userInfo;
|
||||||
[self.presenter getMineSettingDataSourceWith:userInfo];
|
[self.presenter getMineSettingDataSourceWith:userInfo];
|
||||||
}
|
}
|
||||||
|
///补填邀请码成功
|
||||||
|
-(void)fillInviteCodeSuccess{
|
||||||
|
self.userInfo.canRefillInviteCode = NO;
|
||||||
|
[self.presenter getNewMineSettingDataSourceWith:self.userInfo];
|
||||||
|
}
|
||||||
|
///补填邀请码失败
|
||||||
|
-(void)fillInviteCodeFail:(NSInteger)code{
|
||||||
|
if (code == 211185 || code == 211186){
|
||||||
|
self.userInfo.canRefillInviteCode = NO;
|
||||||
|
[self.presenter getNewMineSettingDataSourceWith:self.userInfo];
|
||||||
|
}
|
||||||
|
}
|
||||||
- (void)logoutCurrentAccountSuccess {
|
- (void)logoutCurrentAccountSuccess {
|
||||||
[self.navigationController popToRootViewControllerAnimated:NO];
|
[self.navigationController popToRootViewControllerAnimated:NO];
|
||||||
}
|
}
|
||||||
@@ -312,7 +334,17 @@
|
|||||||
service.shouldDismissOnBackgroundTouch = NO;
|
service.shouldDismissOnBackgroundTouch = NO;
|
||||||
[TTPopup popupWithConfig:service];
|
[TTPopup popupWithConfig:service];
|
||||||
}
|
}
|
||||||
|
#pragma mark - YinMineSettingFillCodeViewDelegate
|
||||||
|
- (void)showFillInviteCodeView:(NSString *)code{
|
||||||
|
YinMineSettingPopUpView *popUpView = [[YinMineSettingPopUpView alloc]initWithFrame:CGRectMake(0, 0, KScreenWidth, KScreenHeight)];
|
||||||
|
popUpView.code = code;
|
||||||
|
popUpView.delegate = self;
|
||||||
|
[TTPopup popupView:popUpView style:TTPopupStyleAlert];
|
||||||
|
}
|
||||||
|
#pragma mark - YinMineSettingPopUpViewDelegate
|
||||||
|
-(void)confirmFillInviteCode:(NSString *)code{
|
||||||
|
[self.presenter fillInviteCode:code];
|
||||||
|
}
|
||||||
#pragma mark - Event Response
|
#pragma mark - Event Response
|
||||||
- (void)logoutButtonAction:(UIButton *)sender {
|
- (void)logoutButtonAction:(UIButton *)sender {
|
||||||
[self.presenter logoutCurrentAccount];
|
[self.presenter logoutCurrentAccount];
|
||||||
|
@@ -76,18 +76,15 @@
|
|||||||
/// 上传声音文件
|
/// 上传声音文件
|
||||||
/// @param filePath 文件路径
|
/// @param filePath 文件路径
|
||||||
- (void)uploadVoice:(NSString *)filePath {
|
- (void)uploadVoice:(NSString *)filePath {
|
||||||
[Api qiniuUpLoadImage:[self createHttpCompletion:^(BaseModel * _Nonnull data) {
|
|
||||||
NSString *key = data.data[@"key"];
|
|
||||||
NSString *token = data.data[@"token"];
|
NSString *name = [NSString stringWithFormat:@"file/%@",[NSString createUUID]];
|
||||||
[UploadFile uploadFile:filePath named:key token:token success:^(NSString * _Nonnull key, NSDictionary * _Nonnull resp) {
|
[[UploadFile share]QCloudUploadFile:filePath named:name success:^(NSString * _Nonnull key, NSDictionary * _Nonnull resp) {
|
||||||
NSString *url = resp[@"path"];
|
[[self getView] uploadVoiceFileToThirdSuccess:key];
|
||||||
[[self getView] uploadVoiceFileToThirdSuccess:url];
|
|
||||||
} failure:^(NSNumber * _Nonnull resCode, NSString * _Nonnull message) {
|
} failure:^(NSNumber * _Nonnull resCode, NSString * _Nonnull message) {
|
||||||
[[self getView] uploadVoiceFileFail:message];
|
[[self getView] uploadVoiceFileFail:message];
|
||||||
}];
|
}];
|
||||||
} fail:^(NSInteger code, NSString * _Nullable msg) {
|
|
||||||
[[self getView] uploadVoiceFileFail:msg];
|
|
||||||
}]];
|
|
||||||
}
|
}
|
||||||
|
|
||||||
@end
|
@end
|
||||||
|
@@ -152,7 +152,7 @@
|
|||||||
[self.idStackView addArrangedSubview:self.copysIdImageView];
|
[self.idStackView addArrangedSubview:self.copysIdImageView];
|
||||||
|
|
||||||
///用户信息中的标签
|
///用户信息中的标签
|
||||||
[self.tagStackView addArrangedSubview:self.clanBtn];
|
|
||||||
[self.tagStackView addArrangedSubview:self.newUserImageView];
|
[self.tagStackView addArrangedSubview:self.newUserImageView];
|
||||||
[self.tagStackView addArrangedSubview:self.officalImageView];
|
[self.tagStackView addArrangedSubview:self.officalImageView];
|
||||||
[self.tagStackView addArrangedSubview:self.experImageView];
|
[self.tagStackView addArrangedSubview:self.experImageView];
|
||||||
@@ -286,11 +286,11 @@
|
|||||||
make.height.mas_equalTo(22);
|
make.height.mas_equalTo(22);
|
||||||
}];
|
}];
|
||||||
|
|
||||||
[self.clanBtn mas_makeConstraints:^(MASConstraintMaker *make) {
|
// [self.clanBtn mas_makeConstraints:^(MASConstraintMaker *make) {
|
||||||
make.height.mas_equalTo(22);
|
// make.height.mas_equalTo(22);
|
||||||
|
//
|
||||||
}];
|
// }];
|
||||||
|
//
|
||||||
[self.experImageView mas_makeConstraints:^(MASConstraintMaker *make) {
|
[self.experImageView mas_makeConstraints:^(MASConstraintMaker *make) {
|
||||||
make.width.mas_equalTo(36);
|
make.width.mas_equalTo(36);
|
||||||
make.height.mas_equalTo(18);
|
make.height.mas_equalTo(18);
|
||||||
|
@@ -0,0 +1,22 @@
|
|||||||
|
//
|
||||||
|
// YinMineSettingFillCodeView.h
|
||||||
|
// xplan-ios
|
||||||
|
//
|
||||||
|
// Created by duoban on 2024/3/26.
|
||||||
|
//
|
||||||
|
|
||||||
|
#import <UIKit/UIKit.h>
|
||||||
|
|
||||||
|
NS_ASSUME_NONNULL_BEGIN
|
||||||
|
|
||||||
|
@protocol YinMineSettingFillCodeViewDelegate <NSObject>
|
||||||
|
|
||||||
|
-(void)showFillInviteCodeView:(NSString *)code;
|
||||||
|
|
||||||
|
@end
|
||||||
|
|
||||||
|
@interface YinMineSettingFillCodeView : UIView
|
||||||
|
@property(nonatomic,weak) id<YinMineSettingFillCodeViewDelegate>delegate;
|
||||||
|
@end
|
||||||
|
|
||||||
|
NS_ASSUME_NONNULL_END
|
@@ -0,0 +1,161 @@
|
|||||||
|
//
|
||||||
|
// YinMineSettingFillCodeView.m
|
||||||
|
// xplan-ios
|
||||||
|
//
|
||||||
|
// Created by duoban on 2024/3/26.
|
||||||
|
//
|
||||||
|
|
||||||
|
#import "YinMineSettingFillCodeView.h"
|
||||||
|
|
||||||
|
@interface YinMineSettingFillCodeView()<UITextFieldDelegate>
|
||||||
|
@property(nonatomic,strong) UIButton *backView;
|
||||||
|
@property(nonatomic,strong) UIView *bgView;
|
||||||
|
@property(nonatomic,strong) UILabel *titleView;
|
||||||
|
@property(nonatomic,strong) UITextField *textField;
|
||||||
|
@property(nonatomic,strong) UILabel *explainView;
|
||||||
|
@property(nonatomic,strong) UIButton *confirmBtn;
|
||||||
|
@end
|
||||||
|
@implementation YinMineSettingFillCodeView
|
||||||
|
-(instancetype)initWithFrame:(CGRect)frame{
|
||||||
|
self = [super initWithFrame:frame];
|
||||||
|
if(self){
|
||||||
|
[self installUI];
|
||||||
|
[self installConstraints];
|
||||||
|
}
|
||||||
|
return self;
|
||||||
|
}
|
||||||
|
-(void)installUI{
|
||||||
|
self.backgroundColor = [UIColor colorWithWhite:0 alpha:0.4];
|
||||||
|
[self addSubview:self.backView];
|
||||||
|
[self addSubview:self.bgView];
|
||||||
|
[self.bgView addSubview:self.titleView];
|
||||||
|
[self.bgView addSubview:self.textField];
|
||||||
|
[self.bgView addSubview:self.explainView];
|
||||||
|
[self.bgView addSubview:self.confirmBtn];
|
||||||
|
|
||||||
|
|
||||||
|
}
|
||||||
|
-(void)installConstraints{
|
||||||
|
[self.backView mas_makeConstraints:^(MASConstraintMaker *make) {
|
||||||
|
make.edges.equalTo(self);
|
||||||
|
}];
|
||||||
|
[self.bgView mas_makeConstraints:^(MASConstraintMaker *make) {
|
||||||
|
make.width.mas_equalTo(kGetScaleWidth(307));
|
||||||
|
make.height.mas_equalTo(kGetScaleWidth(274));
|
||||||
|
make.center.equalTo(self);
|
||||||
|
}];
|
||||||
|
[self.titleView mas_makeConstraints:^(MASConstraintMaker *make) {
|
||||||
|
make.top.mas_equalTo(kGetScaleWidth(28));
|
||||||
|
make.centerX.equalTo(self.bgView);
|
||||||
|
}];
|
||||||
|
[self.textField mas_makeConstraints:^(MASConstraintMaker *make) {
|
||||||
|
|
||||||
|
make.top.mas_equalTo(kGetScaleWidth(74));
|
||||||
|
make.width.mas_equalTo(kGetScaleWidth(255));
|
||||||
|
make.height.mas_equalTo(kGetScaleWidth(48));
|
||||||
|
make.centerX.equalTo(self.bgView);
|
||||||
|
}];
|
||||||
|
[self.explainView mas_makeConstraints:^(MASConstraintMaker *make) {
|
||||||
|
make.leading.mas_equalTo(kGetScaleWidth(26));
|
||||||
|
make.trailing.mas_equalTo(-kGetScaleWidth(26));
|
||||||
|
make.top.mas_equalTo(kGetScaleWidth(134));
|
||||||
|
make.height.mas_equalTo(kGetScaleWidth(60));
|
||||||
|
}];
|
||||||
|
[self.confirmBtn mas_makeConstraints:^(MASConstraintMaker *make) {
|
||||||
|
make.top.mas_equalTo(kGetScaleWidth(210));
|
||||||
|
make.width.mas_equalTo(kGetScaleWidth(244));
|
||||||
|
make.height.mas_equalTo(kGetScaleWidth(40));
|
||||||
|
make.centerX.equalTo(self.bgView);
|
||||||
|
}];
|
||||||
|
}
|
||||||
|
-(void)backAction{
|
||||||
|
[TTPopup dismiss];
|
||||||
|
}
|
||||||
|
-(void)textDidChange:(UITextField *)textField{
|
||||||
|
if (textField.text.length > 10){
|
||||||
|
textField.text = [textField.text substringToIndex:10];
|
||||||
|
}
|
||||||
|
}
|
||||||
|
- (BOOL)textField:(UITextField *)textField shouldChangeCharactersInRange:(NSRange)range replacementString:(NSString *)string {
|
||||||
|
if (string.length == 0){
|
||||||
|
return YES;
|
||||||
|
}
|
||||||
|
NSString *regex =@"^[a-zA-Z0-9]+$";
|
||||||
|
NSPredicate *pred = [NSPredicate predicateWithFormat:@"SELF MATCHES %@",regex];
|
||||||
|
if ([pred evaluateWithObject:string]) {
|
||||||
|
return YES;
|
||||||
|
}
|
||||||
|
return NO;
|
||||||
|
}
|
||||||
|
-(void)confirmBtnAction{
|
||||||
|
if (self.textField.text.length <= 0){
|
||||||
|
[XCHUDTool showErrorWithMessage:@"请填写邀请码"];
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
if (self.delegate && [self.delegate respondsToSelector:@selector(showFillInviteCodeView:)]){
|
||||||
|
[self.delegate showFillInviteCodeView:self.textField.text];
|
||||||
|
}
|
||||||
|
[TTPopup dismiss];
|
||||||
|
|
||||||
|
}
|
||||||
|
#pragma mark - 懒加载
|
||||||
|
- (UIButton *)backView{
|
||||||
|
if(!_backView){
|
||||||
|
_backView = [UIButton new];
|
||||||
|
[_backView addTarget:self action:@selector(backAction) forControlEvents:UIControlEventTouchUpInside];
|
||||||
|
}
|
||||||
|
return _backView;
|
||||||
|
}
|
||||||
|
- (UIView *)bgView{
|
||||||
|
if(!_bgView){
|
||||||
|
_bgView = [UIView new];
|
||||||
|
_bgView.backgroundColor = [UIColor whiteColor];
|
||||||
|
[_bgView setCornerWithLeftTopCorner:kGetScaleWidth(20) rightTopCorner:kGetScaleWidth(20) bottomLeftCorner:kGetScaleWidth(20) bottomRightCorner:kGetScaleWidth(20) size:CGSizeMake(kGetScaleWidth(307), kGetScaleWidth(274))];
|
||||||
|
}
|
||||||
|
return _bgView;
|
||||||
|
}
|
||||||
|
- (UILabel *)titleView{
|
||||||
|
if(!_titleView){
|
||||||
|
_titleView = [UILabel labelInitWithText:@"填写邀请码" font:kFontSemibold(16) textColor:UIColorFromRGB(0x2B2D33)];
|
||||||
|
}
|
||||||
|
return _titleView;
|
||||||
|
}
|
||||||
|
- (UITextField *)textField{
|
||||||
|
if(!_textField){
|
||||||
|
_textField = [UITextField new];
|
||||||
|
NSAttributedString *att = [[NSAttributedString alloc]initWithString:@"请输入要填写的邀请码" attributes:@{NSFontAttributeName:kFontRegular(14),NSForegroundColorAttributeName:UIColorFromRGB(0x878B9C)}];
|
||||||
|
_textField.attributedPlaceholder = att;
|
||||||
|
_textField.textAlignment = NSTextAlignmentCenter;
|
||||||
|
_textField.backgroundColor = UIColorFromRGB(0xF3F5FA);
|
||||||
|
[_textField setCornerWithLeftTopCorner:kGetScaleWidth(8) rightTopCorner:kGetScaleWidth(8) bottomLeftCorner:kGetScaleWidth(8) bottomRightCorner:kGetScaleWidth(8) size:CGSizeMake(kGetScaleWidth(255), kGetScaleWidth(48))];
|
||||||
|
[_textField addTarget:self action:@selector(textDidChange:) forControlEvents:UIControlEventEditingChanged];
|
||||||
|
_textField.delegate = self;
|
||||||
|
}
|
||||||
|
return _textField;
|
||||||
|
}
|
||||||
|
- (UILabel *)explainView{
|
||||||
|
if(!_explainView){
|
||||||
|
_explainView = [UILabel new];
|
||||||
|
_explainView.numberOfLines = 0;
|
||||||
|
NSMutableParagraphStyle *style = [NSMutableParagraphStyle new];
|
||||||
|
style.lineSpacing = 3;
|
||||||
|
NSMutableAttributedString *att = [[NSMutableAttributedString alloc]initWithString:@"填写说明:\n请填写邀请人的邀请码;\n邀请码只能填写一次,请勿随意填写;" attributes:@{NSFontAttributeName:kFontRegular(14),NSForegroundColorAttributeName:UIColorFromRGB(0xB3B3C3),NSParagraphStyleAttributeName:style}];
|
||||||
|
[att addAttributes:@{NSFontAttributeName:kFontRegular(14),NSForegroundColorAttributeName:UIColorFromRGB(0x2B2D33)} range:[att.string rangeOfString:@"填写说明:"]];
|
||||||
|
_explainView.attributedText = att;
|
||||||
|
}
|
||||||
|
return _explainView;
|
||||||
|
}
|
||||||
|
- (UIButton *)confirmBtn{
|
||||||
|
if(!_confirmBtn){
|
||||||
|
_confirmBtn = [UIButton new];
|
||||||
|
_confirmBtn.backgroundColor = UIColorFromRGB(0xFFDA24);
|
||||||
|
_confirmBtn.layer.cornerRadius = kGetScaleWidth(40)/2;
|
||||||
|
_confirmBtn.layer.masksToBounds = true;
|
||||||
|
[_confirmBtn setTitle:@"确认" forState:UIControlStateNormal];
|
||||||
|
[_confirmBtn setTitleColor:UIColorFromRGB(0x2B2D33) forState:UIControlStateNormal];
|
||||||
|
_confirmBtn.titleLabel.font = kFontMedium(14);
|
||||||
|
[_confirmBtn addTarget:self action:@selector(confirmBtnAction) forControlEvents:UIControlEventTouchUpInside];
|
||||||
|
}
|
||||||
|
return _confirmBtn;
|
||||||
|
}
|
||||||
|
@end
|
@@ -0,0 +1,21 @@
|
|||||||
|
//
|
||||||
|
// YinMineSettingPopUpView.h
|
||||||
|
// xplan-ios
|
||||||
|
//
|
||||||
|
// Created by duoban on 2024/3/26.
|
||||||
|
//
|
||||||
|
|
||||||
|
#import <UIKit/UIKit.h>
|
||||||
|
|
||||||
|
NS_ASSUME_NONNULL_BEGIN
|
||||||
|
@protocol YinMineSettingPopUpViewDelegate <NSObject>
|
||||||
|
|
||||||
|
-(void)confirmFillInviteCode:(NSString *)code;
|
||||||
|
|
||||||
|
@end
|
||||||
|
@interface YinMineSettingPopUpView : UIView
|
||||||
|
@property(nonatomic,copy) NSString *code;
|
||||||
|
@property(nonatomic,weak) id<YinMineSettingPopUpViewDelegate>delegate;
|
||||||
|
@end
|
||||||
|
|
||||||
|
NS_ASSUME_NONNULL_END
|
@@ -0,0 +1,115 @@
|
|||||||
|
//
|
||||||
|
// YinMineSettingPopUpView.m
|
||||||
|
// xplan-ios
|
||||||
|
//
|
||||||
|
// Created by duoban on 2024/3/26.
|
||||||
|
//
|
||||||
|
|
||||||
|
#import "YinMineSettingPopUpView.h"
|
||||||
|
@interface YinMineSettingPopUpView()
|
||||||
|
@property(nonatomic,strong) UIView *bgView;
|
||||||
|
@property(nonatomic,strong) UILabel *contextView;
|
||||||
|
@property(nonatomic,strong) UIButton *cancelBtn;
|
||||||
|
@property(nonatomic,strong) UIButton *confirmBtn;
|
||||||
|
@end
|
||||||
|
@implementation YinMineSettingPopUpView
|
||||||
|
|
||||||
|
-(instancetype)initWithFrame:(CGRect)frame{
|
||||||
|
self = [super initWithFrame:frame];
|
||||||
|
if(self){
|
||||||
|
[self installUI];
|
||||||
|
[self installConstraints];
|
||||||
|
}
|
||||||
|
return self;
|
||||||
|
}
|
||||||
|
-(void)installUI{
|
||||||
|
[self addSubview:self.bgView];
|
||||||
|
[self.bgView addSubview:self.contextView];
|
||||||
|
[self.bgView addSubview:self.cancelBtn];
|
||||||
|
[self.bgView addSubview:self.confirmBtn];
|
||||||
|
}
|
||||||
|
-(void)installConstraints{
|
||||||
|
[self.bgView mas_makeConstraints:^(MASConstraintMaker *make) {
|
||||||
|
make.width.mas_equalTo(kGetScaleWidth(307));
|
||||||
|
make.height.mas_equalTo(kGetScaleWidth(176));
|
||||||
|
make.center.equalTo(self);
|
||||||
|
}];
|
||||||
|
[self.contextView mas_makeConstraints:^(MASConstraintMaker *make) {
|
||||||
|
make.top.mas_equalTo(kGetScaleWidth(32));
|
||||||
|
make.centerX.equalTo(self.bgView);
|
||||||
|
}];
|
||||||
|
[self.cancelBtn mas_makeConstraints:^(MASConstraintMaker *make) {
|
||||||
|
make.top.mas_equalTo(kGetScaleWidth(112));
|
||||||
|
make.leading.mas_equalTo(kGetScaleWidth(22));
|
||||||
|
make.width.mas_equalTo(kGetScaleWidth(124));
|
||||||
|
make.height.mas_equalTo(kGetScaleWidth(40));
|
||||||
|
}];
|
||||||
|
[self.confirmBtn mas_makeConstraints:^(MASConstraintMaker *make) {
|
||||||
|
make.top.mas_equalTo(kGetScaleWidth(112));
|
||||||
|
make.trailing.mas_equalTo(-kGetScaleWidth(22));
|
||||||
|
make.width.mas_equalTo(kGetScaleWidth(124));
|
||||||
|
make.height.mas_equalTo(kGetScaleWidth(40));
|
||||||
|
}];
|
||||||
|
}
|
||||||
|
- (void)setCode:(NSString *)code{
|
||||||
|
_code = code;
|
||||||
|
NSMutableAttributedString *att = [[NSMutableAttributedString alloc]initWithString:[NSString stringWithFormat:@"确认填写 邀请码【%@】?\n\n注意邀请码只能填写1次",_code] attributes:@{NSFontAttributeName:kFontRegular(14),NSForegroundColorAttributeName:UIColorFromRGB(0x2B2D33)}];
|
||||||
|
[att addAttributes:@{NSFontAttributeName:kFontMedium(14),NSForegroundColorAttributeName:UIColorFromRGB(0x2B2D33)} range:[att.string rangeOfString:[NSString stringWithFormat:@"【%@】",_code]]];
|
||||||
|
[att addAttributes:@{NSFontAttributeName:kFontSemibold(16),NSForegroundColorAttributeName:UIColorFromRGB(0xFFDA24)} range:[att.string rangeOfString:@"1次"]];
|
||||||
|
_contextView.attributedText = att;
|
||||||
|
}
|
||||||
|
-(void)cancelBtnAction{
|
||||||
|
[TTPopup dismiss];
|
||||||
|
}
|
||||||
|
-(void)confirmBtnAction{
|
||||||
|
[TTPopup dismiss];
|
||||||
|
if (self.delegate && [self.delegate respondsToSelector:@selector(confirmFillInviteCode:)]){
|
||||||
|
[self.delegate confirmFillInviteCode:self.code];
|
||||||
|
}
|
||||||
|
}
|
||||||
|
#pragma mark - 懒加载
|
||||||
|
- (UIView *)bgView{
|
||||||
|
if(!_bgView){
|
||||||
|
_bgView = [UIView new];
|
||||||
|
_bgView.backgroundColor = [UIColor whiteColor];
|
||||||
|
[_bgView setCornerWithLeftTopCorner:kGetScaleWidth(20) rightTopCorner:kGetScaleWidth(20) bottomLeftCorner:kGetScaleWidth(20) bottomRightCorner:kGetScaleWidth(20) size:CGSizeMake(kGetScaleWidth(307), kGetScaleWidth(176))];
|
||||||
|
}
|
||||||
|
return _bgView;
|
||||||
|
}
|
||||||
|
- (UILabel *)contextView{
|
||||||
|
if(!_contextView){
|
||||||
|
_contextView = [UILabel new];
|
||||||
|
|
||||||
|
_contextView.textAlignment = NSTextAlignmentCenter;
|
||||||
|
|
||||||
|
_contextView.numberOfLines = 3;
|
||||||
|
}
|
||||||
|
return _contextView;
|
||||||
|
}
|
||||||
|
- (UIButton *)cancelBtn{
|
||||||
|
if(!_cancelBtn){
|
||||||
|
_cancelBtn = [UIButton new];
|
||||||
|
_cancelBtn.backgroundColor = UIColorRGBAlpha(0xFFDA24, 0.2);
|
||||||
|
_cancelBtn.layer.cornerRadius = kGetScaleWidth(40)/2;
|
||||||
|
_cancelBtn.layer.masksToBounds = true;
|
||||||
|
[_cancelBtn setTitle:@"取消" forState:UIControlStateNormal];
|
||||||
|
[_cancelBtn setTitleColor:UIColorFromRGB(0x2B2D33) forState:UIControlStateNormal];
|
||||||
|
_cancelBtn.titleLabel.font = kFontMedium(14);
|
||||||
|
[_cancelBtn addTarget:self action:@selector(cancelBtnAction) forControlEvents:UIControlEventTouchUpInside];
|
||||||
|
}
|
||||||
|
return _cancelBtn;
|
||||||
|
}
|
||||||
|
- (UIButton *)confirmBtn{
|
||||||
|
if(!_confirmBtn){
|
||||||
|
_confirmBtn = [UIButton new];
|
||||||
|
_confirmBtn.backgroundColor = UIColorFromRGB(0xFFDA24);
|
||||||
|
_confirmBtn.layer.cornerRadius = kGetScaleWidth(40)/2;
|
||||||
|
_confirmBtn.layer.masksToBounds = true;
|
||||||
|
[_confirmBtn setTitle:@"确认" forState:UIControlStateNormal];
|
||||||
|
[_confirmBtn setTitleColor:UIColorFromRGB(0x2B2D33) forState:UIControlStateNormal];
|
||||||
|
_confirmBtn.titleLabel.font = kFontMedium(14);
|
||||||
|
[_confirmBtn addTarget:self action:@selector(confirmBtnAction) forControlEvents:UIControlEventTouchUpInside];
|
||||||
|
}
|
||||||
|
return _confirmBtn;
|
||||||
|
}
|
||||||
|
@end
|
@@ -15,7 +15,7 @@
|
|||||||
#import "ThemeColor.h"
|
#import "ThemeColor.h"
|
||||||
#import "UIImage+Utils.h"
|
#import "UIImage+Utils.h"
|
||||||
#import "Api+Mine.h"
|
#import "Api+Mine.h"
|
||||||
#import "UploadImage.h"
|
#import "UploadFile.h"
|
||||||
#import "TTPopup.h"
|
#import "TTPopup.h"
|
||||||
#import "NSArray+Safe.h"
|
#import "NSArray+Safe.h"
|
||||||
#import "NSMutableDictionary+Saft.h"
|
#import "NSMutableDictionary+Saft.h"
|
||||||
@@ -170,53 +170,43 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
- (void)uploadAlbumPicList:(NSArray *)array finish:(void(^)(NSArray *list))finish {
|
- (void)uploadAlbumPicList:(NSArray *)array finish:(void(^)(NSArray *list))finish {
|
||||||
dispatch_semaphore_t semaphore = dispatch_semaphore_create(1);
|
|
||||||
dispatch_queue_t queue = dispatch_get_global_queue(0, 0);
|
dispatch_semaphore_t semaphore = dispatch_semaphore_create(1);
|
||||||
NSMutableArray * dataArray = [NSMutableArray array];
|
dispatch_queue_t queue = dispatch_get_global_queue(0, 0);
|
||||||
dispatch_async(queue, ^{
|
NSMutableArray * dataArray = [NSMutableArray array];
|
||||||
for (UIImage * image in array) {
|
dispatch_async(queue, ^{
|
||||||
dispatch_semaphore_wait(semaphore, DISPATCH_TIME_FOREVER);
|
for (UIImage * image in array) {
|
||||||
[Api qiniuUpLoadImage:^(BaseModel * _Nullable data, NSInteger code, NSString * _Nullable msg) {
|
dispatch_semaphore_wait(semaphore, DISPATCH_TIME_FOREVER);
|
||||||
if (code == 200) {
|
NSData *data = UIImageJPEGRepresentation(image, 0.5);
|
||||||
NSString *key = data.data[@"key"];
|
NSString *format = [UIImage contentTypeWithImageData:data];
|
||||||
NSString *token = data.data[@"token"];
|
NSString *name = [NSString stringWithFormat:@"image/%@.%@",[NSString createUUID],format];
|
||||||
[UploadImage uploadImage:image named:key token:token success:^(NSString * _Nonnull key, NSDictionary * _Nonnull resp) {
|
[[UploadFile share]QCloudUploadImage:data named:name success:^(NSString * _Nonnull key, NSDictionary * _Nonnull resp) {
|
||||||
dispatch_semaphore_signal(semaphore);
|
dispatch_semaphore_signal(semaphore);
|
||||||
self.imageCount ++;
|
self.imageCount ++;
|
||||||
NSMutableDictionary * dict= [NSMutableDictionary dictionary];
|
NSMutableDictionary *dict = [NSMutableDictionary dictionary];
|
||||||
MonentsPicResInfo * infor = [MonentsPicResInfo modelWithDictionary:resp];
|
if (image.size.width > 0){
|
||||||
if (infor.path) {
|
[dict safeSetObject:@(image.size.width) forKey:@"width"];
|
||||||
[dict safeSetObject:infor.path forKey:@"resUrl"];
|
}
|
||||||
}
|
if (image.size.height){
|
||||||
if (infor.format) {
|
[dict safeSetObject:@(image.size.height) forKey:@"height"];
|
||||||
[dict safeSetObject:infor.format forKey:@"format"];
|
}
|
||||||
}
|
if (key.length > 0) {
|
||||||
|
[dict safeSetObject:key forKey:@"resUrl"];
|
||||||
if (infor.w) {
|
}
|
||||||
[dict safeSetObject:@(infor.w) forKey:@"width"];
|
[dict safeSetObject:format forKey:@"format"];
|
||||||
}
|
[dataArray addObject:dict];
|
||||||
|
if (self.imageCount == array.count) {
|
||||||
if (infor.h) {
|
dispatch_async(dispatch_get_main_queue(), ^{
|
||||||
[dict safeSetObject:@(infor.h) forKey:@"height"];
|
finish(dataArray);
|
||||||
}
|
});
|
||||||
[dataArray addObject:dict];
|
}
|
||||||
if (self.imageCount == array.count) {
|
|
||||||
dispatch_async(dispatch_get_main_queue(), ^{
|
} failure:^(NSNumber * _Nonnull resCode, NSString * _Nonnull message) {
|
||||||
finish(dataArray);
|
self.imageCount ++;
|
||||||
});
|
dispatch_semaphore_signal(semaphore);
|
||||||
}
|
}];
|
||||||
|
}
|
||||||
} failure:^(NSNumber * _Nonnull resCode, NSString * _Nonnull message) {
|
});
|
||||||
self.imageCount ++;
|
|
||||||
dispatch_semaphore_signal(semaphore);
|
|
||||||
}];
|
|
||||||
} else {
|
|
||||||
self.imageCount ++;
|
|
||||||
dispatch_semaphore_signal(semaphore);
|
|
||||||
}
|
|
||||||
}];
|
|
||||||
}
|
|
||||||
});
|
|
||||||
}
|
}
|
||||||
|
|
||||||
#pragma mark - UITextViewDelegate
|
#pragma mark - UITextViewDelegate
|
||||||
|
@@ -11,7 +11,7 @@
|
|||||||
#import <JXCategoryView/JXCategoryIndicatorBackgroundView.h>
|
#import <JXCategoryView/JXCategoryIndicatorBackgroundView.h>
|
||||||
#import <JXCategoryView/JXCategoryListContainerView.h>
|
#import <JXCategoryView/JXCategoryListContainerView.h>
|
||||||
#import "XPPrivilegeCardItemVC.h"
|
#import "XPPrivilegeCardItemVC.h"
|
||||||
#import "UploadImage.h"
|
#import "UploadFile.h"
|
||||||
#import "Api+Mine.h"
|
#import "Api+Mine.h"
|
||||||
#import "XPPrivilegeCardTitlView.h"
|
#import "XPPrivilegeCardTitlView.h"
|
||||||
#import "XPPrivilegeCardProduceView.h"
|
#import "XPPrivilegeCardProduceView.h"
|
||||||
@@ -284,59 +284,43 @@
|
|||||||
|
|
||||||
id obj = array.firstObject;
|
id obj = array.firstObject;
|
||||||
if(self.produceView.cardType == 1){
|
if(self.produceView.cardType == 1){
|
||||||
[Api qiniuUpLoadImage:^(BaseModel * _Nullable data, NSInteger code, NSString * _Nullable msg) {
|
NSData *data = (NSData *)obj;
|
||||||
if (code == 200) {
|
NSString *format = [UIImage contentTypeWithImageData:data];
|
||||||
NSString *key = data.data[@"key"];
|
NSString *name = [NSString stringWithFormat:@"image/%@.%@",[NSString createUUID],format];
|
||||||
NSString *token = data.data[@"token"];
|
[[UploadFile share]QCloudUploadImage:data named:name success:^(NSString * _Nonnull key, NSDictionary * _Nonnull resp) {
|
||||||
[UploadImage uploadGifImageData:(NSData *)obj named:key token:token success:^(NSString * _Nonnull key, NSDictionary * _Nonnull resp) {
|
if(key != nil){
|
||||||
NSString *path = resp[@"path"];
|
|
||||||
if(path != nil){
|
|
||||||
dispatch_async(dispatch_get_main_queue(), ^{
|
|
||||||
finish(@[path]);
|
|
||||||
});
|
|
||||||
}
|
|
||||||
} failure:^(NSNumber * _Nonnull resCode, NSString * _Nonnull message) {
|
|
||||||
dispatch_async(dispatch_get_main_queue(), ^{
|
|
||||||
finish(@[]);
|
|
||||||
});
|
|
||||||
}];
|
|
||||||
} else {
|
|
||||||
dispatch_async(dispatch_get_main_queue(), ^{
|
dispatch_async(dispatch_get_main_queue(), ^{
|
||||||
finish(@[]);
|
finish(@[key]);
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
}];
|
} failure:^(NSNumber * _Nonnull resCode, NSString * _Nonnull message) {
|
||||||
|
|
||||||
|
dispatch_async(dispatch_get_main_queue(), ^{
|
||||||
|
finish(@[]);
|
||||||
|
});
|
||||||
|
|
||||||
|
}];
|
||||||
|
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
NSData *data = UIImageJPEGRepresentation((UIImage *)obj, 0.5);
|
||||||
|
NSString *format = [UIImage contentTypeWithImageData:data];
|
||||||
[Api qiniuUpLoadImage:^(BaseModel * _Nullable data, NSInteger code, NSString * _Nullable msg) {
|
NSString *name = [NSString stringWithFormat:@"image/%@.%@",[NSString createUUID],format];
|
||||||
if (code == 200) {
|
[[UploadFile share]QCloudUploadImage:data named:name success:^(NSString * _Nonnull key, NSDictionary * _Nonnull resp) {
|
||||||
NSString *key = data.data[@"key"];
|
if(key != nil){
|
||||||
NSString *token = data.data[@"token"];
|
dispatch_async(dispatch_get_main_queue(), ^{
|
||||||
[UploadImage uploadImage:(UIImage *)obj named:key token:token success:^(NSString * _Nonnull key, NSDictionary * _Nonnull resp) {
|
finish(@[key]);
|
||||||
|
});
|
||||||
NSString *path = resp[@"path"];
|
}
|
||||||
if(path != nil){
|
} failure:^(NSNumber * _Nonnull resCode, NSString * _Nonnull message) {
|
||||||
dispatch_async(dispatch_get_main_queue(), ^{
|
|
||||||
finish(@[path]);
|
|
||||||
});
|
|
||||||
}
|
|
||||||
} failure:^(NSNumber * _Nonnull resCode, NSString * _Nonnull message) {
|
|
||||||
dispatch_async(dispatch_get_main_queue(), ^{
|
dispatch_async(dispatch_get_main_queue(), ^{
|
||||||
finish(@[]);
|
finish(@[]);
|
||||||
});
|
});
|
||||||
|
|
||||||
}];
|
}];
|
||||||
} else {
|
|
||||||
dispatch_async(dispatch_get_main_queue(), ^{
|
|
||||||
finish(@[]);
|
|
||||||
});
|
|
||||||
}
|
|
||||||
}];
|
|
||||||
|
|
||||||
|
|
||||||
}
|
}
|
||||||
@@ -347,66 +331,43 @@
|
|||||||
NSMutableDictionary *photoDic = [NSMutableDictionary dictionary];
|
NSMutableDictionary *photoDic = [NSMutableDictionary dictionary];
|
||||||
dispatch_async(queue, ^{
|
dispatch_async(queue, ^{
|
||||||
dispatch_semaphore_wait(semaphore, DISPATCH_TIME_FOREVER);
|
dispatch_semaphore_wait(semaphore, DISPATCH_TIME_FOREVER);
|
||||||
[Api qiniuUpLoadImage:^(BaseModel * _Nullable data, NSInteger code, NSString * _Nullable msg) {
|
|
||||||
if (code == 200) {
|
NSData *data = UIImageJPEGRepresentation(self.videoModel.videoPhoto, 0.5);
|
||||||
NSString *key = data.data[@"key"];
|
NSString *format = [UIImage contentTypeWithImageData:data];
|
||||||
NSString *token = data.data[@"token"];
|
NSString *name = [NSString stringWithFormat:@"image/%@.%@",[NSString createUUID],format];
|
||||||
[UploadImage uploadImage:self.videoModel.videoPhoto named:key token:token success:^(NSString * _Nonnull key, NSDictionary * _Nonnull resp) {
|
[[UploadFile share]QCloudUploadImage:data named:name success:^(NSString * _Nonnull key, NSDictionary * _Nonnull resp) {
|
||||||
dispatch_semaphore_signal(semaphore);
|
dispatch_semaphore_signal(semaphore);
|
||||||
NSString *path = resp[@"path"];
|
|
||||||
if(path != nil){
|
if(key != nil){
|
||||||
[photoDic setValue:path forKey:@"photoUrl"];
|
[photoDic setValue:key forKey:@"photoUrl"];
|
||||||
}
|
}
|
||||||
if(photoDic.allKeys.count == 2){
|
if(photoDic.allKeys.count == 2){
|
||||||
dispatch_async(dispatch_get_main_queue(), ^{
|
|
||||||
finish(photoDic);
|
|
||||||
});
|
|
||||||
}
|
|
||||||
} failure:^(NSNumber * _Nonnull resCode, NSString * _Nonnull message) {
|
|
||||||
dispatch_semaphore_signal(semaphore);
|
|
||||||
[photoDic setValue:@"" forKey:@"photoUrl"];
|
|
||||||
dispatch_async(dispatch_get_main_queue(), ^{
|
|
||||||
finish(photoDic);
|
|
||||||
});
|
|
||||||
|
|
||||||
|
|
||||||
}];
|
|
||||||
} else {
|
|
||||||
dispatch_semaphore_signal(semaphore);
|
|
||||||
[photoDic setValue:@"" forKey:@"photoUrl"];
|
|
||||||
dispatch_async(dispatch_get_main_queue(), ^{
|
dispatch_async(dispatch_get_main_queue(), ^{
|
||||||
finish(photoDic);
|
finish(photoDic);
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
} failure:^(NSNumber * _Nonnull resCode, NSString * _Nonnull message) {
|
||||||
|
dispatch_semaphore_signal(semaphore);
|
||||||
|
[photoDic setValue:@"" forKey:@"photoUrl"];
|
||||||
|
dispatch_async(dispatch_get_main_queue(), ^{
|
||||||
|
finish(photoDic);
|
||||||
|
});
|
||||||
}];
|
}];
|
||||||
|
|
||||||
|
|
||||||
dispatch_semaphore_wait(semaphore, DISPATCH_TIME_FOREVER);
|
dispatch_semaphore_wait(semaphore, DISPATCH_TIME_FOREVER);
|
||||||
[Api qiniuUpLoadImage:^(BaseModel * _Nullable data, NSInteger code, NSString * _Nullable msg) {
|
NSString *file = [NSString stringWithFormat:@"file/%@",[NSString createUUID]];
|
||||||
if (code == 200) {
|
[[UploadFile share]QCloudUploadFileWithData:videoData named:file success:^(NSString * _Nonnull key, NSDictionary * _Nonnull resp) {
|
||||||
NSString *key = data.data[@"key"];
|
dispatch_semaphore_signal(semaphore);
|
||||||
NSString *token = data.data[@"token"];
|
if(key != nil){
|
||||||
[UploadImage uploadGifImageData:videoData named:key token:token success:^(NSString * _Nonnull key, NSDictionary * _Nonnull resp) {
|
[photoDic setValue:key forKey:@"videoUrl"];
|
||||||
dispatch_semaphore_signal(semaphore);
|
}
|
||||||
NSString *path = resp[@"path"];
|
if(photoDic.allKeys.count == 2){
|
||||||
if(path != nil){
|
dispatch_async(dispatch_get_main_queue(), ^{
|
||||||
[photoDic setValue:path forKey:@"videoUrl"];
|
finish(photoDic);
|
||||||
}
|
});
|
||||||
if(photoDic.allKeys.count == 2){
|
}
|
||||||
dispatch_async(dispatch_get_main_queue(), ^{
|
} failure:^(NSNumber * _Nonnull resCode, NSString * _Nonnull message) {
|
||||||
finish(photoDic);
|
|
||||||
});
|
|
||||||
}
|
|
||||||
} failure:^(NSNumber * _Nonnull resCode, NSString * _Nonnull message) {
|
|
||||||
dispatch_semaphore_signal(semaphore);
|
|
||||||
[photoDic setValue:@"" forKey:@"videoUrl"];
|
|
||||||
if(photoDic.allKeys.count == 2){
|
|
||||||
dispatch_async(dispatch_get_main_queue(), ^{
|
|
||||||
finish(photoDic);
|
|
||||||
});
|
|
||||||
}
|
|
||||||
|
|
||||||
}];
|
|
||||||
} else {
|
|
||||||
dispatch_semaphore_signal(semaphore);
|
dispatch_semaphore_signal(semaphore);
|
||||||
[photoDic setValue:@"" forKey:@"videoUrl"];
|
[photoDic setValue:@"" forKey:@"videoUrl"];
|
||||||
if(photoDic.allKeys.count == 2){
|
if(photoDic.allKeys.count == 2){
|
||||||
@@ -414,8 +375,7 @@
|
|||||||
finish(photoDic);
|
finish(photoDic);
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
}
|
}];
|
||||||
}];
|
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|
||||||
|
@@ -1125,10 +1125,9 @@
|
|||||||
///播放gif动画
|
///播放gif动画
|
||||||
- (void)beginGifAnimation:(NSString *)giftUrl startPoint:(CGPoint)startPoint endPoint:(CGPoint)endPoint {
|
- (void)beginGifAnimation:(NSString *)giftUrl startPoint:(CGPoint)startPoint endPoint:(CGPoint)endPoint {
|
||||||
FLAnimatedImageView * giftImageView = [self.giftReuseArray anyObject];
|
FLAnimatedImageView * giftImageView = [self.giftReuseArray anyObject];
|
||||||
|
CGFloat width = (kGetScaleWidth(256)/3) ;
|
||||||
|
CGFloat heigth = (kGetScaleWidth(144)/3) ;
|
||||||
if (giftImageView == nil) {
|
if (giftImageView == nil) {
|
||||||
CGFloat width = (kGetScaleWidth(256)/3) ;
|
|
||||||
CGFloat heigth = (kGetScaleWidth(144)/3) ;
|
|
||||||
giftImageView = [[FLAnimatedImageView alloc]initWithFrame:CGRectMake(0, 0 , width, heigth)];
|
giftImageView = [[FLAnimatedImageView alloc]initWithFrame:CGRectMake(0, 0 , width, heigth)];
|
||||||
giftImageView.center = startPoint;
|
giftImageView.center = startPoint;
|
||||||
giftImageView.alpha = 1;
|
giftImageView.alpha = 1;
|
||||||
@@ -1138,6 +1137,8 @@
|
|||||||
}else {
|
}else {
|
||||||
[self.giftReuseArray removeObject:giftImageView];
|
[self.giftReuseArray removeObject:giftImageView];
|
||||||
}
|
}
|
||||||
|
giftImageView.frame = CGRectMake(0, 0 , width, heigth);
|
||||||
|
giftImageView.center = startPoint;
|
||||||
giftImageView.hidden = NO;
|
giftImageView.hidden = NO;
|
||||||
giftImageView.layer.cornerRadius = 6;
|
giftImageView.layer.cornerRadius = 6;
|
||||||
giftImageView.layer.masksToBounds = YES;
|
giftImageView.layer.masksToBounds = YES;
|
||||||
@@ -1175,10 +1176,9 @@
|
|||||||
///播放礼物动画
|
///播放礼物动画
|
||||||
- (void)beginGiftAnimation:(NSString *)giftUrl startPoint:(CGPoint)startPoint endPoint:(CGPoint)endPoint {
|
- (void)beginGiftAnimation:(NSString *)giftUrl startPoint:(CGPoint)startPoint endPoint:(CGPoint)endPoint {
|
||||||
FLAnimatedImageView * giftImageView = [self.giftReuseArray anyObject];
|
FLAnimatedImageView * giftImageView = [self.giftReuseArray anyObject];
|
||||||
|
CGFloat width = 55;
|
||||||
|
CGFloat heigth = 55;
|
||||||
if (giftImageView == nil) {
|
if (giftImageView == nil) {
|
||||||
CGFloat width = 55;
|
|
||||||
CGFloat heigth = 55;
|
|
||||||
giftImageView = [[FLAnimatedImageView alloc]initWithFrame:CGRectMake(0, 0 , width, heigth)];
|
giftImageView = [[FLAnimatedImageView alloc]initWithFrame:CGRectMake(0, 0 , width, heigth)];
|
||||||
giftImageView.center = startPoint;
|
giftImageView.center = startPoint;
|
||||||
giftImageView.alpha = 1;
|
giftImageView.alpha = 1;
|
||||||
@@ -1188,12 +1188,17 @@
|
|||||||
}else {
|
}else {
|
||||||
[self.giftReuseArray removeObject:giftImageView];
|
[self.giftReuseArray removeObject:giftImageView];
|
||||||
}
|
}
|
||||||
|
giftImageView.frame = CGRectMake(0, 0 , width, heigth);
|
||||||
|
giftImageView.center = startPoint;
|
||||||
giftImageView.hidden = NO;
|
giftImageView.hidden = NO;
|
||||||
[giftImageView sd_setImageWithURL:[NSURL URLWithString:giftUrl]];
|
[giftImageView sd_setImageWithURL:[NSURL URLWithString:giftUrl]completed:^(UIImage * _Nullable image, NSError * _Nullable error, SDImageCacheType cacheType, NSURL * _Nullable imageURL) {
|
||||||
[self.lowLevelView addSubview:giftImageView];
|
|
||||||
CAAnimationGroup *group = [XPRoomAnimationTool createGiftAnimationStartPoint:startPoint endPoint:endPoint];
|
[self.lowLevelView addSubview:giftImageView];
|
||||||
[giftImageView.layer addAnimation:group forKey:@"giftDisplayViewAnimation"];
|
CAAnimationGroup *group = [XPRoomAnimationTool createGiftAnimationStartPoint:startPoint endPoint:endPoint];
|
||||||
[self performSelector:@selector(aniationDidFinish:) withObject:giftImageView afterDelay:(3.2+0.25)];
|
[giftImageView.layer addAnimation:group forKey:@"giftDisplayViewAnimation"];
|
||||||
|
[self performSelector:@selector(aniationDidFinish:) withObject:giftImageView afterDelay:(3.2+0.25)];
|
||||||
|
}];
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
- (void)aniationVideoViewDidFinish:(UIView *)videoView{
|
- (void)aniationVideoViewDidFinish:(UIView *)videoView{
|
||||||
@@ -1405,10 +1410,22 @@
|
|||||||
if (obj.otherViewType == GiftOtherViewTypeMp4 && obj.viewUrl && obj.viewUrl.length > 0 && roomInfor.hasAnimationEffect) {
|
if (obj.otherViewType == GiftOtherViewTypeMp4 && obj.viewUrl && obj.viewUrl.length > 0 && roomInfor.hasAnimationEffect) {
|
||||||
GiftReceiveInfoModel * model = [[GiftReceiveInfoModel alloc] init];
|
GiftReceiveInfoModel * model = [[GiftReceiveInfoModel alloc] init];
|
||||||
model.viewUrl = obj.viewUrl;
|
model.viewUrl = obj.viewUrl;
|
||||||
|
model.gift = obj;
|
||||||
|
model.nick = receiveInfo.nick;
|
||||||
|
model.targetUids = receiveInfo.targetUids;
|
||||||
|
model.isBatch = receiveInfo.isBatch;
|
||||||
|
model.targetAvatar = receiveInfo.targetAvatar;
|
||||||
|
model.targetNick = receiveInfo.targetNick;
|
||||||
[self.giftEffectQueue addObject:model];
|
[self.giftEffectQueue addObject:model];
|
||||||
} else if (obj.hasVggPic && roomInfor.hasAnimationEffect) {
|
} else if (obj.hasVggPic && roomInfor.hasAnimationEffect) {
|
||||||
GiftReceiveInfoModel * model = [[GiftReceiveInfoModel alloc] init];
|
GiftReceiveInfoModel * model = [[GiftReceiveInfoModel alloc] init];
|
||||||
model.vggUrl = obj.vggUrl;
|
model.viewUrl = obj.viewUrl;
|
||||||
|
model.gift = obj;
|
||||||
|
model.nick = receiveInfo.nick;
|
||||||
|
model.targetUids = receiveInfo.targetUids;
|
||||||
|
model.isBatch = receiveInfo.isBatch;
|
||||||
|
model.targetAvatar = receiveInfo.targetAvatar;
|
||||||
|
model.targetNick = receiveInfo.targetNick;
|
||||||
[self.giftEffectQueue addObject:model];
|
[self.giftEffectQueue addObject:model];
|
||||||
}
|
}
|
||||||
}];
|
}];
|
||||||
|
@@ -239,6 +239,7 @@ NSString * const kHadQuitOtherRoomKey = @"kHadQuitOtherRoomKey";//是否退出
|
|||||||
- (void)viewWillAppear:(BOOL)animated {
|
- (void)viewWillAppear:(BOOL)animated {
|
||||||
[super viewWillAppear:animated];
|
[super viewWillAppear:animated];
|
||||||
[UIApplication sharedApplication].statusBarStyle = UIStatusBarStyleLightContent;
|
[UIApplication sharedApplication].statusBarStyle = UIStatusBarStyleLightContent;
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
#pragma mark - Private Method
|
#pragma mark - Private Method
|
||||||
@@ -254,6 +255,9 @@ NSString * const kHadQuitOtherRoomKey = @"kHadQuitOtherRoomKey";//是否退出
|
|||||||
[self.view addSubview:self.roomHeaderView];
|
[self.view addSubview:self.roomHeaderView];
|
||||||
[self.view addSubview:self.functionView];
|
[self.view addSubview:self.functionView];
|
||||||
[self.view addSubview:self.animationView];
|
[self.view addSubview:self.animationView];
|
||||||
|
id traget = self.navigationController.interactivePopGestureRecognizer.delegate;
|
||||||
|
UIPanGestureRecognizer * pan = [[UIPanGestureRecognizer alloc]initWithTarget:traget action:nil];
|
||||||
|
[self.view addGestureRecognizer:pan];
|
||||||
}
|
}
|
||||||
|
|
||||||
- (void)initSubViewConstraints {
|
- (void)initSubViewConstraints {
|
||||||
|
@@ -34,6 +34,7 @@
|
|||||||
#import "XPAdImageTool.h"
|
#import "XPAdImageTool.h"
|
||||||
#import "YYUtility.h"
|
#import "YYUtility.h"
|
||||||
#import "NSMutableDictionary+Saft.h"
|
#import "NSMutableDictionary+Saft.h"
|
||||||
|
#import "UploadFile.h"
|
||||||
///Model
|
///Model
|
||||||
#import "AccountModel.h"
|
#import "AccountModel.h"
|
||||||
#import "RoomInfoModel.h"
|
#import "RoomInfoModel.h"
|
||||||
@@ -200,6 +201,7 @@ UIKIT_EXTERN NSString *kTabShowAnchorCardKey;
|
|||||||
- (void)autoLoginSuccess {
|
- (void)autoLoginSuccess {
|
||||||
[self.presenter loginNIM];
|
[self.presenter loginNIM];
|
||||||
[self.presenter getUserInfo];
|
[self.presenter getUserInfo];
|
||||||
|
[[UploadFile share]initQCloud];
|
||||||
///登录成功之后 在验证是否有漏单的行为
|
///登录成功之后 在验证是否有漏单的行为
|
||||||
[self.presenter checkTranscation];
|
[self.presenter checkTranscation];
|
||||||
///检查更新
|
///检查更新
|
||||||
|
Reference in New Issue
Block a user