|
@@ -24,6 +24,7 @@ import com.xxl.job.core.context.XxlJobHelper;
|
|
|
import com.xxl.job.core.handler.annotation.XxlJob;
|
|
|
import org.springframework.beans.factory.annotation.Autowired;
|
|
|
import org.springframework.beans.factory.annotation.Value;
|
|
|
+import org.springframework.cloud.context.config.annotation.RefreshScope;
|
|
|
import org.springframework.stereotype.Component;
|
|
|
|
|
|
import javax.sql.DataSource;
|
|
@@ -44,6 +45,7 @@ import java.util.List;
|
|
|
* @author dengsixing
|
|
|
* @since 2022/12/16
|
|
|
**/
|
|
|
+@RefreshScope
|
|
|
@Component
|
|
|
public class SceneCallCountHandler {
|
|
|
|
|
@@ -127,7 +129,7 @@ public class SceneCallCountHandler {
|
|
|
v3Msg,
|
|
|
errorMsg);
|
|
|
|
|
|
-// XxlJobHelper.log(ddMsg);
|
|
|
+ XxlJobHelper.log(ddMsg);
|
|
|
dingTalkSendUtils.sendActioncardMsgToDingRobot(ddMsg, "场景计算统计");
|
|
|
XxlJobHelper.log("sceneCallCountHandler end.....");
|
|
|
}
|