使用Fetch和Axios处理对服务器的请求,在 Android 模拟器/设备上运行它时,它显示以下错误:
这是请求代码:
fetch(URL,{
method: 'POST',
headers: {
Accept: 'application/json',
'Content-Type': 'application/json',
},
body: JSON.stringify({
email: userEmail,
password: userPassword
}),
})
.then((response) => response.json())
.then((responseJson)=>{
Alert.alert("bien");
console.warn(responseJson);
})
.catch((error)=>{
console.error(error);
console.warn(error);
});
Run Code Online (Sandbox Code Playgroud) 我创建了一个新的 SQL Server 作业,该作业每年运行一次,当前已启用并配置为在新年的第一天运行。
为了确保配置日期正确,我运行以下命令:
sp_help_jobschedule @job_name = 'MyJobName'
Run Code Online (Sandbox Code Playgroud)
它将“next_run_date”和“next_run_time”返回为 0。
如何查看以前从未执行过的新 SQL Server 作业的 next_run_date 和 next_run_time?