修改为html5mode

This commit is contained in:
guange 2016-06-07 16:39:42 +08:00
parent f5da2ba5f6
commit 33780759a9
3 changed files with 12 additions and 4 deletions

View File

@ -3,8 +3,8 @@ default: &default
# corpsecret: "corpsecret"
# agentid: 1
# Or if using public account, only need above two line
appid: "wxc09454f171153c2d"
secret: "dff5b606e34dcafe24163ec82c2715f8"
appid: "wxf694495398c7d470"
secret: "743e038392f1d89540e95f8f7645849a"
token: "123456"
access_token: "1234567"
encrypt_mode: false # if true must fill encoding_aes_key

View File

@ -525,9 +525,9 @@ app.directive('loadingSpinner', function ($http) {
};
});
app.config(['$routeProvider',"$httpProvider",function ($routeProvider, $httpProvider) {
app.config(['$routeProvider',"$httpProvider",function ($routeProvider, $httpProvider, $locationProvider) {
var rootPath = '/assets/wechat/'
$locationProvider.html5Mode(true);
$routeProvider
.when('/activities', {
templateUrl: rootPath + 'activities.html',

8
public/javascripts/wechat/vue.min.js vendored Normal file

File diff suppressed because one or more lines are too long