From 4f189f6e2f18ef1075cfdc2d0805c2e9b922d858 Mon Sep 17 00:00:00 2001 From: jiangyong Date: Wed, 6 May 2026 16:24:13 +0800 Subject: [PATCH] ext --- enterprise/staff_user.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/enterprise/staff_user.go b/enterprise/staff_user.go index 7ee8730..c242fc7 100644 --- a/enterprise/staff_user.go +++ b/enterprise/staff_user.go @@ -56,7 +56,7 @@ func (e *StaffUser) SendVerifyCode(username, scene string) (*VerifyCode, 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() + "/api/staff/login" + reqUrl := e.GetBaseUrl() + "/ext/staff/login" body, err := goutil.HttpPost(reqUrl, e.GetHeader(), []byte(reqBody)) if err != nil { return nil, err