| 1234567891011121314151617181920212223242526272829 |
- // let domain = 'http://192.168.100.254:8024/front-api' // 内网IP
- // let domain = 'http://192.168.100.199:8081' // 晋守桦IP
- // let domain = 'http://192.168.100.14:8081' // 赵乔功IP
- // let domain = 'https://test.shuibeibyg.com/front-api' // 测试环境IP
- let domain = 'https://www.shuibeibyg.com/front-api' // 正式环境IP
- export const HTTP_REQUEST_URL = domain
- // PC 后台 API 地址(用于上传图片)
- export const HTTP_ADMIN_URL = domain
- // 请求头
- export const HEADER = {
- 'content-type': 'application/json'
- }
- // 表单提交头
- export const HEADERPARAMS = {
- 'content-type': 'application/x-www-form-urlencoded'
- }
- // token 名称
- export const TOKENNAME = 'Authori-zation'
- // 缓存时间,0 为永久
- export const EXPIRE = 0
- // 分页默认限制条数
- export const LIMIT = 10
|