|
@@ -1327,7 +1327,7 @@
|
|
url: '/entnicheNew/follow/project/check',
|
|
url: '/entnicheNew/follow/project/check',
|
|
data: param,
|
|
data: param,
|
|
success: function(res) {
|
|
success: function(res) {
|
|
- if(res.error_code == 0 &&fd.data&& fd.data.showFollow) {
|
|
|
|
|
|
+ if(res.error_code == 0 &&res.data&& res.data.showFollow) {
|
|
$(".follow").css("display","")
|
|
$(".follow").css("display","")
|
|
if(res.data.flag) {
|
|
if(res.data.flag) {
|
|
followFlag = true
|
|
followFlag = true
|
|
@@ -2441,7 +2441,7 @@
|
|
// 添加关注的项目
|
|
// 添加关注的项目
|
|
let cancelurl = '/bigmember/follow/project/cancel'
|
|
let cancelurl = '/bigmember/follow/project/cancel'
|
|
let confirmurl = '/bigmember/follow/project/add'
|
|
let confirmurl = '/bigmember/follow/project/add'
|
|
- if(window.entniche) {
|
|
|
|
|
|
+ if(newEntNiche) {
|
|
cancelurl = '/entnicheNew/follow/project/cancel'
|
|
cancelurl = '/entnicheNew/follow/project/cancel'
|
|
confirmurl = '/entnicheNew/follow/project/add'
|
|
confirmurl = '/entnicheNew/follow/project/add'
|
|
}
|
|
}
|