$ http({ 网址:“ ../ assets / services / MasterWebService.asmx / spGetAttendanceByUsernameDate”, 方法:“ GET”, 参数:{用户名:window.params.Username},参数:{Markdate:window.params.MarkDate}, })。then(function(response){ console.log(response.data); $ scope.GetAttendanceData = response.data; $ scope.TotalOrders = response.data.length; });