weixin_login
guange 9 years ago
parent a0c0a65d18
commit 3582849ef3

@ -24,7 +24,7 @@ app.controller('LoginController', ['$scope', '$http', '$location', '$routeParams
auth.getOpenId().then( auth.getOpenId().then(
function(openid){ function(openid){
return $http.post( return $http.post(
config.rootUrl + "wxbind", config.apiUrl + "wxbind",
{login: user.login, password: user.password, openid: openid} {login: user.login, password: user.password, openid: openid}
); );
} }

Loading…
Cancel
Save