摘要:
首先是post请求的调用,调用对方的接口首先要得到对方的url,和需要传入的参数,下面是一个简单的post请求 WebClient client = new WebClient(); client.Headers.Add("Content-Type", "application/json"); En 阅读全文
posted @ 2021-10-19 14:17
咳咳Pro
阅读(2502)
评论(0)
推荐(0)
摘要:
得到两段时间差转为int类型,并作为参数传入下面的方法之中 TimeSpan ts = DataConvert.getTime(Model.outTime).Subtract(DataConvert.getTime(Model.inTime)); int sec = (int)ts.TotalSec 阅读全文
posted @ 2021-10-19 13:24
咳咳Pro
阅读(372)
评论(0)
推荐(0)

浙公网安备 33010602011771号