diff --git a/proxy/member_service.go b/proxy/member_service.go index 5e64839..ebf0f4f 100644 --- a/proxy/member_service.go +++ b/proxy/member_service.go @@ -3,8 +3,11 @@ package proxy import "log" type MemberService struct { - Email string `json:"email"` - Pw string `json:"pw"` + Email string `json:"email"` + PwSalt string `json:"pwSalt"` + Name string `json:"name"` + Company string `json:"company"` + Phone string `json:"phone"` } func NewMember() *MemberService { @@ -13,8 +16,9 @@ func NewMember() *MemberService { } func (m *MemberService) Regist() (string){ - log.Println("Call Regist", m.Email, m.Pw) + log.Println("Call Regist", m.Email, m.PwSalt) // Todo Call DB Gateway + return "" } @@ -25,7 +29,7 @@ func (m *MemberService) Read() (string){ } func (m *MemberService) Modify() (string){ - log.Println("Call Modify", m.Email, "::", m.Pw) + log.Println("Call Modify", m.Email, "::", m.PwSalt) // Todo Call DB Gateway return "" }