2016-06-14 16:03:10 +08:00
|
|
|
app.controller('JournalsController', ['$scope', '$http', '$routeParams', 'auth', 'common', function($scope, $http, $routeParams, auth, common){
|
2016-06-20 14:39:20 +08:00
|
|
|
common.init({
|
|
|
|
id: $routeParams.id,
|
|
|
|
scope: $scope,
|
|
|
|
type: 'journal_for_messages',
|
|
|
|
replyType: 'JournalsForMessage',
|
|
|
|
loadCallback: function(data){
|
|
|
|
$scope.message = data.data;
|
|
|
|
},
|
|
|
|
replyCallback: function(){
|
2016-06-14 14:24:39 +08:00
|
|
|
}
|
2016-06-20 14:39:20 +08:00
|
|
|
});
|
2016-06-14 16:03:10 +08:00
|
|
|
}]);
|