package com.malk.longyou.Controller;

import com.malk.service.dingtalk.DDClient_Workflow;
import lombok.extern.slf4j.Slf4j;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.context.annotation.Configuration;
import org.springframework.scheduling.annotation.Async;
import org.springframework.scheduling.annotation.EnableScheduling;
import org.springframework.scheduling.annotation.Scheduled;
@Slf4j
@Configuration
@EnableScheduling
public class tiner {

    @Autowired
    private DDClient_Workflow ddClient_workflow;
    //
//    @Async
//    @Scheduled(fixedRate = 1000)
//    public void LegalEntityList() throws Exception {
//        String getProcesscode=ddClient_workflow.getProcesscodeByID(lytoOAController.getAccessToken("dinghkovz3nlejridagh", "0vaaBB94deR_g-r_dfUUIbhLDSalG49y1uc47caLxyNADNO7xZXqlp-Dvcj9vkTZ"),"合同审批");
//        System.out.println("getProcesscodece 辰阳:"+getProcesscode);
//
//    }

}
