|
@@ -19,6 +19,7 @@ import org.jeecg.modules.adweb.site.entity.AdwebSite;
|
|
|
import org.jeecg.modules.adweb.system.entity.SysException;
|
|
|
import org.jeecg.modules.adweb.system.service.ISysExceptionService;
|
|
|
import org.springframework.beans.factory.annotation.Value;
|
|
|
+import org.springframework.scheduling.annotation.Async;
|
|
|
import org.springframework.scheduling.annotation.EnableAsync;
|
|
|
import org.springframework.stereotype.Service;
|
|
|
|
|
@@ -91,6 +92,7 @@ public class SelfWebSiteService {
|
|
|
* @param planId 新建站点绑定的套餐
|
|
|
* @return
|
|
|
*/
|
|
|
+ @Async
|
|
|
public void createSite(LoginUser user, Long tempId, String uid, String name, String planId, LoginUser sysUser, Integer giveDay, Integer compensateDay) {
|
|
|
// 创建站点信息,生成code,拼接域名等,并将站点信息写入数据库
|
|
|
|