member struct modify

This commit is contained in:
geek 2017-05-25 19:08:03 +09:00
parent b5015bb284
commit 270d2f2f54

View File

@ -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 ""
}