@@ -43,6 +43,7 @@ class PersonViewUserAndOtherListView: BaseView {
}
override func setupData() {
+
collectionView.addHeader(withBeginRefresh: true, animation: false, refreshBlock: { [weak self] (page) in
self?.communityPostMyApi(page: page)
})
@@ -120,7 +120,7 @@ class UserPersonalCenterViewController: BaseViewController {
self.userMemberDetailApi()
// 更新用户信息
- observe = NotificationCenter.default.addObserver(forName: NSNotification.Name("UserMemberDetail"), object: nil, queue: OperationQueue.main) {
+ observe = NotificationCenter.default.addObserver(forName: NSNotification.Name("login"), object: nil, queue: OperationQueue.main) {
[weak self] (notification) in
self?.userMemberDetailApi()
@@ -135,7 +135,7 @@ public let kUserFollowCheckStatusApi = "/user/v2/follow/checkStatus"
// MARK: - 用户消息消息首页
/// 用户消息消息首页
-public let kUserMemberMessageIndexApi = "/user/v2/member/messageIndex"
+public let kUserMemberMessageIndexApi = "/user/v3/member/messageIndex"
// MARK: - 用户消息列表
/// 用户消息列表