Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
B
bh_face_counter
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
黄天晨
bh_face_counter
Commits
2e1d9698
Commit
2e1d9698
authored
Nov 03, 2023
by
黄日华
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
收银机程序config提交
parent
553f875b
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
2 deletions
+5
-2
config.js
src/utils/config.js
+5
-2
No files found.
src/utils/config.js
View file @
2e1d9698
const
app
=
''
;
// eg: .25h/.eg
const
app
=
''
;
// eg: .25h/.eg
export
const
isProd
=
process
.
env
.
NODE_ENV
===
'production'
;
export
const
isProd
=
process
.
env
.
NODE_ENV
===
'production'
;
// export const host = isProd
// ? `https://api${app}.vs-u.com`
// : 'http://192.168.88.34:7001';
export
const
host
=
isProd
export
const
host
=
isProd
?
`https://api
${
app
}
.vs-u.com`
?
`https://api
${
app
}
.vs-u.com`
:
'http://192.168.88.88:7001'
;
:
`https://api
${
app
}
.vs-u.com`
;
export
const
login
=
`https://m
${
app
}
.vs-u.com`
;
export
const
login
=
`https://m
${
app
}
.vs-u.com`
;
export
const
qrHost
=
login
;
export
const
qrHost
=
login
;
export
const
imgUrl
=
'http://barcod.oss-cn-shenzhen.aliyuncs.com/images/'
;
export
const
imgUrl
=
'http://barcod.oss-cn-shenzhen.aliyuncs.com/images/'
;
export
const
watermark
=
'.jpg?x-oss-process=style/zmgo_thumb_watermark'
;
export
const
watermark
=
'.jpg?x-oss-process=style/zmgo_thumb_watermark'
;
export
const
appName
=
'
仲马购
人工智能'
;
export
const
appName
=
'
云值守
人工智能'
;
export
const
bucket
=
export
const
bucket
=
process
.
env
.
NODE_ENV
===
'production'
?
'zhongma'
:
'self-shop-test'
;
process
.
env
.
NODE_ENV
===
'production'
?
'zhongma'
:
'self-shop-test'
;
export
const
region
=
'oss-cn-shenzhen'
;
export
const
region
=
'oss-cn-shenzhen'
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment