|
|
|
@ -1,5 +1,8 @@
|
|
|
|
|
app.controller('LoginController', ['$scope', '$http', '$location', '$routeParams', 'alertService', 'config','auth','session',
|
|
|
|
|
function ($scope, $http, $location, $routeParams, alertService, config, auth,session) {
|
|
|
|
|
app.controller('LoginController', ['$scope', '$http', '$location', '$routeParams', 'alertService', 'config','auth','session','wx',
|
|
|
|
|
function ($scope, $http, $location, $routeParams, alertService, config, auth,session, wx) {
|
|
|
|
|
// 登录页不用显示菜音
|
|
|
|
|
wx.hideOptionMenu();
|
|
|
|
|
|
|
|
|
|
if(auth.get_bind().then(function(){
|
|
|
|
|
$location.path("/activities");
|
|
|
|
|
}));
|
|
|
|
|