讨论区的模板消息
This commit is contained in:
parent
b6adaf61db
commit
3f365e75b5
|
@ -741,7 +741,7 @@ class Mailer < ActionMailer::Base
|
|||
mail_wechat_message member.user_id, "oKzFCdk7bsIHnGbscA__N8LPQrBkUShvpjV3-kuwWDQ", "项目讨论区有新帖子发布了", message.subject, @author.try(:realname), format_time(message.created_on)
|
||||
end
|
||||
else
|
||||
mail_wechat_message member.parent.author_id, "A_3f5v90-zK73V9Kijm-paDkl9S-NuM8Cf-1UJi92_c", "您的帖子有新回复了", @author.try(:realname), format_time(message.created_on), message.content.html_safe
|
||||
mail_wechat_message message.parent.author_id, "A_3f5v90-zK73V9Kijm-paDkl9S-NuM8Cf-1UJi92_c", "您的帖子有新回复了", @author.try(:realname), format_time(message.created_on), message.content.html_safe
|
||||
end
|
||||
elsif message.course
|
||||
redmine_headers 'Course' => message.course.id,
|
||||
|
@ -763,7 +763,7 @@ class Mailer < ActionMailer::Base
|
|||
mail_wechat_message member.user_id, "oKzFCdk7bsIHnGbscA__N8LPQrBkUShvpjV3-kuwWDQ", "课程问答区有新帖子发布了", message.subject, @author.try(:realname), format_time(message.created_on)
|
||||
end
|
||||
else
|
||||
mail_wechat_message member.parent.author_id, "A_3f5v90-zK73V9Kijm-paDkl9S-NuM8Cf-1UJi92_c", "您的帖子有新回复了", @author.try(:realname), format_time(message.created_on), message.content.html_safe
|
||||
mail_wechat_message message.parent.author_id, "A_3f5v90-zK73V9Kijm-paDkl9S-NuM8Cf-1UJi92_c", "您的帖子有新回复了", @author.try(:realname), format_time(message.created_on), message.content.html_safe
|
||||
end
|
||||
end
|
||||
end
|
||||
|
|
|
@ -10,7 +10,7 @@ app.factory('auth', function($http,$routeParams, $cookies, $q){
|
|||
var _openid = '';
|
||||
|
||||
if(debug===true){
|
||||
_openid = "2";
|
||||
_openid = "1";
|
||||
}
|
||||
|
||||
var getOpenId = function() {
|
||||
|
@ -85,7 +85,7 @@ app.controller('ActivityController',function($scope, $http, auth, rms, common){
|
|||
} else {
|
||||
$scope.activities = response.data.data;
|
||||
}
|
||||
$scope.current_page = response.data.page
|
||||
$scope.current_page = response.data.page;
|
||||
$scope.all_count = response.data.all_count;
|
||||
$scope.count = response.data.count;
|
||||
console.log(response.data);
|
||||
|
|
Loading…
Reference in New Issue