vip - 购买之后调用客户端方法更新缓存
This commit is contained in:
@@ -202,6 +202,11 @@ $('.payPopup .payPopup_warp .pay_btn').click(function () {
|
||||
$('.payPopup').hide()
|
||||
if (res.code == 200) {
|
||||
renderImgOption()
|
||||
if (browser.android) {
|
||||
window.androidJsObj.updateCurrentUserInfo()
|
||||
} else {
|
||||
window.webkit.messageHandlers.updateCurrentUserInfo.postMessage(null)
|
||||
}
|
||||
} else {
|
||||
// toastMsg(res.message);
|
||||
$('.custom-dialog .dialog-content .dialog-title').text(res.message)
|
||||
|
Reference in New Issue
Block a user