|
|
@@ -1,16 +1,6 @@
|
|
|
'use strict';
|
|
|
|
|
|
-angular.module('app').controller('WebController', ['$scope', 'messageService', function($scope, messageService) {
|
|
|
+angular.module('app').controller('WebController', ['$scope', function($scope) {
|
|
|
//lxtalkClient.Invoke('{FB60F992-A0FD-47B3-AAA7-E80DF209C5A4}', '_Register', '', $scope);
|
|
|
- messageService.getCounty(function(response) {
|
|
|
- console.log("Success", response);
|
|
|
- $scope.branchs = response.data;
|
|
|
- }, function(error) { console.log("error!"); });
|
|
|
|
|
|
- $scope.listView = function(id) {
|
|
|
- console.log(id);
|
|
|
- messageService.getByBranch(id, function(response) {
|
|
|
- console.log("Success", response);
|
|
|
- }, function(error) { console.log("error!"); });
|
|
|
- };
|
|
|
}]);
|