|
|
|
@ -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}
|
|
|
|
|
);
|
|
|
|
|
}
|
|
|
|
|