From b55ac43bb9212252a84714ac1b37bb28a4856ab8 Mon Sep 17 00:00:00 2001 From: jiangyong Date: Fri, 19 Jun 2026 00:31:38 +0800 Subject: [PATCH] login --- erp/staff_user.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/erp/staff_user.go b/erp/staff_user.go index 751cdbc..5d2bf53 100644 --- a/erp/staff_user.go +++ b/erp/staff_user.go @@ -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