Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in
Toggle navigation
M
mes-pda-scan
Project
Project
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
ximai
mes-pda-scan
Commits
7ef9ed11
Commit
7ef9ed11
authored
Jan 03, 2025
by
沈翠玲
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
增加接口备注
parent
9c352f0a
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
3 deletions
+5
-3
config.js
common/config.js
+3
-3
http.api.js
common/http.api.js
+2
-0
No files found.
common/config.js
View file @
7ef9ed11
...
...
@@ -21,9 +21,9 @@ const config = {
}
// 设置后台接口服务的基础地址
config
.
baseUrl
=
'http://182.140.132.45:9094'
;
// config.baseUrl = process.env.NODE_ENV === 'development' ? '/api' : 'http://182.140.132.45:9094';
// config.baseUrl = process.env.NODE_ENV === 'development' ? '/api' : 'http://192.168.1.128:20091';
//
config.baseUrl = 'http://182.140.132.45:9094';
// config.baseUrl = process.env.NODE_ENV === 'development' ? '/api' : 'http://182.140.132.45:9094';
// 上海环境
config
.
baseUrl
=
process
.
env
.
NODE_ENV
===
'development'
?
'/api'
:
'http://192.168.1.128:20091'
;
// 外网环境
//
//config.baseUrl = "http://101.200.162.168:8080";
...
...
common/http.api.js
View file @
7ef9ed11
...
...
@@ -12,7 +12,9 @@ const install = (Vue, vm) => {
vm
.
$u
.
api
=
{
// 基础服务:登录登出、身份信息、菜单授权、切换系统、字典数据等
login
:
(
params
=
{})
=>
vm
.
$u
.
postJson
(
config
.
adminPath
+
'/login'
,
params
),
// 上海环境
// getInfo: (params = {}) => vm.$u.get('http://192.168.1.128:8088' + '/getInfo'),
// 外网环境
getInfo
:
(
params
=
{})
=>
vm
.
$u
.
get
(
'http://182.140.132.45:9011'
+
'/getInfo'
),
changepassword
:
(
params
=
{})
=>
vm
.
$u
.
postJson
(
config
.
adminPath
+
'/cmsmv/changepassword'
,
params
),
// 到货条码打印查询
...
...
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