如何在Asp.Net Websote中将多个参数传递给角度控制器

时间:2018-07-20 07:32:58

标签: angularjs parameters controller

$ 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;             });

0 个答案:

没有答案