37 lines
1.1 KiB
Java
37 lines
1.1 KiB
Java
//package com.newyetai.usercenter.auth.job;
|
|
//
|
|
//import org.springframework.beans.factory.annotation.Autowired;
|
|
//import org.springframework.stereotype.Component;
|
|
//
|
|
//import com.newyetai.common.annotation.AlitaStopWatch;
|
|
//import com.newyetai.job.util.ReturnTUtils;
|
|
//import com.newyetai.security.util.MockUtils;
|
|
//import com.newyetai.usercenter.auth.service.AuthSubscribeDetailService;
|
|
//import com.newyetai.usercenter.common.constant.XxlJobHandlerConstants;
|
|
//import com.xxl.job.core.biz.model.ReturnT;
|
|
//import com.xxl.job.core.handler.annotation.XxlJob;
|
|
//
|
|
//import lombok.extern.slf4j.Slf4j;
|
|
//
|
|
//@Component
|
|
//@Slf4j
|
|
//public class AuthJob {
|
|
//
|
|
// @Autowired
|
|
// private AuthSubscribeDetailService authSubscribeDetailService;
|
|
//
|
|
// @XxlJob(XxlJobHandlerConstants.AUTH_SUBSCRIBE_USER_LIST)
|
|
// @AlitaStopWatch
|
|
// public ReturnT<String> execute(String param) {
|
|
// try {
|
|
// MockUtils.mockPlatUser();
|
|
// authSubscribeDetailService.loadAllClient();
|
|
// return ReturnT.SUCCESS;
|
|
// }catch (Exception e) {
|
|
// return ReturnTUtils.error(e.getMessage());
|
|
// }
|
|
// }
|
|
//
|
|
//}
|
|
//
|