29 lines
855 B
JavaScript
29 lines
855 B
JavaScript
// 定义api服务地址
|
|
const appUrl = 'https://www.aimzhu.com'
|
|
// const appUrl = 'http://121.36.71.250:58038'
|
|
const prewBaseUrl = ''
|
|
const operatorUrl = appUrl + '/operator'
|
|
const operatorPlug = appUrl + '/operator-plugin'
|
|
const copyrightUrl = appUrl + '/copyright'
|
|
const aiShopUrl = appUrl + '/aishop'
|
|
const uploadImgUrl = copyrightUrl + '/api/file/v2/upload-image'
|
|
const previewUrl = copyrightUrl + '/route/file/v2/download/true/'
|
|
const imgAssets = appUrl + '/miniapp-assets'
|
|
const sImgPrefix = aiShopUrl + '/route/file/download/true/'
|
|
const upShopImgUrl = aiShopUrl + '/api/file/v2/upload-image'
|
|
const upShopFileUrl = aiShopUrl + '/api/file/v2/upload-file'
|
|
|
|
|
|
export {
|
|
operatorUrl,
|
|
operatorPlug,
|
|
uploadImgUrl,
|
|
previewUrl,
|
|
copyrightUrl,
|
|
aiShopUrl,
|
|
imgAssets,
|
|
appUrl,
|
|
sImgPrefix,
|
|
upShopImgUrl,
|
|
upShopFileUrl
|
|
} |