WintBit

Results 23 comments of WintBit

当前阶段可用手动复刻ServletAdapter和HttpTranslator来解决,希望得到sdk支持

> > 支持该请求。当前阶段可用手动复刻ServletAdapter和HttpTranslator来解决,希望得到sdk支持 > > 有具体例子吗 @xlioo 重新实现 `com.lark.oapi.sdk.servlet.ext.ServletAdaptor` 和 `com.lark.oapi.sdk.servlet.ext.HttpTranslator`,我的是kotlin的参考一下~ #### ServletAdaptor.kt ```kotlin import com.lark.oapi.card.CardActionHandler import com.lark.oapi.event.EventDispatcher import jakarta.servlet.http.HttpServletRequest import jakarta.servlet.http.HttpServletResponse /** * Servlet的适配器,用于适配基于Jakarta Servlet技术栈实现的Web服务 */ class ServletAdapter {...

Service discovery done by https://git.scutbot.cn/WhiteNight/asuwave/pulls/4

Frontend connect & discovery done by https://git.scutbot.cn/WhiteNight/asuwave/pulls/6

External view 模式: 打开后复制飞书链接,可跳转到飞书网页预览

Build failed for i386 and arm/v7 os because of sonic and other int64 issues. Is there a build tag in alist that I can use to include this driver only...

抱歉晚了,,实在没想到这么快就merge了 1. 权限至少开通 `drive:drive` 与 `drive:file`,即 `查看、评论、编辑和管理云空间中所有文件` 和 `上传、下载文件到云空间` 2. tenant url prefix只在external view mode开启下有用,作用是把复制到的链接替换为飞书的预览链接,相当于用飞书的预览替换alist的预览能力,主要是在用户都是租户内用户且嫌弃带宽低或是希望评论等功能的使用。tenant url prefix填写 `https://xxxx.feishu.cn` 这样

我这里是可以的,你那里没法在自己飞书里看到应该是因为driver使用的是机器人的认证token,也就是说上传到的机器人的云空间,所以在个人的云空间是看不到的(飞书云空间是个人的不是全租户的),所以验证的话可以用飞书的在线api验证 @anwen-anyi

1. 前往[飞书开放平台](https://open.feishu.cn/app?lang=zh-CN),创建企业自建应用 2. 进入权限管理,开启权限`drive:drive` 与 `drive:file`,即 查看、评论、编辑和管理云空间中所有文件 和 上传、下载文件到云空间 3. 点击创建版本,发布应用 4. 创建存储复制`appId`, `appSecret`到对应栏 5. 选择模式:若启用`External View Mode`,则需关闭`Web代理`,填写`Tenant Url Prefix`,alist内不可预览,可复制链接后跳转到飞书预览地址;若关闭`External View Mode`,则需开启`Web代理`,alist内可预览

> > 1. 前往[飞书开放平台](https://open.feishu.cn/app?lang=zh-CN),创建企业自建应用 > > 2. 进入权限管理,开启权限`drive:drive` 与 `drive:file`,即 查看、评论、编辑和管理云空间中所有文件 和 上传、下载文件到云空间 > > 3. 点击创建版本,发布应用 > > 4. 创建存储复制`appId`, `appSecret`到对应栏 > > 5. 选择模式:若启用`External View Mode`,则需关闭`Web代理`,填写`Tenant Url Prefix`,alist内不可预览,可复制链接后跳转到飞书预览地址;若关闭`External...