activityNoticeDetailCtrl.js 567 B

123456789101112131415161718
  1. angular.module('push')
  2. .controller('activityNoticeDetailCtrl', function ($scope, $stateParams, ActivityService, $sce) {
  3. /* $scope.setStatusBar(0);*/
  4. var notifyid = $stateParams.notifyid;
  5. // 获取通知详细信息
  6. var getNotifyDetail = function () {
  7. ActivityService.getNotifyDetail(notifyid).then(function (response) {
  8. // console.log(response);
  9. $scope.notify = response.notifyModel;
  10. $scope.notifycontext = $sce.trustAsHtml($scope.notify.context);
  11. }, function () {
  12. })
  13. };
  14. getNotifyDetail();
  15. });