From cadb5f3f153ffa36176ecb47bb3e1a721326a1ba Mon Sep 17 00:00:00 2001 From: guange <8863824@gmail.com> Date: Sat, 9 Apr 2016 18:14:43 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=8D=A2=E6=9C=8D=E5=8A=A1=E5=99=A8?= =?UTF-8?q?=E8=87=B3test.course.trustie.net?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- 1234567 | 1 - config/menu.yml | 2 +- public/javascripts/wechat/app.js | 4 ++-- 3 files changed, 3 insertions(+), 4 deletions(-) delete mode 100644 1234567 diff --git a/1234567 b/1234567 deleted file mode 100644 index 1aa01764f..000000000 --- a/1234567 +++ /dev/null @@ -1 +0,0 @@ -{"access_token":"G4QG7VJgF8Vmm71kLgC1XgHvyeXK-ZZrikaG7sPBrKuw6vgbYzV2FPYuNq3wNp7e-hsyfDI--rTlVspQXZk5bRK_CsZl8wWvuiPazV9mznGpOBGE5zVR8WOtvlqhylpHIMBdABABFU","expires_in":7200,"got_token_at":1460179500} \ No newline at end of file diff --git a/config/menu.yml b/config/menu.yml index 224ad23dd..dc6e2b2c9 100644 --- a/config/menu.yml +++ b/config/menu.yml @@ -2,7 +2,7 @@ button: - type: "view" name: "最新动态" - url: "https://open.weixin.qq.com/connect/oauth2/authorize?appid=wxc09454f171153c2d&redirect_uri=http://wechat.trustie.net/assets/wechat/app.html#/activities?response_type=code&scope=snsapi_base&state=123#wechat_redirect" + url: "https://open.weixin.qq.com/connect/oauth2/authorize?appid=wxc09454f171153c2d&redirect_uri=http://test.course.trustie.net/assets/wechat/app.html#/activities?response_type=code&scope=snsapi_base&state=123#wechat_redirect" - type: "click" name: "意见返馈" diff --git a/public/javascripts/wechat/app.js b/public/javascripts/wechat/app.js index 25cb0f169..dc4e552ca 100644 --- a/public/javascripts/wechat/app.js +++ b/public/javascripts/wechat/app.js @@ -1,5 +1,5 @@ var app = angular.module('wechat', ['ngRoute','ngCookies']); -var apiUrl = 'http://wechat.trustie.net/api/v1/'; +var apiUrl = 'http://test.course.trustie.net/api/v1/'; var debug = false; //调试标志,如果在本地请置为true if(debug===true){ @@ -10,7 +10,7 @@ app.factory('auth', function($http,$routeParams, $cookies, $q){ var _openid = ''; if(debug===true){ - _openid = "6"; + _openid = "oCnvgvz8R7QheXE-R9Kkr39j8Ndg"; } var getOpenId = function() {