Commit 66071b6c authored by wangwei's avatar wangwei

修复飞书登录 API 路径

parent 722ce72b
...@@ -18,7 +18,9 @@ export function refreshtoken(data) { ...@@ -18,7 +18,9 @@ export function refreshtoken(data) {
export function feishuLogin(code) { export function feishuLogin(code) {
return request({ return request({
url: '/login/feishu', // Keep this under /api so installations that only proxy API paths also
// forward the request to the Go service.
url: '/api/v1/login/feishu',
method: 'post', method: 'post',
data: { code }, data: { code },
timeout: 15000 timeout: 15000
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment