Skip to content
Toggle navigation
Toggle navigation
This project
Loading...
Sign in
杨炀
/
gd_yc
Go to a project
Toggle navigation
Toggle navigation pinning
Projects
Groups
Snippets
Help
Project
Activity
Repository
Pipelines
Graphs
Issues
0
Merge Requests
0
Wiki
Network
Create a new issue
Builds
Commits
Issue Boards
Files
Commits
Network
Compare
Branches
Tags
c1a88d16
authored
2025-08-01 10:11:40 +0800
by
华明祺
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
no message
1 parent
8f324e77
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
1 deletions
src/common/request.js
src/common/request.js
View file @
c1a88d1
...
...
@@ -63,8 +63,11 @@ let request = function(req) {
let
url
,
data
if
(
config
.
localPort
)
{
// const baseUrl = location.origin + '/prod-api/jsintszxd/request'
//生产环境
// const baseUrl = location.origin + '/jsintszxd/request'
//本地离线环境
const
baseUrl
=
config
.
localPort
+
'/jsintszxd/request'
if
(
req
.
method
===
'POST'
)
{
req
.
params
.
userNo
=
token
url
=
baseUrl
...
...
Write
Preview
Styling with
Markdown
is supported
Attach a file
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 post a comment