| | |
| | | package org.springblade.modules.system.service; |
| | | |
| | | import com.alibaba.fastjson.JSON; |
| | | import net.sf.json.JSONObject; |
| | | import org.springblade.common.utils.HttpClientUtils; |
| | | import org.springblade.modules.FTP.FtpUtil; |
| | | import org.springblade.modules.FTP.Result; |
| | | import org.springblade.modules.system.dto.UserDTO; |
| | | import org.springblade.modules.system.entity.User; |
| | | import org.springframework.beans.factory.annotation.Autowired; |
| | | import org.springframework.scheduling.annotation.Async; |
| | | import org.springframework.stereotype.Service; |
| | | |
| | |
| | | import java.util.Map; |
| | | |
| | | import static org.springblade.common.config.FtpConfig.qfqkBaseApiUrl; |
| | | import static org.springblade.modules.FTP.DataHandler.handlerUserInfo; |
| | | |
| | | @Service |
| | | public class MyAsyncService { |
| | |
| | | |
| | | |
| | | /** |
| | | * 用户审查FTP |
| | | * @param user |
| | | */ |
| | | @Async |
| | | public void userExamineFTP(User user) { |
| | | FtpUtil.sqlFileUploadUserExamine(user); |
| | | } |
| | | |
| | | |
| | | /** |
| | | * test |
| | | * @param user |
| | | */ |