chat聊天功能
This commit is contained in:
@@ -213,6 +213,7 @@ export const Https = {
|
||||
queryUserGroup:`/api/history/queryUserGroup`, //History用户分页分组列表
|
||||
deleteUserGroup:`/api/history/deleteUserGroup`, //History删除用户分组
|
||||
updateUserGroupName:`/api/history/updateUserGroupName`, //History修改用户分组名
|
||||
saveOrUpdate:`/api/project/saveOrUpdate`, //History修改用户分组名
|
||||
historyChoose:`/api/history/choose`, //History choose
|
||||
getDesignDetail:`/api/design/detail/getDetail`,//查询design详情
|
||||
designSingleWithGradient:`/api/design/detail/designSingleWithGradient`,//查询需要更新mask列表
|
||||
@@ -232,6 +233,11 @@ export const Https = {
|
||||
editRelPublicClassificationIdList:`/api/classification/editRelPublicClassificationIdList`,//多选修改公共标签
|
||||
|
||||
//模块化
|
||||
llmStream:`/api/llm/stream`,//聊天
|
||||
chatCreateProject:`/api/llm/chatCreateProject`,//聊天创建项目
|
||||
getChatHistory:`/api/llm/getChatHistory`,//获取聊天历史记录
|
||||
llmUploadFile:`/api/llm/uploadFile`,//聊天上传文件
|
||||
|
||||
saveOrUpdate:`/api/project/saveOrUpdate`,//模块化新增修改
|
||||
getModuleContent:`/api/project/getModuleContent`,//获取模块内容
|
||||
saveModuleContent:`/api/project/saveModuleContent`,//储存模块内容
|
||||
@@ -312,7 +318,9 @@ export const Https = {
|
||||
updatePromCodeInfo:`/api/stripe/updatePromCodeInfo`,//修改优惠码
|
||||
getAllCoupons:`/api/stripe/getAllCoupons`,//查询优惠码列表
|
||||
checkCoupon:`/api/stripe/checkCoupon`,//根据优惠码获取结算后的金额
|
||||
deletePromCode:`api/stripe/deletePromCode`,//删除优惠券
|
||||
deletePromCode:`/api/stripe/deletePromCode`,//删除优惠券
|
||||
addOrganization:`/api/inquiry/addOrganization`,//添加企业版或者教育版
|
||||
queryOrganization:`/api/inquiry/queryOrganization`,//查询企业版或者教育版
|
||||
|
||||
|
||||
//云生成
|
||||
@@ -418,7 +426,7 @@ export const Https = {
|
||||
|
||||
axiosGet(url,config) {
|
||||
return new Promise((resolve, reject) => {
|
||||
if(isLoginTime) {
|
||||
if(isLoginTime && url != '/api/portfolio/page') {
|
||||
resolve('')
|
||||
return
|
||||
}
|
||||
@@ -432,7 +440,7 @@ export const Https = {
|
||||
|
||||
axiosPut(url, data) {
|
||||
return new Promise((resolve, reject) => {
|
||||
if(isLoginTime) {
|
||||
if(isLoginTime && url != '/api/portfolio/page') {
|
||||
resolve('')
|
||||
return
|
||||
}
|
||||
@@ -446,7 +454,7 @@ export const Https = {
|
||||
|
||||
axiosPost(url, data,config) {
|
||||
return new Promise((resolve, reject) => {
|
||||
if(isLoginTime) {
|
||||
if(isLoginTime && url != '/api/portfolio/page') {
|
||||
resolve('')
|
||||
return
|
||||
}
|
||||
@@ -460,7 +468,7 @@ export const Https = {
|
||||
|
||||
axiosDelete(url, newData) {
|
||||
return new Promise((resolve, reject) => {
|
||||
if(isLoginTime) {
|
||||
if(isLoginTime && url != '/api/portfolio/page') {
|
||||
resolve('')
|
||||
return
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user