diff --git a/public/javascripts/wechat/controllers/login.js b/public/javascripts/wechat/controllers/login.js index e8efad177..5695e63ff 100644 --- a/public/javascripts/wechat/controllers/login.js +++ b/public/javascripts/wechat/controllers/login.js @@ -24,7 +24,7 @@ app.controller('LoginController', ['$scope', '$http', '$location', '$routeParams auth.getOpenId().then( function(openid){ return $http.post( - config.rootUrl + "wxbind", + config.apiUrl + "wxbind", {login: user.login, password: user.password, openid: openid} ); }