diff --git a/src/ts/containers/member/regist.tsx b/src/ts/containers/member/regist.tsx index 3c2e185..bf7ec16 100644 --- a/src/ts/containers/member/regist.tsx +++ b/src/ts/containers/member/regist.tsx @@ -100,18 +100,25 @@ export class MemberRegist extends React.Component { "phone": this.state.phone }; + let exeObj :any; + exeObj = { + "serviceName":"Member", + "methodName":"Regist", + "param":obj + } - output = JSON.stringify(obj); - obj = { "value": output }; + output = JSON.stringify(exeObj); - fetch('http://192.168.1.209:8080/v1/example/echo', { + // obj = { "value": output }; + + fetch('http://192.168.1.203:8080/v1/overflow/services', { method: 'POST', headers: { 'Accept': 'application/json', // mode: 'no-cors' }, - body: JSON.stringify(obj) + body: output }).then(function (response) { return response.json(); }).then(function (json) {