feat: 集成 KieAI 服务,移除 models-integration 子项目
- 添加 Gemini 2.5 Flash 对话接口(流式+非流式) - 添加 NanoBanana 图像生成/编辑接口 - 添加 Sora2 视频生成接口(文生视频、图生视频、去水印) - 移除 models-integration 子项目(功能已迁移至主后端) - 新增测试文档和 Playwright E2E 配置 - 更新前端页面和 API 接口 - 更新后端配置和日志处理
This commit is contained in:
@@ -195,15 +195,16 @@
|
||||
// #endif
|
||||
|
||||
// #ifdef MP
|
||||
// 小程序静默授权
|
||||
if (!this.$store.getters.isLogin && !this.globalData.tokenIsExist) {
|
||||
Routine.getCode().then(code => {
|
||||
Routine.authUserInfo(code)
|
||||
})
|
||||
.catch(res => {
|
||||
uni.hideLoading();
|
||||
});
|
||||
}
|
||||
// 不再在启动时自动静默登录,允许用户先浏览首页与功能后再自行选择授权登录(符合小程序审核要求)
|
||||
// 用户点击首页「请点击登录」或使用需登录功能时会进入登录页
|
||||
// if (!this.$store.getters.isLogin && !this.globalData.tokenIsExist) {
|
||||
// Routine.getCode().then(code => {
|
||||
// Routine.authUserInfo(code)
|
||||
// })
|
||||
// .catch(res => {
|
||||
// uni.hideLoading();
|
||||
// });
|
||||
// }
|
||||
// #endif
|
||||
// 主题变色
|
||||
getTheme().then(resP => {
|
||||
|
||||
Reference in New Issue
Block a user