cyril.tsui 1 год назад
Родитель
Сommit
0aa58b5d74
1 измененных файлов: 3 добавлений и 3 удалений
  1. +3
    -3
      src/pages/pnspsNotifyTest/index.js

+ 3
- 3
src/pages/pnspsNotifyTest/index.js Просмотреть файл

@@ -4,8 +4,8 @@ import axios from 'axios';
import { apiPath } from 'auth/utils';

const TestMailPage = () => {
const [host, setHost] = useState(apiPath+'/email/test');
const [mail, setMail] = useState('register');
const [host, setHost] = useState(apiPath+'/test');
const [mail, setMail] = useState('');

const hostChange = (event) => {
setHost(event.target.value);
@@ -17,7 +17,7 @@ const TestMailPage = () => {

const doMailTest = () => {
axios.post(host, {
tempKey: mail
email: mail
})
.then((response) => {
console.log(response.data);


Загрузка…
Отмена
Сохранить