Commit c1b14cb2 authored by Steven杜宇's avatar Steven杜宇

// 添加好友失败信息

parent dde81c59
...@@ -397,6 +397,13 @@ extension YHMatchResultListViewController: DragCardDataSource { ...@@ -397,6 +397,13 @@ extension YHMatchResultListViewController: DragCardDataSource {
cardView.bottomBtn.backgroundColor = .brandMainColor30 cardView.bottomBtn.backgroundColor = .brandMainColor30
cardView.bottomBtn.isUserInteractionEnabled = false cardView.bottomBtn.isUserInteractionEnabled = false
userModel.isSendRequest = true userModel.isSendRequest = true
} else {
var msg = "申请失败"
if let errMsg = error?.errorMsg, !errMsg.isEmpty {
msg = errMsg
}
YHHUD.flash(message: msg)
} }
} }
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment