admin
2020-04-26 a3702e82ebb2c3b2480734fc44c464092aeb9457
fanli/src/main/java/com/yeshi/fanli/controller/client/v1/ConfigController.java
@@ -103,7 +103,6 @@
   @Resource
   private UserInfoService userInfoService;
   
   @Resource
   private UserVIPInfoService userVIPInfoService;
   
@@ -118,7 +117,6 @@
   
   @Resource
   private UserVipConfigService userVipConfigService;
   /**
    * s 首页配置信息
@@ -372,18 +370,18 @@
            }
         }
         if (VersionUtil.greaterThan_2_1(acceptData.getPlatform(), acceptData.getVersion())) {
            // TODO 验证是否是导师
            UserVIPPreInfo info = userVIPPreInfoService.getLatestProcessInfo(uid);
            
            JSONObject inner = new JSONObject();
            inner.put("link", userVipConfigService.getValueByKey("vip_link"));
            inner.put("ion", "http://img.flqapp.com/resource/vip/icon_vip.png");
            inner.put("title", "免费升级 享会员权益");
            inner.put("btnName", "升级会员");
            if (uid != null) {
               // 是否导师 TODO
               if (userVIPInfoService.isVIP(uid)) {
               if (info!=null&&info.getProcess()==UserVIPPreInfo.PROCESS_3) {
                  inner.put("link", userVipConfigService.getValueByKey("vip_link"));
                  inner.put("ion", "http://img.flqapp.com/resource/vip/icon_tearcher.png");
                  inner.put("title", "拿五险与津贴 享导师权益");
@@ -429,9 +427,6 @@
         e.printStackTrace();
      }
   }
   // 获取升级时间
   private Date getUpgradedTime(Long uid, UserLevelEnum level) {