personnel_management_mobile/common/setting.js

37 lines
1.0 KiB
JavaScript
Raw Permalink 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.

/**
* 全局变量配置
*/
module.exports = {
// 应用名
name: 'Rider',
// 应用logo支持本地路径和网络路径
logo: '/static/images/logo.png',
// 版本号
version: '2.1.0',
// 开发环境接口Url
// #ifdef H5
devUrl: '',
// #endif
// #ifndef H5
devUrl: 'http://127.0.0.1',
// #endif
// 线上环境接口Url
prodUrl: '/housingAssuranceBookingMobile',
// 后端数据的接收方式application/json;charset=UTF-8或者application/x-www-form-urlencoded;charset=UTF-8
contentType: 'application/json;charset=UTF-8',
// 后端返回状态码
codeName: 'code',
// 操作正常code
successCode: 200,
// 登录失效code
invalidCode: 401,
// 客户端ID
clientId: 'rider',
// 客户端密钥
clientSecret: 'rider_secret',
// token过期时间
tokenTime: 3000,
// 国密sm2公钥使用后端工程 @org.springblade.test.Sm2KeyGenerator 获取
publicKey: '049bb83747f21a4f6ecfd4984e02b611f6bf8180b49818edb7349632416aa65a2e267ae14fcac6f82054888774262244424ab629357a7d98cdd23f4c4eee9f2269'
}