<script type="text/javascript"> var strDate = ''; $(function(){ // 获取时间戳 var nowDate = new Date().getTime(); //1564624526889 // 调用封装好的时间转换方法 timestampToTime(nowDate); }()) function timestampToTime(timestamp) { var date = new Date();//时间戳为1
var response = httpClient.SendAsync(requestMessage).Result; content = response.Content.ReadAsStringAsync().Result; 正常是可以获取数据的,不过这次抛了异常,异常信息如下 The character set provided in ContentType is invalid. Cannot read content as string using an invalid charact