点击模板消息页面为空
This commit is contained in:
parent
845b1cdab8
commit
281fcf315f
|
@ -84,7 +84,7 @@ class BlogComment < ActiveRecord::Base
|
|||
data = {
|
||||
touser:uw.openid,
|
||||
template_id:"A_3f5v90-zK73V9Kijm-paDkl9S-NuM8Cf-1UJi92_c",
|
||||
url:"http://weixin.qq.com/download",
|
||||
url:"http://www.trustie.net/",
|
||||
topcolor:"#FF0000",
|
||||
data:{
|
||||
first: {
|
||||
|
|
|
@ -109,7 +109,7 @@ class HomeworkCommon < ActiveRecord::Base
|
|||
data = {
|
||||
touser:uw.openid,
|
||||
template_id:"3e5Dj2GIx8MOcMyRKpTUEQnM7Tg0ASSCNc01NS9HCGI",
|
||||
url:"http://weixin.qq.com/download",
|
||||
url:"http://www.trustie.net/",
|
||||
topcolor:"#FF0000",
|
||||
data:{
|
||||
first: {
|
||||
|
|
|
@ -245,7 +245,7 @@ class Journal < ActiveRecord::Base
|
|||
data = {
|
||||
touser:uw.openid,
|
||||
template_id:"A_3f5v90-zK73V9Kijm-paDkl9S-NuM8Cf-1UJi92_c",
|
||||
url:"http://weixin.qq.com/download",
|
||||
url:"http://www.trustie.net/",
|
||||
topcolor:"#FF0000",
|
||||
data:{
|
||||
first: {
|
||||
|
|
|
@ -315,7 +315,7 @@ class JournalsForMessage < ActiveRecord::Base
|
|||
data = {
|
||||
touser:uw.openid,
|
||||
template_id:"A_3f5v90-zK73V9Kijm-paDkl9S-NuM8Cf-1UJi92_c",
|
||||
url:"http://weixin.qq.com/download",
|
||||
url:"http://www.trustie.net/",
|
||||
topcolor:"#FF0000",
|
||||
data:{
|
||||
first: {
|
||||
|
|
|
@ -1128,7 +1128,7 @@ class Mailer < ActionMailer::Base
|
|||
data = {
|
||||
touser:uw.openid,
|
||||
template_id:template_id,
|
||||
url:"http://weixin.qq.com/download",
|
||||
url:"http://www.trustie.net/",
|
||||
topcolor:"#FF0000",
|
||||
data:{
|
||||
first: {
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
var app = angular.module('wechat', ['ngRoute','ngCookies']);
|
||||
var apiUrl = 'http://wechat.trustie.net/api/v1/';
|
||||
var debug = false; //调试标志,如果在本地请置为true
|
||||
var debug = true; //调试标志,如果在本地请置为true
|
||||
|
||||
if(debug===true){
|
||||
apiUrl = 'http://localhost:3000/api/v1/';
|
||||
|
@ -10,7 +10,7 @@ app.factory('auth', function($http,$routeParams, $cookies, $q){
|
|||
var _openid = '';
|
||||
|
||||
if(debug===true){
|
||||
_openid = "1";
|
||||
_openid = "6";
|
||||
}
|
||||
|
||||
var getOpenId = function() {
|
||||
|
|
Loading…
Reference in New Issue