|
@@ -1092,7 +1092,6 @@
|
|
|
window.fileNum = res.data.fileNum // 超级订阅用户可下载附件次数
|
|
|
bigstatus = res.data.memberStatus
|
|
|
hasServiceArr = res.data.power ? res.data.power : []
|
|
|
- $('.commonUser').show()
|
|
|
isFollow()
|
|
|
if (window.isFree){
|
|
|
checkShowDialog()
|
|
@@ -1157,19 +1156,23 @@
|
|
|
$('.icon-help').css('display', 'inline-block')
|
|
|
$('.file-count').html(res.data.fileNum)
|
|
|
}
|
|
|
+ getNewEntRoot()
|
|
|
},
|
|
|
error:function(err) {
|
|
|
console.log(err)
|
|
|
}
|
|
|
})
|
|
|
- $.ajax({
|
|
|
+ }
|
|
|
+
|
|
|
+ function getNewEntRoot () {
|
|
|
+ $.ajax({
|
|
|
type: "post",
|
|
|
url: '/entnicheNew/buy/whetherbuy',
|
|
|
success: function(res) {
|
|
|
console.log(res)
|
|
|
if(res.error_code == 0) {
|
|
|
newEntNiche = res.data.isNew
|
|
|
- if(res.data.isNew) {
|
|
|
+ if(!res.data.isNew) {
|
|
|
$('.commonUser').hide()
|
|
|
$('.entnicheUser').show()
|
|
|
getActionState ({{.T.obj.buyer}}, 'g')
|
|
@@ -1182,6 +1185,7 @@
|
|
|
}
|
|
|
})
|
|
|
}
|
|
|
+ getNewEntRoot()
|
|
|
//isOpening()
|
|
|
// 大会员引流文案
|
|
|
function getDrainInfo () {
|