This commit is contained in:
jiangyong 2026-06-19 00:31:38 +08:00
parent 593bf8e46a
commit b55ac43bb9
1 changed files with 1 additions and 1 deletions

View File

@ -50,7 +50,7 @@ func (e *StaffUser) SendCode(username, scene string) (*StaffCode, error) {
func (e *StaffUser) Login(username, timestamp, code string) (*StaffInfo, error) {
reqBody := fmt.Sprintf(`{"username":"%s","timestamp":"%s","code":"%s"}`, username, timestamp, code)
reqUrl := e.GetBaseUrl() + "/ext/staff/login"
reqUrl := e.GetBaseUrl() + "/ext/staff/user/login"
body, err := goutil.HttpPost(reqUrl, e.GetHeader(), []byte(reqBody))
if err != nil {
return nil, err