fixbug
This commit is contained in:
parent
c726d792bd
commit
8bb537ff6a
|
|
@ -65,7 +65,7 @@ func (e *StaffUser) Login(req *LoginReq) (*LoginRsp, error) {
|
|||
|
||||
var reqBody string
|
||||
|
||||
reqBody = fmt.Sprintf(`{"username":"%s","password":"%s", timestamp":"%s","type":"%s"}`,
|
||||
reqBody = fmt.Sprintf(`{"username":"%s","password":"%s", "timestamp":"%s","type":"%s"}`,
|
||||
req.Username, req.Password, req.Timestamp, req.Type)
|
||||
|
||||
reqUrl := e.GetBaseUrl() + "/ext/staff/user/login"
|
||||
|
|
|
|||
Loading…
Reference in New Issue