摘要: 方法一:async + await + Task// 开始 private async void btnStart_Click(object sender, EventArgs e) { string message = await GetMessage(); MessageBox.Show(mes 阅读全文
posted @ 2024-03-01 19:18 過朢 阅读(151) 评论(0) 推荐(0)
摘要: long dateStr = System.currentTimeMillis()/1000; String url=""; //创建参数 JSONObject jsonObject = new JSONObject(); jsonObject.put("Action","1111"); jsonO 阅读全文
posted @ 2024-03-01 19:17 過朢 阅读(44) 评论(0) 推荐(0)
摘要: Base64.Decoder decoderCodeVerify = Base64.getDecoder();String code = "";try { byte[] bytes = decoderCodeVerify.decode(resultData); //utf-8中文会乱码换成gbk试试 阅读全文
posted @ 2024-03-01 19:13 過朢 阅读(210) 评论(0) 推荐(0)