Просмотр исходного кода

Merge branch 'cpq-dev' of wangfan/adweb3-server into master

chenpeiqing 4 месяцев назад
Родитель
Сommit
df05df871b

+ 2 - 2
jeecg-module-system/jeecg-system-biz/src/main/java/org/jeecg/modules/adweb/site/service/SelfWebSiteService.java

@@ -121,7 +121,7 @@ public class SelfWebSiteService {
                         siteService.updateSiteFlow(finalAdwebSite.getCode());
 
                         // 临时站点创建成功
-                        finalAdwebSite.setStatus(4);
+                        finalAdwebSite.setStatus(2);
                         siteService.updateById(finalAdwebSite);
 
                         String[] userIds = {user.getId()};
@@ -149,7 +149,7 @@ public class SelfWebSiteService {
     }
 
     private void createSiteFailed(AdwebSite adwebSite, String errorMsg) {
-        adwebSite.setStatus(4);
+        adwebSite.setStatus(4); // 临时站点创建失败
         siteService.updateById(adwebSite);
 
         SysException sysException = new SysException();