12345678910111213141516 |
- 'use strict';
- angular.module('app')
- .service('StdService', ['$http','main_host','UserService',function ($http,main_host,UserService) {
- this.getStdInfo = function(taskId,module){
- var user = UserService.getUserInfo();
- var userId = user.userId;
- var type = user.type;
- var params = {
- taskId:taskId,
- module:module,
- type:type
- }
- return $http.get(main_host+'/api/EvalStudentPages/'+userId,params);
- }
-
- }])
|