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
97a60dfd
authored
2025-06-24 10:06:27 +0800
by
华明祺
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
no message
1 parent
699dfdee
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
1 deletions
src/common/request.js
src/config.js
src/common/request.js
View file @
97a60df
...
...
@@ -63,7 +63,7 @@ let request = function(req) {
let
url
,
data
if
(
config
.
localPort
)
{
const
baseUrl
=
config
.
localPort
+
'
/jsintszxd/request'
const
baseUrl
=
location
.
origin
+
'/prod-api
/jsintszxd/request'
if
(
req
.
method
===
'POST'
)
{
req
.
params
.
userNo
=
token
url
=
baseUrl
...
...
src/config.js
View file @
97a60df
const
baseUrl_api
=
"/dev-api"
;
const
appSecretId
=
'af14ef3f-ebec-446c-8d1f-c4afa60dd095'
;
const
localPort
=
localStorage
.
getItem
(
'localPort'
)
// const localPort = 'guowang'
export
default
{
localPort
,
...
...
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