|
@@ -7,6 +7,7 @@ import com.fdkankan.contro.service.ILocalFdageLogService;
|
|
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
|
|
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
|
|
import com.fdkankan.contro.vo.LocalfdageLogParamVo;
|
|
import com.fdkankan.contro.vo.LocalfdageLogParamVo;
|
|
import com.fdkankan.dingtalk.DingTalkSendUtils;
|
|
import com.fdkankan.dingtalk.DingTalkSendUtils;
|
|
|
|
+import lombok.extern.slf4j.Slf4j;
|
|
import org.springframework.beans.factory.annotation.Value;
|
|
import org.springframework.beans.factory.annotation.Value;
|
|
import org.springframework.cloud.context.config.annotation.RefreshScope;
|
|
import org.springframework.cloud.context.config.annotation.RefreshScope;
|
|
import org.springframework.stereotype.Service;
|
|
import org.springframework.stereotype.Service;
|
|
@@ -21,6 +22,7 @@ import javax.annotation.Resource;
|
|
* @author
|
|
* @author
|
|
* @since 2025-09-19
|
|
* @since 2025-09-19
|
|
*/
|
|
*/
|
|
|
|
+@Slf4j
|
|
@RefreshScope
|
|
@RefreshScope
|
|
@Service
|
|
@Service
|
|
public class LocalFdageLogServiceImpl extends ServiceImpl<ILocalFdageLogMapper, LocalFdageLog> implements ILocalFdageLogService {
|
|
public class LocalFdageLogServiceImpl extends ServiceImpl<ILocalFdageLogMapper, LocalFdageLog> implements ILocalFdageLogService {
|
|
@@ -45,6 +47,8 @@ public class LocalFdageLogServiceImpl extends ServiceImpl<ILocalFdageLogMapper,
|
|
|
|
|
|
@Override
|
|
@Override
|
|
public void noticeLocalfdageLogs(LocalfdageLogParamVo param) throws Exception {
|
|
public void noticeLocalfdageLogs(LocalfdageLogParamVo param) throws Exception {
|
|
|
|
+ log.info("localfdageAccessToken:{}", localfdageAccessToken);
|
|
|
|
+ log.info("localfdageAccessSecret:{}", localfdageAccessSecret);
|
|
LocalFdageLog log = BeanUtil.toBean(param, LocalFdageLog.class);
|
|
LocalFdageLog log = BeanUtil.toBean(param, LocalFdageLog.class);
|
|
this.save(log);
|
|
this.save(log);
|
|
String content = String.format(DINGTALK_MSG_PATTERN,
|
|
String content = String.format(DINGTALK_MSG_PATTERN,
|