修改登录获取信息脚本

This commit is contained in:
zyj
2025-11-26 19:55:55 +08:00
parent b448227d3e
commit 6404f753a5
10 changed files with 314 additions and 26 deletions

View File

@@ -102,3 +102,13 @@ func (*Twitter) Test(ctx *gin.Context) {
"data": "",
})
}
func (t *Twitter) Export(ctx *gin.Context) {
var TwitterService services.TwitterService
code, msg, files := TwitterService.ExportAccounts()
ctx.JSON(http.StatusOK, gin.H{
"code": code,
"msg": msg,
"files": files,
})
}