ok
This commit is contained in:
1
.env.dev
1
.env.dev
@@ -9,5 +9,6 @@ VITE_APP_BASE_URL = 'https://develop.api.aida.com.hk'
|
|||||||
# VITE_APP_BASE_URL = 'http://192.168.31.118:5567'
|
# VITE_APP_BASE_URL = 'http://192.168.31.118:5567'
|
||||||
# 李天祥
|
# 李天祥
|
||||||
# VITE_APP_BASE_URL = 'http://192.168.31.82:5567'
|
# VITE_APP_BASE_URL = 'http://192.168.31.82:5567'
|
||||||
|
VITE_APP_BASE_URL = 'http://192.168.31.82:5569'
|
||||||
# 海波
|
# 海波
|
||||||
# VITE_APP_BASE_URL = 'http://192.168.31.34:5567'
|
# VITE_APP_BASE_URL = 'http://192.168.31.34:5567'
|
||||||
|
|||||||
@@ -24,13 +24,10 @@ import store from '@/store'
|
|||||||
// }else{
|
// }else{
|
||||||
// httpIp = ''
|
// httpIp = ''
|
||||||
// }
|
// }
|
||||||
let httpIp = import.meta.env.VITE_USER_NODE_ENV == 'development' ? '' : ''
|
const isDev = import.meta.env.VITE_USER_NODE_ENV == 'development'
|
||||||
// let httpIp = import.meta.env.VITE_USER_NODE_ENV == 'development' ? "https://192.168.1.8:10086" : "";
|
const baseURL = isDev ? '' : import.meta.env.VITE_APP_BASE_URL
|
||||||
|
axios.defaults.baseURL = baseURL; // isDev ? '' : import.meta.env.VITE_APP_BASE_URL; //配置接口地址
|
||||||
axios.defaults.baseURL = httpIp //配置接口地址
|
console.log(import.meta.env.VITE_APP_BASE_URL, baseURL)
|
||||||
// console.log(axios.defaults.baseURL);
|
|
||||||
axios.defaults.baseURL = import.meta.env.VITE_APP_BASE_URL //配置接口地址
|
|
||||||
console.log(import.meta.env.VITE_APP_BASE_URL)
|
|
||||||
|
|
||||||
// 创建取消令牌
|
// 创建取消令牌
|
||||||
const CancelToken = axios.CancelToken
|
const CancelToken = axios.CancelToken
|
||||||
@@ -149,336 +146,337 @@ axios.interceptors.response.use(
|
|||||||
export const Https = {
|
export const Https = {
|
||||||
httpUrls: {
|
httpUrls: {
|
||||||
interfaceUrl: '',
|
interfaceUrl: '',
|
||||||
parseGoogleCredential: '/aida/api/third/party/parseGoogleCredential', //谷歌登录注册
|
parseGoogleCredential: '/api/third/party/parseGoogleCredential', //谷歌登录注册
|
||||||
parseWeChatCode: '/aida/api/third/party/parseWeChatCode', //微信登录
|
parseWeChatCode: '/api/third/party/parseWeChatCode', //微信登录
|
||||||
accountIsLogin: '/aida/api/account/isLogin', //判断用户是否登录
|
accountIsLogin: '/api/account/isLogin', //判断用户是否登录
|
||||||
accountLogin: `/aida/api/account/login`, //账号密码登录接口
|
accountLogin: `/api/account/login`, //账号密码登录接口
|
||||||
organizationNameSearch: `/aida/api/account/organizationNameSearch`, //查询学校或者企业版名字
|
organizationNameSearch: `/api/account/organizationNameSearch`, //查询学校或者企业版名字
|
||||||
getUserLanguage: `/aida/api/account/getUserLanguage`, //获取当前用户语言
|
getUserLanguage: `/api/account/getUserLanguage`, //获取当前用户语言
|
||||||
changeUserLanguage: `/aida/api/account/changeUserLanguage`, //切换用户当前语言
|
changeUserLanguage: `/api/account/changeUserLanguage`, //切换用户当前语言
|
||||||
uploadAvatar: `/aida/api/account/uploadAvatar`, //修改头像
|
uploadAvatar: `/api/account/uploadAvatar`, //修改头像
|
||||||
editUserName: `/aida/api/account/editUserName`, //修改用户名
|
editUserName: `/api/account/editUserName`, //修改用户名
|
||||||
updateUserInfo: `/aida/api/account/updateUserInfo`, //修改国家职业
|
updateUserInfo: `/api/account/updateUserInfo`, //修改国家职业
|
||||||
accountDetail: `/aida/api/account/getAccountDetail`, //用户详细信息
|
accountDetail: `/api/account/getAccountDetail`, //用户详细信息
|
||||||
|
|
||||||
trialUserLogout: `/aida/api/account/trialUserLogout`, //试用用户退出登录接口
|
trialUserLogout: `/api/account/trialUserLogout`, //试用用户退出登录接口
|
||||||
completeGuidancet: `/aida/api/account/completeGuidance`, //用户指引结束
|
completeGuidancet: `/api/account/completeGuidance`, //用户指引结束
|
||||||
|
|
||||||
getExpiredTime: `/aida/api/account/getExpiredTime`, //获取用户到期时间
|
getExpiredTime: `/api/account/getExpiredTime`, //获取用户到期时间
|
||||||
|
|
||||||
addNoLoginRequired: `/aida/api/third/party/addNoLoginRequired`, //机房用户注册
|
addNoLoginRequired: `/api/third/party/addNoLoginRequired`, //机房用户注册
|
||||||
deleteNoLoginRequired: `/aida/api/third/party/deleteNoLoginRequired`, //机房用户注销
|
deleteNoLoginRequired: `/api/third/party/deleteNoLoginRequired`, //机房用户注销
|
||||||
noLoginRequired: `api/account/noLoginRequired`, //机房用户登录
|
noLoginRequired: `api/account/noLoginRequired`, //机房用户登录
|
||||||
existNoLoginRequired: `/aida/api/third/party/existNoLoginRequired`, //获取唯一标识是否存在
|
existNoLoginRequired: `/api/third/party/existNoLoginRequired`, //获取唯一标识是否存在
|
||||||
|
|
||||||
deleteNoLoginRequiredNew: `/aida/api/third/party/deleteNoLoginRequiredNew`, //机房用户注销
|
deleteNoLoginRequiredNew: `/api/third/party/deleteNoLoginRequiredNew`, //机房用户注销
|
||||||
addNoLoginRequiredNew: `api/third/party/addNoLoginRequiredNew`, //机房用户注册
|
addNoLoginRequiredNew: `api/third/party/addNoLoginRequiredNew`, //机房用户注册
|
||||||
updateNoLoginRequiredNew: `api/third/party/updateNoLoginRequiredNew`, //机房用户更新
|
updateNoLoginRequiredNew: `api/third/party/updateNoLoginRequiredNew`, //机房用户更新
|
||||||
|
|
||||||
endpoint: `api/third/party/your-secured-endpoint`, //获取唯一标识是否存在
|
endpoint: `api/third/party/your-secured-endpoint`, //获取唯一标识是否存在
|
||||||
|
|
||||||
designWorksRegister: '/aida/api/account/designWorksRegister', //注册
|
designWorksRegister: '/api/account/designWorksRegister', //注册
|
||||||
designWorksRegisterCode: '/aida/api/account/designWorksRegisterCode', //注册
|
designWorksRegisterCode: '/api/account/designWorksRegisterCode', //注册
|
||||||
|
|
||||||
preLogin: '/aida/api/account/preLogin', //预先登入
|
preLogin: '/api/account/preLogin', //预先登入
|
||||||
schoolLogin: '/aida/api/account/schoolLogin', //学校管理员登录
|
schoolLogin: '/api/account/schoolLogin', //学校管理员登录
|
||||||
enterpriseLogin: '/aida/api/account/enterpriseLogin', //企业管理员登录
|
enterpriseLogin: '/api/account/enterpriseLogin', //企业管理员登录
|
||||||
accountSendEmail: `/aida/api/account/sendEmail`, //发送邮件
|
accountSendEmail: `/api/account/sendEmail`, //发送邮件
|
||||||
accountResetPwd: '/aida/api/account/resetPwd', //忘记密码修改
|
accountResetPwd: '/api/account/resetPwd', //忘记密码修改
|
||||||
accountLogout: '/aida/api/account/logout', //登出
|
accountLogout: '/api/account/logout', //登出
|
||||||
accountBindEmail: '/aida/api/account/bindEmail', //绑定邮箱
|
accountBindEmail: '/api/account/bindEmail', //绑定邮箱
|
||||||
bindGoogle: '/aida/api/account/bindGoogle', //绑定谷歌
|
bindGoogle: '/api/account/bindGoogle', //绑定谷歌
|
||||||
bindWeChat: '/aida/api/account/bindWeChat', //绑定微信
|
bindWeChat: '/api/account/bindWeChat', //绑定微信
|
||||||
unbindGoogle: `/aida/api/account/unbindGoogle`, //取消绑定谷歌
|
unbindGoogle: `/api/account/unbindGoogle`, //取消绑定谷歌
|
||||||
unbindWeChat: '/aida/api/account/unbindWeChat', //取消绑定微信
|
unbindWeChat: '/api/account/unbindWeChat', //取消绑定微信
|
||||||
elementGeneratePrint: '/aida/api/element/generatePrint', //生成印花
|
elementGeneratePrint: '/api/element/generatePrint', //生成印花
|
||||||
elementSavePrint: '/aida/api/element/savePrint', //保存印花
|
elementSavePrint: '/api/element/savePrint', //保存印花
|
||||||
getRgbByTcx: '/aida/api/element/getRgbByTcx', // 通过hsv值获取潘通信息
|
getRgbByTcx: '/api/element/getRgbByTcx', // 通过hsv值获取潘通信息
|
||||||
getRgbByHsv: '/aida/api/element/getRgbByHsv', //通过hsv值获取潘通信息
|
getRgbByHsv: '/api/element/getRgbByHsv', //通过hsv值获取潘通信息
|
||||||
elementDelete: '/aida/api/element/delete', //删除上传的图片
|
elementDelete: '/api/element/delete', //删除上传的图片
|
||||||
designCollection: `/aida/api/design/designCollection`, //设计 Conllection
|
designCollection: `/api/design/designCollection`, //设计 Conllection
|
||||||
reDesignCollection: `/aida/api/design/reDesignCollection`, //重新设计 Conllection
|
reDesignCollection: `/api/design/reDesignCollection`, //重新设计 Conllection
|
||||||
countDesignProcess: '/aida/api/design/countDesignProcess', //统计design进度
|
countDesignProcess: '/api/design/countDesignProcess', //统计design进度
|
||||||
getDesignResult: '/aida/api/design/getDesignResult', //查询design结果
|
getDesignResult: '/api/design/getDesignResult', //查询design结果
|
||||||
designSort: `/aida/api/design/sort`, //design排序
|
designSort: `/api/design/sort`, //design排序
|
||||||
collectionLikeUpdate: `/aida/api/history/collectionLikeUpdate`, //赋值排序
|
collectionLikeUpdate: `/api/history/collectionLikeUpdate`, //赋值排序
|
||||||
|
|
||||||
designProcess: `/aida/api/design/designProcess`, //统计design进度
|
designProcess: `/api/design/designProcess`, //统计design进度
|
||||||
designGetModel: `/aida/api/design/getModel`, //导出获取模特链接
|
designGetModel: `/api/design/getModel`, //导出获取模特链接
|
||||||
|
|
||||||
//充值相关
|
//充值相关
|
||||||
productList: `/aida/api/product/list`, //获取商品列表
|
productList: `/api/product/list`, //获取商品列表
|
||||||
payAlipay: `/aida/api/ali-pay/trade/page/pay`, //支付宝确认支付
|
payAlipay: `/api/ali-pay/trade/page/pay`, //支付宝确认支付
|
||||||
payAlipayHK: `/aida/api/alipay-hk/createOrder`, //香港支付宝确认支付
|
payAlipayHK: `/api/alipay-hk/createOrder`, //香港支付宝确认支付
|
||||||
payStripe: `/aida/api/stripe/createOrder`, //Stripe支付
|
payStripe: `/api/stripe/createOrder`, //Stripe支付
|
||||||
payPaypal: `/aida/api/paypal/trade`, //paypal确认支付
|
payPaypal: `/api/paypal/trade`, //paypal确认支付
|
||||||
getCredits: `/aida/api/credits/getCredits`, //查询用户积分
|
getCredits: `/api/credits/getCredits`, //查询用户积分
|
||||||
|
|
||||||
cancelSubscription: `/aida/api/stripe/cancelSubscription`, //取消订阅
|
cancelSubscription: `/api/stripe/cancelSubscription`, //取消订阅
|
||||||
|
|
||||||
orderInfoList: `/aida/api/order-info/list`, //查询订单列表
|
orderInfoList: `/api/order-info/list`, //查询订单列表
|
||||||
getCreditsDetail: `/aida/api/credits/getCreditsDetail`, //查询积分列表
|
getCreditsDetail: `/api/credits/getCreditsDetail`, //查询积分列表
|
||||||
tradeRefundAlipay: `/aida/api/ali-pay/trade/refund`, //支付宝退款
|
tradeRefundAlipay: `/api/ali-pay/trade/refund`, //支付宝退款
|
||||||
tradeRefundPaypal: `/aida/api/paypal/trade/refund`, //paypal退款
|
tradeRefundPaypal: `/api/paypal/trade/refund`, //paypal退款
|
||||||
|
|
||||||
tradeQuery: `/aida/api/ali-pay/trade/query/{orderNo}`, //查询订单状态
|
tradeQuery: `/api/ali-pay/trade/query/{orderNo}`, //查询订单状态
|
||||||
|
|
||||||
getRgbByHsvBatch: `/aida/api/element/getRgbByHsvBatch`, //通过hsv值数组批量获取潘通信息
|
getRgbByHsvBatch: `/api/element/getRgbByHsvBatch`, //通过hsv值数组批量获取潘通信息
|
||||||
designLike: `/aida/api/design/like`, //Design Like
|
designLike: `/api/design/like`, //Design Like
|
||||||
designDislike: `/aida/api/design/dislike`, //Design Dislike
|
designDislike: `/api/design/dislike`, //Design Dislike
|
||||||
queryUserGroup: `/aida/api/history/queryUserGroup`, //History用户分页分组列表
|
queryUserGroup: `/api/history/queryUserGroup`, //History用户分页分组列表
|
||||||
deleteUserGroup: `/aida/api/history/deleteUserGroup`, //History删除用户分组
|
deleteUserGroup: `/api/history/deleteUserGroup`, //History删除用户分组
|
||||||
updateUserGroupName: `/aida/api/history/updateUserGroupName`, //History修改用户分组名
|
updateUserGroupName: `/api/history/updateUserGroupName`, //History修改用户分组名
|
||||||
projectSaveOrUpdate: `/aida/api/project/saveOrUpdate`, //History修改用户分组名
|
projectSaveOrUpdate: `/api/project/saveOrUpdate`, //History修改用户分组名
|
||||||
historyChoose: `/aida/api/history/choose`, //History choose
|
historyChoose: `/api/history/choose`, //History choose
|
||||||
getDesignDetail: `/aida/api/design/detail/getDetail`, //查询design详情
|
getDesignDetail: `/api/design/detail/getDetail`, //查询design详情
|
||||||
addSysSketchToLibrary: `/aida/api/library/addSysSketchToLibrary`, //把系统衣服添加的library
|
addSysSketchToLibrary: `/api/library/addSysSketchToLibrary`, //把系统衣服添加的library
|
||||||
designSingleWithGradient: `/aida/api/design/detail/designSingleWithGradient`, //查询需要更新mask列表
|
designSingleWithGradient: `/api/design/detail/designSingleWithGradient`, //查询需要更新mask列表
|
||||||
getNextSysElement: '/aida/api/design/detail/getNextSysElement', //切换系统的element
|
getNextSysElement: '/api/design/detail/getNextSysElement', //切换系统的element
|
||||||
detailPrintDot: '/aida/api/design/detail/printDot', //print打点预览
|
detailPrintDot: '/api/design/detail/printDot', //print打点预览
|
||||||
designSingle: `/aida/api/design/detail/designSingle`, //单个design
|
designSingle: `/api/design/detail/designSingle`, //单个design
|
||||||
queryLibraryPage: `/aida/api/library/queryLibraryPage`, //Library分页列表
|
queryLibraryPage: `/api/library/queryLibraryPage`, //Library分页列表
|
||||||
libraryUpload: `/aida/api/library/upload`, // Library文件上传
|
libraryUpload: `/api/library/upload`, // Library文件上传
|
||||||
setSketchLibrary: `/aida/api/library/updateLibraryLevel2Type`, // 修改图片类型
|
setSketchLibrary: `/api/library/updateLibraryLevel2Type`, // 修改图片类型
|
||||||
updateElementLevel2Type: `/aida/api/element/updateElementLevel2Type`, // 修改拼贴上传的衣服类型
|
updateElementLevel2Type: `/api/element/updateElementLevel2Type`, // 修改拼贴上传的衣服类型
|
||||||
|
|
||||||
queryClassification: `/aida/api/classification/queryClassification`, //标签类别查询
|
queryClassification: `/api/classification/queryClassification`, //标签类别查询
|
||||||
classificationSaveOrUpdate: `/aida/api/classification/saveOrUpdate`, //标签类别新增修改
|
classificationSaveOrUpdate: `/api/classification/saveOrUpdate`, //标签类别新增修改
|
||||||
classificationDelete: `/aida/api/classification/delete`, //标签类别新增修改
|
classificationDelete: `/api/classification/delete`, //标签类别新增修改
|
||||||
relationLibrary: `/aida/api/classification/relationLibrary`, //标签类别新增修改
|
relationLibrary: `/api/classification/relationLibrary`, //标签类别新增修改
|
||||||
getRelClassificationIdList: `/aida/api/classification/getRelClassificationIdList`, //标签类别新增修改
|
getRelClassificationIdList: `/api/classification/getRelClassificationIdList`, //标签类别新增修改
|
||||||
getRelPublicClassificationIdList: `/aida/api/classification/getRelPublicClassificationIdList`, //多选获取公共标签
|
getRelPublicClassificationIdList: `/api/classification/getRelPublicClassificationIdList`, //多选获取公共标签
|
||||||
editRelPublicClassificationIdList: `/aida/api/classification/editRelPublicClassificationIdList`, //多选修改公共标签
|
editRelPublicClassificationIdList: `/api/classification/editRelPublicClassificationIdList`, //多选修改公共标签
|
||||||
|
|
||||||
//模块化
|
//模块化
|
||||||
llmStream: `/aida/api/llm/streamNew`, //聊天
|
llmStream: `/api/llm/streamNew`, //聊天
|
||||||
// llmStream:`/aida/api/llm/stream`,//聊天
|
// llmStream:`/api/llm/stream`,//聊天
|
||||||
chatCreateProject: `/aida/api/llm/chatCreateProject`, //聊天创建项目
|
chatCreateProject: `/api/llm/chatCreateProject`, //聊天创建项目
|
||||||
getChatHistory: `/aida/api/llm/getChatHistory`, //获取聊天历史记录
|
getChatHistory: `/api/llm/getChatHistory`, //获取聊天历史记录
|
||||||
llmUploadFile: `/aida/api/llm/uploadFile`, //聊天上传文件
|
llmUploadFile: `/api/llm/uploadFile`, //聊天上传文件
|
||||||
|
|
||||||
saveOrUpdate: `/aida/api/project/saveOrUpdate`, //模块化新增修改
|
saveOrUpdate: `/api/project/saveOrUpdate`, //模块化新增修改
|
||||||
getModuleContent: `/aida/api/project/getModuleContent`, //获取模块内容
|
getModuleContent: `/api/project/getModuleContent`, //获取模块内容
|
||||||
saveModuleContent: `/aida/api/project/saveModuleContent`, //储存模块内容
|
saveModuleContent: `/api/project/saveModuleContent`, //储存模块内容
|
||||||
historyProject: `/aida/api/project/page`, //项目记录
|
historyProject: `/api/project/page`, //项目记录
|
||||||
projectDetail: `/aida/api/project/delete`, //删除项目
|
projectDetail: `/api/project/delete`, //删除项目
|
||||||
//3d
|
//3d
|
||||||
threeDPage: `/aida/api/project/threeDPage`,
|
threeDPage: `/api/project/threeDPage`,
|
||||||
downloadZip: `/aida/api/project/downloadZip`, //下载zip
|
downloadZip: `/api/project/downloadZip`, //下载zip
|
||||||
getThreeDSize: `/aida/api/project/getThreeDSize`, //下载列表
|
getThreeDSize: `/api/project/getThreeDSize`, //下载列表
|
||||||
getLayoutDetail: `/aida/api/project/getLayoutDetail`, //获取3d详情
|
getLayoutDetail: `/api/project/getLayoutDetail`, //获取3d详情
|
||||||
getThreeDGlb: `/aida/api/project/getThreeDGlb`,
|
getThreeDGlb: `/api/project/getThreeDGlb`,
|
||||||
selectHistoryProject: `/aida/api/project/choose`, //选择项目
|
selectHistoryProject: `/api/project/choose`, //选择项目
|
||||||
getMannequinDetail: `/aida/api/project/getMannequinDetail`, //模块化查看模特点位
|
getMannequinDetail: `/api/project/getMannequinDetail`, //模块化查看模特点位
|
||||||
modifyProportion: `/aida/api/generate/modifyProportion`, //模特拉伸
|
modifyProportion: `/api/generate/modifyProportion`, //模特拉伸
|
||||||
addSysModelToLib: `/aida/api/library/addSysModelToLib`,
|
addSysModelToLib: `/api/library/addSysModelToLib`,
|
||||||
poselikeOrDisike: `/aida/api/generate/likeOrDislike`, //postTransform like
|
poselikeOrDisike: `/api/generate/likeOrDislike`, //postTransform like
|
||||||
getAllPose: `/aida/api/generate/getAllPose`, //获取动作
|
getAllPose: `/api/generate/getAllPose`, //获取动作
|
||||||
|
|
||||||
//拼贴
|
//拼贴
|
||||||
genSketchRecon: `/aida/api/generate/genSketchRecon`,
|
genSketchRecon: `/api/generate/genSketchRecon`,
|
||||||
saveReconCanvas: `/aida/api/generate/saveReconCanvas`,
|
saveReconCanvas: `/api/generate/saveReconCanvas`,
|
||||||
|
|
||||||
//动作变换
|
//动作变换
|
||||||
poseTransform: `/aida/api/generate/poseTransform`,
|
poseTransform: `/api/generate/poseTransform`,
|
||||||
poseTransformResult: `/aida/api/generate/poseTransformResult`,
|
poseTransformResult: `/api/generate/poseTransformResult`,
|
||||||
|
|
||||||
batchUpdateLibraryName: '/aida/api/library/batchUpdateLibraryName', //Library修改用户文件名
|
batchUpdateLibraryName: '/api/library/batchUpdateLibraryName', //Library修改用户文件名
|
||||||
batchDeleteLibrary: '/aida/api/library/batchDeleteLibrary', //删除library
|
batchDeleteLibrary: '/api/library/batchDeleteLibrary', //删除library
|
||||||
queryLibraryTopAndBottomPage: '/aida/api/library/queryLibraryTopAndBottomPage', //Library分页列表(查询top和bottom)
|
queryLibraryTopAndBottomPage: '/api/library/queryLibraryTopAndBottomPage', //Library分页列表(查询top和bottom)
|
||||||
saveOrEditTemplatePoint: '/aida/api/library/saveOrEditTemplatePoint', //保存或者编辑template打点
|
saveOrEditTemplatePoint: '/api/library/saveOrEditTemplatePoint', //保存或者编辑template打点
|
||||||
libraryModelsDot: '/aida/api/library/modelsDot', //Models打点预览
|
libraryModelsDot: '/api/library/modelsDot', //Models打点预览
|
||||||
chatStreamTest: `/aida/api/python/chatStream`, //机器人助力
|
chatStreamTest: `/api/python/chatStream`, //机器人助力
|
||||||
pictureLikeOrUnLike: `/aida/api/python/pictureLikeOrUnLike`, //机器人生成图喜欢
|
pictureLikeOrUnLike: `/api/python/pictureLikeOrUnLike`, //机器人生成图喜欢
|
||||||
getBloodBars: `/aida/api/python/getBloodBars`, //机器人血条
|
getBloodBars: `/api/python/getBloodBars`, //机器人血条
|
||||||
//工作空间
|
//工作空间
|
||||||
workspaceDetail: `/aida/api/workspace/detail`, //用户习惯详情
|
workspaceDetail: `/api/workspace/detail`, //用户习惯详情
|
||||||
workspaceenumValues: `/aida/api/workspace/enumValues`, //getSex
|
workspaceenumValues: `/api/workspace/enumValues`, //getSex
|
||||||
|
|
||||||
workspaceRemove: `/aida/api/workspace/remove`, //删除用户习惯详情
|
workspaceRemove: `/api/workspace/remove`, //删除用户习惯详情
|
||||||
workspacesaveOrUpdate: `/aida/api/workspace/saveOrUpdate`, //修改用户习惯详情
|
workspacesaveOrUpdate: `/api/workspace/saveOrUpdate`, //修改用户习惯详情
|
||||||
getMannequins: `/aida/api/workspace/getMannequins`, //模特
|
getMannequins: `/api/workspace/getMannequins`, //模特
|
||||||
getStyleList: `/aida/api/workspace/styleList`, //获取所有风格列表
|
getStyleList: `/api/workspace/styleList`, //获取所有风格列表
|
||||||
|
|
||||||
workspaceList: `/aida/api/workspace/list`,
|
workspaceList: `/api/workspace/list`,
|
||||||
sketchAndPrintGenerate: '/aida/api/generate/sketchAndPrint', //sketchGenerate生成图片
|
sketchAndPrintGenerate: '/api/generate/sketchAndPrint', //sketchGenerate生成图片
|
||||||
|
|
||||||
generatePrepare: '/aida/api/generate/prepare', //开始生成generate图片
|
generatePrepare: '/api/generate/prepare', //开始生成generate图片
|
||||||
generateStopWaiting: '/aida/api/generate/stopWaiting', //取消生成
|
generateStopWaiting: '/api/generate/stopWaiting', //取消生成
|
||||||
generateResult: '/aida/api/generate/result', //获取生成结果
|
generateResult: '/api/generate/result', //获取生成结果
|
||||||
generateLike: '/aida/api/generate/like', //喜欢ganerate图片
|
generateLike: '/api/generate/like', //喜欢ganerate图片
|
||||||
generateDislike: '/aida/api/generate/dislike', //喜欢ganerate图片
|
generateDislike: '/api/generate/dislike', //喜欢ganerate图片
|
||||||
imageToSketch: '/aida/api/generate/imageToSketch', //成品图转为线稿
|
imageToSketch: '/api/generate/imageToSketch', //成品图转为线稿
|
||||||
modifySketch: '/aida/api/generate/modifySketch', //修改画布内容并且储存
|
modifySketch: '/api/generate/modifySketch', //修改画布内容并且储存
|
||||||
|
|
||||||
elementUpload: `/aida/api/element/upload`, //上传图片
|
elementUpload: `/api/element/upload`, //上传图片
|
||||||
imageSegmentation: `/aida/api/element/imageSegmentation`, //分割衣服
|
imageSegmentation: `/api/element/imageSegmentation`, //分割衣服
|
||||||
convertRelightElement: `/aida/api/history/convertRelightElement`, //toproduct复制到上传图片位置
|
convertRelightElement: `/api/history/convertRelightElement`, //toproduct复制到上传图片位置
|
||||||
|
|
||||||
// oldHis:`/oldHis/history/queryUserGroup`,//上传图片
|
// oldHis:`/oldHis/history/queryUserGroup`,//上传图片
|
||||||
sketchBoardsBoundingBox: `/aida/api/design/sketchBoardsBoundingBox`, //裁剪sketch图片
|
sketchBoardsBoundingBox: `/api/design/sketchBoardsBoundingBox`, //裁剪sketch图片
|
||||||
|
|
||||||
trialOrderList: `/aida/api/account/trialOrderList`, //获取审批列表
|
trialOrderList: `/api/account/trialOrderList`, //获取审批列表
|
||||||
switchIsAutoApproval: `/aida/api/account/switchIsAutoApproval`, //切换是否自动审批
|
switchIsAutoApproval: `/api/account/switchIsAutoApproval`, //切换是否自动审批
|
||||||
getIsAutoApproval: `/aida/api/account/getIsAutoApproval`, //获取是否自动审批
|
getIsAutoApproval: `/api/account/getIsAutoApproval`, //获取是否自动审批
|
||||||
trialOrderApproval: `/aida/api/account/trialOrderApproval`, //通过审批
|
trialOrderApproval: `/api/account/trialOrderApproval`, //通过审批
|
||||||
trialOrderRefuse: `/aida/api/account/trialOrderRefuse`, //拒绝审批
|
trialOrderRefuse: `/api/account/trialOrderRefuse`, //拒绝审批
|
||||||
|
|
||||||
//管理员接口
|
//管理员接口
|
||||||
//查询所有试用用户
|
//查询所有试用用户
|
||||||
inquiryGetTrial: `/aida/api/inquiry/getTrial`, //查询所有试用用户
|
inquiryGetTrial: `/api/inquiry/getTrial`, //查询所有试用用户
|
||||||
getCities: `/aida/api/inquiry/getCities`, //获取所有付款订单使用的国家
|
getCities: `/api/inquiry/getCities`, //获取所有付款订单使用的国家
|
||||||
getUserInfo: `/aida/api/inquiry/getUserInfo`, //查询所有用户
|
getUserInfo: `/api/inquiry/getUserInfo`, //查询所有用户
|
||||||
queryTransaction: `/aida/api/inquiry/queryTransaction`, //查询交易记录
|
queryTransaction: `/api/inquiry/queryTransaction`, //查询交易记录
|
||||||
queryTransactionDownload: `/aida/api/inquiry/queryTransaction/download`, //导出交易记录
|
queryTransactionDownload: `/api/inquiry/queryTransaction/download`, //导出交易记录
|
||||||
createCoupon: `/aida/api/stripe/createCoupon`, //创建优惠码
|
createCoupon: `/api/stripe/createCoupon`, //创建优惠码
|
||||||
updatePromCodeInfo: `/aida/api/stripe/updatePromCodeInfo`, //修改优惠码
|
updatePromCodeInfo: `/api/stripe/updatePromCodeInfo`, //修改优惠码
|
||||||
getAllCoupons: `/aida/api/stripe/getAllCoupons`, //查询优惠码列表
|
getAllCoupons: `/api/stripe/getAllCoupons`, //查询优惠码列表
|
||||||
checkCoupon: `/aida/api/stripe/checkCoupon`, //根据优惠码获取结算后的金额
|
checkCoupon: `/api/stripe/checkCoupon`, //根据优惠码获取结算后的金额
|
||||||
deletePromCode: `/aida/api/stripe/deletePromCode`, //删除优惠券
|
deletePromCode: `/api/stripe/deletePromCode`, //删除优惠券
|
||||||
addOrganization: `/aida/api/inquiry/addOrganization`, //添加企业版或者教育版
|
addOrganization: `/api/inquiry/addOrganization`, //添加企业版或者教育版
|
||||||
queryOrganization: `/aida/api/inquiry/queryOrganization`, //查询企业版或者教育版
|
queryOrganization: `/api/inquiry/queryOrganization`, //查询企业版或者教育版
|
||||||
createSubscribePlan: '/aida/api/subscription_plan/createPlan', // 创建订阅计划
|
createSubscribePlan: '/api/subscription_plan/createPlan', // 创建订阅计划
|
||||||
deleteSubscribePlan: '/aida/api/subscription_plan/deletePlan', // 删除订阅计划
|
deleteSubscribePlan: '/api/subscription_plan/deletePlan', // 删除订阅计划
|
||||||
updateSubscribePlan: '/aida/api/subscription_plan/updatePlan', // 修改订阅计划
|
updateSubscribePlan: '/api/subscription_plan/updatePlan', // 修改订阅计划
|
||||||
searchAllSubscribePlan: '/aida/api/subscription_plan/searchByPage', // 分页查询所有订阅计划
|
searchAllSubscribePlan: '/api/subscription_plan/searchByPage', // 分页查询所有订阅计划
|
||||||
searchSubscribeByOrg: '/aida/api/subscription_plan/searchByOrganizationIdAndStatus', // 不分页查询
|
searchSubscribeByOrg: '/api/subscription_plan/searchByOrganizationIdAndStatus', // 不分页查询
|
||||||
switchSubscribePlan: '/aida/api/subscription_plan/switchSubscriptionPlan', // 切换管理员订阅计划
|
switchSubscribePlan: '/api/subscription_plan/switchSubscriptionPlan', // 切换管理员订阅计划
|
||||||
switchSubAccountSubscribePlan:
|
switchSubAccountSubscribePlan:
|
||||||
'/aida/api/subscription_plan/switchSubAccSubscriptionPlan', // 切换子账号订阅计划
|
'/api/subscription_plan/switchSubAccSubscriptionPlan', // 切换子账号订阅计划
|
||||||
|
|
||||||
//云生成
|
//云生成
|
||||||
designCloud: `/aida/api/design/designCloud`, //创建云生成
|
designCloud: `/api/design/designCloud`, //创建云生成
|
||||||
cloudPage: `/aida/api/design/cloudPage`, //创建云生成
|
cloudPage: `/api/design/cloudPage`, //创建云生成
|
||||||
cloudTaskDelete: `/aida/api/design/cloudTaskDelete`, //删除云生成
|
cloudTaskDelete: `/api/design/cloudTaskDelete`, //删除云生成
|
||||||
cloudTaskNameUpdate: `/aida/api/design/cloudTaskNameUpdate`, //修改云生成名字
|
cloudTaskNameUpdate: `/api/design/cloudTaskNameUpdate`, //修改云生成名字
|
||||||
getDesignCloudResult: `/aida/api/design/getDesignCloudResult`, //查询这条云生成记录的所有内容
|
getDesignCloudResult: `/api/design/getDesignCloudResult`, //查询这条云生成记录的所有内容
|
||||||
|
|
||||||
//企业版教育版管理员页面
|
//企业版教育版管理员页面
|
||||||
subAccountList: `/aida/api/account/subAccountList`, //查询子账号
|
subAccountList: `/api/account/subAccountList`, //查询子账号
|
||||||
addOrUpdateSubAccount: `/aida/api/account/addOrUpdateSubAccount`, //添加子账号
|
addOrUpdateSubAccount: `/api/account/addOrUpdateSubAccount`, //添加子账号
|
||||||
deleteSubAccount: `/aida/api/account/deleteSubAccount`, //删除子账号
|
deleteSubAccount: `/api/account/deleteSubAccount`, //删除子账号
|
||||||
subAccountImportExcelDownload: `/aida/api/account/subAccountImportExcelDownload`, //批量添加模板下载模板
|
subAccountImportExcelDownload: `/api/account/subAccountImportExcelDownload`, //批量添加模板下载模板
|
||||||
exportAccountsToExcel: `/aida/api/account/exportAccountsToExcel`, //教育版导出用户数据
|
exportAccountsToExcel: `/api/account/exportAccountsToExcel`, //教育版导出用户数据
|
||||||
getNextSequence: `/aida/api/project/getNextSequence`, //批量添加模板下载模板
|
getNextSequence: `/api/project/getNextSequence`, //批量添加模板下载模板
|
||||||
subAccountImport: `/aida/api/account/subAccountImport`, //模板导入
|
subAccountImport: `/api/account/subAccountImport`, //模板导入
|
||||||
getGenerateFrequency: `/aida/api/inquiry/getGenerateFrequency`, //积分使用详情
|
getGenerateFrequency: `/api/inquiry/getGenerateFrequency`, //积分使用详情
|
||||||
getAllGenerateFuncName: `/aida/api/inquiry/getAllGenerateFuncName`, //获取所有generate类型
|
getAllGenerateFuncName: `/api/inquiry/getAllGenerateFuncName`, //获取所有generate类型
|
||||||
|
|
||||||
//查询某个时间内design点击次数
|
//查询某个时间内design点击次数
|
||||||
getDesignStatistic: `/aida/api/inquiry/getDesignStatistic`, //拒绝审批
|
getDesignStatistic: `/api/inquiry/getDesignStatistic`, //拒绝审批
|
||||||
getAllQuestionnaire: `/aida/api/inquiry/getAllQuestionnaire`, //拒绝审批
|
getAllQuestionnaire: `/api/inquiry/getAllQuestionnaire`, //拒绝审批
|
||||||
getActiveUserFunc: `/aida/api/inquiry/getActiveUserFunc`, //获取各模块功能
|
getActiveUserFunc: `/api/inquiry/getActiveUserFunc`, //获取各模块功能
|
||||||
toProductImageElementDelete: `/aida/api/history/toProductImageElementDelete`, //删除指定模块上传的内容
|
toProductImageElementDelete: `/api/history/toProductImageElementDelete`, //删除指定模块上传的内容
|
||||||
recentActiveUser: `/aida/api/inquiry/recentActiveUser`, //获取近期活跃用户
|
recentActiveUser: `/api/inquiry/recentActiveUser`, //获取近期活跃用户
|
||||||
recentActiveUserChart: `/aida/api/inquiry/recentActiveUserChart`, //获取近期活跃用户图表数据
|
recentActiveUserChart: `/api/inquiry/recentActiveUserChart`, //获取近期活跃用户图表数据
|
||||||
recentNewUser: `/aida/api/inquiry/recentNewUser`, //获取近期新增用户
|
recentNewUser: `/api/inquiry/recentNewUser`, //获取近期新增用户
|
||||||
recentNewUserChart: `/aida/api/inquiry/recentNewUserChart`, //获取新增用户图表
|
recentNewUserChart: `/api/inquiry/recentNewUserChart`, //获取新增用户图表
|
||||||
trialUserCountry: `/aida/api/inquiry/trialUserCountry`, //试用用户国家-城市分布
|
trialUserCountry: `/api/inquiry/trialUserCountry`, //试用用户国家-城市分布
|
||||||
conversionRate: `/aida/api/inquiry/conversionRate`, //试用用户国家-城市分布
|
conversionRate: `/api/inquiry/conversionRate`, //试用用户国家-城市分布
|
||||||
getAllUserId: `/aida/api/inquiry/getAllUserId`, //获取所有用户id和Name
|
getAllUserId: `/api/inquiry/getAllUserId`, //获取所有用户id和Name
|
||||||
adminAddUser: `/aida/api/inquiry/addUser`, //添加用户
|
adminAddUser: `/api/inquiry/addUser`, //添加用户
|
||||||
modifyUser: `/aida/api/inquiry/modifyUser`, //修改用户
|
modifyUser: `/api/inquiry/modifyUser`, //修改用户
|
||||||
publishSysMessage: `/aida/api/message/publishSysMessage`, //发布系统任务
|
publishSysMessage: `/api/message/publishSysMessage`, //发布系统任务
|
||||||
//affiliate接口
|
//affiliate接口
|
||||||
viewsIncrease: `/aida/api/affiliate/viewsIncrease`, //增加访问量
|
viewsIncrease: `/api/affiliate/viewsIncrease`, //增加访问量
|
||||||
affiliateRegistration: `/aida/api/affiliate/registration`, //affiliate注册
|
affiliateRegistration: `/api/affiliate/registration`, //affiliate注册
|
||||||
personalCenter: `/aida/api/affiliate/personalCenter`, //affiliate个人中心
|
personalCenter: `/api/affiliate/personalCenter`, //affiliate个人中心
|
||||||
affiliateList: `/aida/api/affiliate/list`, //affiliate审批列表
|
affiliateList: `/api/affiliate/list`, //affiliate审批列表
|
||||||
updateCommission: `/aida/api/affiliate/updateCommission`, //编辑佣金比例
|
updateCommission: `/api/affiliate/updateCommission`, //编辑佣金比例
|
||||||
editAffiliate: `/aida/api/affiliate/editAffiliate`, //编辑affiliate
|
editAffiliate: `/api/affiliate/editAffiliate`, //编辑affiliate
|
||||||
getEachAffiliateGeneratedRevenue: `/aida/api/affiliate/getEachAffiliateGeneratedRevenue`, //affiliate每个用户根据日期查询收益
|
getEachAffiliateGeneratedRevenue: `/api/affiliate/getEachAffiliateGeneratedRevenue`, //affiliate每个用户根据日期查询收益
|
||||||
affiliateApproval: `/aida/api/affiliate/approval`, //affiliate同意 审批
|
affiliateApproval: `/api/affiliate/approval`, //affiliate同意 审批
|
||||||
getPersonalMonthlyIncome: `/aida/api/affiliate/getPersonalMonthlyIncome`, //affiliate图表接口
|
getPersonalMonthlyIncome: `/api/affiliate/getPersonalMonthlyIncome`, //affiliate图表接口
|
||||||
getReferrals: `/aida/api/affiliate/getReferrals`, //affiliate Referral列表
|
getReferrals: `/api/affiliate/getReferrals`, //affiliate Referral列表
|
||||||
editReferral: `/aida/api/affiliate/editReferral`, //affiliate编辑referral
|
editReferral: `/api/affiliate/editReferral`, //affiliate编辑referral
|
||||||
batchDeleteReferral: `/aida/api/affiliate/batchDeleteReferral`, //affiliate删除referral
|
batchDeleteReferral: `/api/affiliate/batchDeleteReferral`, //affiliate删除referral
|
||||||
// batchDeleteReferral:`/aida/api/affiliate/batchDeleteReferral`,//affiliate删除referral
|
// batchDeleteReferral:`/api/affiliate/batchDeleteReferral`,//affiliate删除referral
|
||||||
|
|
||||||
getTasksList: `/aida/api/tasks/getList`, //获取w为执行完的所有任务
|
getTasksList: `/api/tasks/getList`, //获取w为执行完的所有任务
|
||||||
getTasksHistory: `/aida/api/tasks/getAllTask`, //获取所有任务列表
|
getTasksHistory: `/api/tasks/getAllTask`, //获取所有任务列表
|
||||||
prepareForSR: `/aida/api/python/prepareForSR`, //超分
|
prepareForSR: `/api/python/prepareForSR`, //超分
|
||||||
|
|
||||||
//作品广场
|
//作品广场
|
||||||
publish: `/aida/api/portfolio/publish`, //发布作品到作品广场
|
publish: `/api/portfolio/publish`, //发布作品到作品广场
|
||||||
getPorfolio: `/aida/api/portfolio/page`, //查询作品广场
|
getPorfolio: `/api/portfolio/page`, //查询作品广场
|
||||||
getPorfolioDetail: `/aida/api/portfolio/detail`, //查询作品广场作品详情
|
getPorfolioDetail: `/api/portfolio/detail`, //查询作品广场作品详情
|
||||||
setPorfolioChoose: `/aida/api/portfolio/choose`, //二次创作
|
setPorfolioChoose: `/api/portfolio/choose`, //二次创作
|
||||||
portfolioLike: `/aida/api/portfolio/like`, //作品广场点赞
|
portfolioLike: `/api/portfolio/like`, //作品广场点赞
|
||||||
portfolioNoLike: `/aida/api/portfolio/unlike`, //作品广场取消点赞
|
portfolioNoLike: `/api/portfolio/unlike`, //作品广场取消点赞
|
||||||
portfolioComment: `/aida/api/portfolio/comment`, //作品广场评论
|
portfolioComment: `/api/portfolio/comment`, //作品广场评论
|
||||||
portfolioCommentPage: `/aida/api/portfolio/commentPage`, //作品广场评论列表
|
portfolioCommentPage: `/api/portfolio/commentPage`, //作品广场评论列表
|
||||||
commentDelete: `/aida/api/portfolio/commentDelete`, //删除评论
|
commentDelete: `/api/portfolio/commentDelete`, //删除评论
|
||||||
porfolioDelete: `/aida/api/portfolio/delete`, //删除作品
|
porfolioDelete: `/api/portfolio/delete`, //删除作品
|
||||||
porfolioFollow: `/aida/api/portfolio/follow`, //删除作品
|
porfolioFollow: `/api/portfolio/follow`, //删除作品
|
||||||
porfolioFollow: `/aida/api/portfolio/follow`, //关注
|
porfolioFollow: `/api/portfolio/follow`, //关注
|
||||||
porfolioCancelFollow: `/aida/api/portfolio/cancelFollow`, //取消关注
|
porfolioCancelFollow: `/api/portfolio/cancelFollow`, //取消关注
|
||||||
porfolioGetFolloweeList: `/aida/api/portfolio/getFolloweeList`, //获取关注列表
|
porfolioGetFolloweeList: `/api/portfolio/getFolloweeList`, //获取关注列表
|
||||||
porfolioGetFollowerList: `/aida/api/portfolio/getFollowerList`, //获取粉丝列表
|
porfolioGetFollowerList: `/api/portfolio/getFollowerList`, //获取粉丝列表
|
||||||
|
|
||||||
//product生成
|
//product生成
|
||||||
toProduct: `/aida/api/history/toProduct`, //开始生成
|
toProduct: `/api/history/toProduct`, //开始生成
|
||||||
toProductImageResult: `/aida/api/history/toProductImageResult`, //获取结果
|
toProductImageResult: `/api/history/toProductImageResult`, //获取结果
|
||||||
toProductImageElementUpload: `/aida/api/history/toProductImageElementUpload`, //上传
|
toProductImageElementUpload: `/api/history/toProductImageElementUpload`, //上传
|
||||||
historyDeleteResult: `/aida/api/history/deleteResult`, //relight toproduct删除
|
historyDeleteResult: `/api/history/deleteResult`, //relight toproduct删除
|
||||||
generateDeleteResult: `/aida/api/generate/deleteResult`, //pose删除
|
generateDeleteResult: `/api/generate/deleteResult`, //pose删除
|
||||||
|
|
||||||
productImageLike: `/aida/api/history/productImageLike`, //like生成结果
|
productImageLike: `/api/history/productImageLike`, //like生成结果
|
||||||
productImageUnLike: `/aida/api/history/productImageUnLike`, //取消like生成结果
|
productImageUnLike: `/api/history/productImageUnLike`, //取消like生成结果
|
||||||
productImageLikeList: `/aida/api/history/productImageLikeList`, //like生成结果
|
productImageLikeList: `/api/history/productImageLikeList`, //like生成结果
|
||||||
|
|
||||||
//打光
|
//打光
|
||||||
relight: `/aida/api/history/relight`, //开始生成
|
relight: `/api/history/relight`, //开始生成
|
||||||
relightResult: `/aida/api/history/relightResult`, //开始生成
|
relightResult: `/api/history/relightResult`, //开始生成
|
||||||
|
|
||||||
//保存画布
|
//保存画布
|
||||||
canvasElementUpload: `/aida/api/history/canvasElementUpload`, //画布上传临时图片
|
canvasElementUpload: `/api/history/canvasElementUpload`, //画布上传临时图片
|
||||||
exportSave: `/aida/api/history/exportSave`, //保存画布
|
exportSave: `/api/history/exportSave`, //保存画布
|
||||||
exportSearch: `/aida/api/history/exportSearch`, //保存画布
|
exportSearch: `/api/history/exportSearch`, //保存画布
|
||||||
|
|
||||||
//活动
|
//活动
|
||||||
activity: `/aida/api/account/activity`,
|
activity: `/api/account/activity`,
|
||||||
|
|
||||||
//bradDNA
|
//bradDNA
|
||||||
brandLogoUpload: `/aida/api/history/brandLogoUpload`, //上传bradDNA
|
brandLogoUpload: `/api/history/brandLogoUpload`, //上传bradDNA
|
||||||
brandDNAGenerate: `/aida/api/history/brandDNAGenerate`, //上传bradDNA
|
brandDNAGenerate: `/api/history/brandDNAGenerate`, //上传bradDNA
|
||||||
brandDNAUpload: `/aida/api/history/brandDNAUpload`, //上传DNA图片
|
brandDNAUpload: `/api/history/brandDNAUpload`, //上传DNA图片
|
||||||
getInitializeProgress: `/aida/api/history/getInitializeProgress`, //获取brand进度
|
getInitializeProgress: `/api/history/getInitializeProgress`, //获取brand进度
|
||||||
brandDNADelete: `/aida/api/history/brandDNADelete`, //删除brandDna
|
brandDNADelete: `/api/history/brandDNADelete`, //删除brandDna
|
||||||
|
|
||||||
brandDNAPage: `/aida/api/history/brandDNAPage`, //brand列表
|
brandDNAPage: `/api/history/brandDNAPage`, //brand列表
|
||||||
brandDNASaveOrUpdate: `/aida/api/history/brandDNASaveOrUpdate`, //提交个人信息
|
brandDNASaveOrUpdate: `/api/history/brandDNASaveOrUpdate`, //提交个人信息
|
||||||
productImageInitialize: `/aida/api/history/productImageInitialize`, //产品识别
|
productImageInitialize: `/api/history/productImageInitialize`, //产品识别
|
||||||
//调查问卷
|
//调查问卷
|
||||||
questionnaire: `/aida/api/account/questionnaire`, //保存画布
|
questionnaire: `/api/account/questionnaire`, //保存画布
|
||||||
|
|
||||||
//消息系统
|
//消息系统
|
||||||
getUnreadCount: `/aida/api/message/getUnreadCount`, //获取未读消息
|
getUnreadCount: `/api/message/getUnreadCount`, //获取未读消息
|
||||||
setReadStatus: `/aida/api/message/setReadStatus`, //设置消息已读
|
setReadStatus: `/api/message/setReadStatus`, //设置消息已读
|
||||||
getHistoryNotification: `/aida/api/message/getHistoryNotification`, //获取历史消息
|
getHistoryNotification: `/api/message/getHistoryNotification`, //获取历史消息
|
||||||
oneClickRead: `/aida/api/message/oneClickRead`, //全部设为已读
|
oneClickRead: `/api/message/oneClickRead`, //全部设为已读
|
||||||
personalHomepage: `/aida/api/account/personalHomepage`, //获取个人主页信息
|
personalHomepage: `/api/account/personalHomepage`, //获取个人主页信息
|
||||||
refreshMinioUrl: `/aida/api/third/party/refreshMinioUrl`, //获取可以使用的minio地址
|
refreshMinioUrl: `/api/third/party/refreshMinioUrl`, //获取可以使用的minio地址
|
||||||
|
|
||||||
// 画布
|
// 画布
|
||||||
segAnything: `/aida/api/python/segAnything`, //分割Anything
|
segAnything: `/api/python/segAnything`, //分割Anything
|
||||||
|
|
||||||
// award页面
|
// award页面
|
||||||
checkEmail: '/aida/api/global-award/checkEmail', // 检查邮箱是否存在
|
checkEmail: '/api/global-award/checkEmail', // 检查邮箱是否存在
|
||||||
checkOTP: '/aida/api/global-award/checkCode', // 检查验证码是否正确
|
checkOTP: '/api/global-award/checkCode', // 检查验证码是否正确
|
||||||
initPdfUpload: '/aida/api/global-award/uploads/pdf/init', // 初始化pdf上传
|
initPdfUpload: '/api/global-award/uploads/pdf/init', // 初始化pdf上传
|
||||||
initVideoUpload: '/aida/api/global-award/uploads/video/init', // 初始化video上传
|
initVideoUpload: '/api/global-award/uploads/video/init', // 初始化video上传
|
||||||
uploadPDF: '/aida/api/global-award/uploads/pdf/chunk', // 上传pdf
|
uploadPDF: '/api/global-award/uploads/pdf/chunk', // 上传pdf
|
||||||
uploadVideo: '/aida/api/global-award/uploads/video/chunk', // 上传video
|
uploadVideo: '/api/global-award/uploads/video/chunk', // 上传video
|
||||||
uploadPDFComplete: '/aida/api/global-award/uploads/pdf/complete', // 上传pdf完成
|
uploadPDFComplete: '/api/global-award/uploads/pdf/complete', // 上传pdf完成
|
||||||
uploadVideoComplete: '/aida/api/global-award/uploads/video/complete', // 上传video完成
|
uploadVideoComplete: '/api/global-award/uploads/video/complete', // 上传video完成
|
||||||
submitForm: '/aida/api/global-award/contestants/save', // 提交表单
|
submitForm: '/api/global-award/contestants/save', // 提交表单
|
||||||
getContestantByID: '/aida/api/global-award/contestants/' // 获取表单
|
getContestantByID: '/api/global-award/contestants/' // 获取表单
|
||||||
|
|
||||||
},
|
},
|
||||||
|
|
||||||
axiosGet(url, config) {
|
axiosGet(url, config) {
|
||||||
return new Promise((resolve, reject) => {
|
return new Promise((resolve, reject) => {
|
||||||
if (isLoginTime && url != '/aida/api/portfolio/page') {
|
if (isLoginTime && url != '/api/portfolio/page') {
|
||||||
resolve('')
|
resolve('')
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
@@ -495,7 +493,7 @@ export const Https = {
|
|||||||
|
|
||||||
axiosPut(url, data) {
|
axiosPut(url, data) {
|
||||||
return new Promise((resolve, reject) => {
|
return new Promise((resolve, reject) => {
|
||||||
if (isLoginTime && url != '/aida/api/portfolio/page') {
|
if (isLoginTime && url != '/api/portfolio/page') {
|
||||||
resolve('')
|
resolve('')
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
@@ -512,7 +510,7 @@ export const Https = {
|
|||||||
|
|
||||||
axiosPost(url, data, config) {
|
axiosPost(url, data, config) {
|
||||||
return new Promise((resolve, reject) => {
|
return new Promise((resolve, reject) => {
|
||||||
if (isLoginTime && url != '/aida/api/portfolio/page') {
|
if (isLoginTime && url != '/api/portfolio/page') {
|
||||||
resolve('')
|
resolve('')
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
@@ -529,7 +527,7 @@ export const Https = {
|
|||||||
|
|
||||||
axiosDelete(url, newData) {
|
axiosDelete(url, newData) {
|
||||||
return new Promise((resolve, reject) => {
|
return new Promise((resolve, reject) => {
|
||||||
if (isLoginTime && url != '/aida/api/portfolio/page') {
|
if (isLoginTime && url != '/api/portfolio/page') {
|
||||||
resolve('')
|
resolve('')
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -11,7 +11,7 @@ import { ElementPlusResolver } from "unplugin-vue-components/resolvers";
|
|||||||
export default defineConfig(({ mode }) => {
|
export default defineConfig(({ mode }) => {
|
||||||
// 加载环境变量
|
// 加载环境变量
|
||||||
const env = loadEnv(mode, process.cwd(), "");
|
const env = loadEnv(mode, process.cwd(), "");
|
||||||
console.log(mode)
|
const baseURL = env.VITE_APP_BASE_URL
|
||||||
return {
|
return {
|
||||||
resolve: {
|
resolve: {
|
||||||
alias: {
|
alias: {
|
||||||
@@ -89,8 +89,9 @@ export default defineConfig(({ mode }) => {
|
|||||||
},
|
},
|
||||||
proxy: {
|
proxy: {
|
||||||
"/api": {
|
"/api": {
|
||||||
target: "http://192.168.1.7:5567",
|
|
||||||
// target: 'https://develop.api.aida.com.hk',
|
// target: 'https://develop.api.aida.com.hk',
|
||||||
|
target: baseURL,
|
||||||
|
rewrite: (path) => path.replace(/^\/api/, "/aida/api"),
|
||||||
changeOrigin: true,
|
changeOrigin: true,
|
||||||
},
|
},
|
||||||
"/xupei": {
|
"/xupei": {
|
||||||
|
|||||||
Reference in New Issue
Block a user