浏览代码

移除机构中的资源字段,已抽取为表

xuexiaobo 6 年之前
父节点
当前提交
8c18c2847c

+ 0 - 4
core/src/main/java/com/mooctest/crowd/domain/model/EvaluationAgencyPO.java

@@ -27,9 +27,6 @@ public class EvaluationAgencyPO{
     @Column(name = "EA_BANK_ACCOUNT")
     private String bankAccount;
 
-    @Column(name = "EA_RESOURCES")
-    private String resources;
-
     @Column(name = "EA_PHOTO")
     private String agencyPhoto;
 
@@ -55,7 +52,6 @@ public class EvaluationAgencyPO{
                 ", userId=" + userId +
                 ", evaluationAgencyName='" + evaluationAgencyName + '\'' +
                 ", bankAccount='" + bankAccount + '\'' +
-                ", resources='" + resources + '\'' +
                 ", agencyPhoto='" + agencyPhoto + '\'' +
                 ", isAuthentication=" + isAuthentication +
                 ", isDeleted=" + isDeleted +

+ 3 - 2
site/src/main/java/com/mooctest/crowd/site/mediator/impl/WebMediatorImpl.java

@@ -103,8 +103,9 @@ public class WebMediatorImpl implements ViewMediator {
         indexDTO.setUserRank(userRank);
         indexDTO.setAgencyRank(agencyVOS);
         List<String> img = new ArrayList<>();
-        img.add("http://www.mooctest.net/assets/img/mooctest.png");
-        img.add("https://docs.alibabagroup.com/assets2/images/cn/global/logo_header.png");
+        img.add("http://mooctest-crowd-service.oss-cn-hangzhou.aliyuncs.com/Image/daylight.jpg");
+        img.add("http://mooctest-crowd-service.oss-cn-hangzhou.aliyuncs.com/Image/invictus.jpg");
+        img.add("http://mooctest-crowd-service.oss-cn-hangzhou.aliyuncs.com/Image/timg.jpeg");
         indexDTO.setImgList(img);
         return indexDTO;
     }