LFPay app项目
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 

97 lines
3.1 KiB

const environment = {
// 开发环境配置
development: {
// // 本地部署的后端
// baseURL: 'http://localhost:8082',
// //前缀,
// baseApi: '/qy/laosCarAgentApp',
// //开放接口前缀
// quarzApi: '/qy/laosCarQuartz',
// //公共接口(带前缀)
// openURL: 'https://www.hj-qcq.com/qy/equityQuartz',
// //图片查看地址
// fileUrl: 'https://www.hj-qcq.com/qy/laosCarQuartz/monitor/open/fileRecord/getFileInp/',
// //上传图片
// fileUploadURL: '/monitor/open/fileRecord/fileUploadWithFile',
// //app使用图片地址
// appImageUrl: 'https://qcs.lian-bi.com/equity',
// // 隐私协议
// privacyProtocol: 'https://qcs.lian-bi.com/equity/html/hj-privacy.html',
// // 服务协议
// serviceProtocol: 'https://qcs.lian-bi.com/equity/html/hj-pro-service.html',
// //运行环境
// systemInfo: uni.getSystemInfoSync()
// 本地部署的后端
baseURL: 'https://www.hj-qcq.com/',
//前缀,
baseApi: '/qy/laosCarAgentApp',
//开放接口前缀
quarzApi: '/qy/laosCarQuartz',
//公共接口(带前缀)
openURL: 'https://www.hj-qcq.com/qy/laosCarQuartz',
//图片查看地址
fileUrl: 'https://www.hj-qcq.com/qy/laosCarQuartz/monitor/open/fileRecord/getFileInp/',
//上传图片
fileUploadURL: '/monitor/open/fileRecord/fileUploadWithFile',
//app使用图片地址
appImageUrl: 'https://qcs.lian-bi.com/equity',
// 隐私协议
privacyProtocol: 'https://qcs.lian-bi.com/equity/html/hj-privacy.html',
// 服务协议
serviceProtocol: 'https://qcs.lian-bi.com/equity/html/hj-pro-service.html',
//运行环境
systemInfo: uni.getSystemInfoSync()
},
// 生产环境配置
production: {
// 本地部署的后端
baseURL: 'https://www.hj-qcq.com/',
//前缀,
baseApi: '/qy/laosCarAgentApp',
//开放接口前缀
quarzApi: '/qy/laosCarQuartz',
//公共接口(带前缀)
openURL: 'https://www.hj-qcq.com/qy/laosCarQuartz',
//图片查看地址
fileUrl: 'https://www.hj-qcq.com/qy/laosCarQuartz/monitor/open/fileRecord/getFileInp/',
//上传图片
fileUploadURL: '/monitor/open/fileRecord/fileUploadWithFile',
//app使用图片地址
appImageUrl: 'https://qcs.lian-bi.com/equity',
// 隐私协议
privacyProtocol: 'https://qcs.lian-bi.com/equity/html/hj-privacy.html',
// 服务协议
serviceProtocol: 'https://qcs.lian-bi.com/equity/html/hj-pro-service.html',
//运行环境
systemInfo: uni.getSystemInfoSync()
}
};
// 应用信息
const appInfo = {
// 应用名称
name: "老挝金融支付管理系统",
// 应用版本
version: "1.1.0",
// 应用logo
logo: "/static/login/logo.png",
// 官方网站
site_url: "http://www.lfpay.la/",
// 政策协议
agreements: [
{
title: "隐私政策",
url: "https://ruoyi.vip/protocol.html"
},
{
title: "用户服务协议",
url: "https://ruoyi.vip/protocol.html"
}
]
}
module.exports = {
environment: environment[process.env.NODE_ENV],
appInfo:appInfo,
baseURL:environment[process.env.NODE_ENV].baseURL
}