123456789101112131415161718 |
- angular.module('push')
- .controller('activityNoticeDetailCtrl', function ($scope, $stateParams, ActivityService, $sce) {
- /* $scope.setStatusBar(0);*/
- var notifyid = $stateParams.notifyid;
- // 获取通知详细信息
- var getNotifyDetail = function () {
- ActivityService.getNotifyDetail(notifyid).then(function (response) {
- // console.log(response);
- $scope.notify = response.notifyModel;
- $scope.notifycontext = $sce.trustAsHtml($scope.notify.context);
- }, function () {
- })
- };
- getNotifyDetail();
- });
|