소스 검색

三级页修改

tsz 3 년 전
부모
커밋
54908b0a4c
1개의 변경된 파일2개의 추가작업 그리고 2개의 파일을 삭제
  1. 2 2
      src/jfw/modules/app/src/web/templates/weixin/wxinfocontent.html

+ 2 - 2
src/jfw/modules/app/src/web/templates/weixin/wxinfocontent.html

@@ -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'
           }
           }