在请求我得到的$http.patch
时出现错误
$ http.patch不是函数
那么我该如何处理该错误
$http.patch("http://94.237.83.114:3000/WF_CreateAccount", JSON.stringify({
UserAuthName: $scope.UserAuthName,
UserPassword: $scope.UserPassword
}))
.then((MediationResponse) => {
console.log(MediationResponse.data);
if (MediationResponse.data === "OK") {
$state.go('app.dashboard-variant-1');
} else {
$scope.warning = "invalid Credentials";
console.log($scope.warning);