funcIntroListCtrl.js 487 B

1234567891011121314
  1. angular.module('push')
  2. .controller('FuncIntroListCtrl', function ($scope, FuncIntroService, ConfigService) {
  3. var devicetype = 0;
  4. if (device.platform != "Android") {
  5. devicetype = 1;
  6. }
  7. $scope.showLoadingToast();
  8. FuncIntroService.getFuncIntroList(ConfigService.versionno,devicetype).then(function (response) {
  9. $scope.funcintrolist = response.versionList;
  10. $scope.hideLoadingToast();
  11. }, function () {
  12. $scope.hideLoadingToast();
  13. });
  14. });