代码拉取完成,页面将自动刷新
你们把配置文件qiyeweixin.json里的两个参数搞错了。目前5.1.4版本要同步通讯录要填写corpSecret,而你们的文档说明缺说要填写syncSecret。
{
"enable": true,
"syncCron": "10 0/10 * * * ?",
"forceSyncCron": "10 45 8,12 * * ?",
"apiAddress": "https://qyapi.weixin.qq.com",
"corpId": "",
"syncSecret": "描述上,本应该用这个",
"corpSecret": "程序是这个用于同步通讯录",
"agentId": "1000006",
"token": "",
"encodingAesKey": "",
"workUrl": "",
"messageRedirectPortal": "",
"messageEnable": true,
"scanLoginEnable": true,
"attendanceSyncEnable": true,
"attendanceSyncAgentId": "",
"attendanceSyncSecret": ""
}