|
|
@@ -153,7 +153,12 @@ class Login extends Component {
|
|
|
avatar: ''
|
|
|
}
|
|
|
});
|
|
|
- axios.get(`${this.state.register_url}?user-id=${id}&password=${this.state.register_password}&token=WXgraphql4Io`)
|
|
|
+ axios.post(this.state.register_url,
|
|
|
+ {
|
|
|
+ 'user-id': id,
|
|
|
+ password: this.state.register_password,
|
|
|
+ token:'WXgraphql4Io'
|
|
|
+ })
|
|
|
.then(function (response) {
|
|
|
if (response.status === 200)
|
|
|
_this.setState({
|