Files
zsw-jx-store/src/api/config.ts
2025-11-14 10:30:53 +08:00

21 lines
449 B
TypeScript
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
/**
* model: 配置文件
* 作者zhang-shu-wei
* 日期2022年8月10日
* 邮箱2966211270@qq.com
*/
let url_config = '' // 用户登录
if (process.env.NODE_ENV === 'development') {
// 开发环境 配置域名
console.log('~开发环境~')
url_config = "https://wx.jxc4.com/jxgy"
} else {
// 生产环境
console.log('~生产环境~')
url_config = "https://wx.jxc4.com/jxgy"
}
export default url_config