Commit 661b0b7e authored by Steven杜宇's avatar Steven杜宇

Merge branch 'youhua-dev' of http://gitlab.galaxy-immi.com/mobile-group/galaxy-iOS into youhua-dev

parents a689e4c4 6b0661cb
......@@ -125,6 +125,10 @@ class YHHomeWebBottomView: UIView {
}
@objc private func likeBtnClick() {
if YHNetworkStatusManager.shared.isNetWorkOK == false {
YHHUD.flash(message: "网络不可用,请检查网络设置")
return
}
if YHLoginManager.shared.isLogin() == false {
if let block = likeBlock {
block(isLike)
......@@ -148,6 +152,10 @@ class YHHomeWebBottomView: UIView {
}
@objc private func starBtnClick() {
if YHNetworkStatusManager.shared.isNetWorkOK == false {
YHHUD.flash(message: "网络不可用,请检查网络设置")
return
}
if YHLoginManager.shared.isLogin() == false {
if let block = starBlock {
block(isStar)
......
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