Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in / Register
Toggle navigation
C
contraceptives_app
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
ynby
contraceptives_app
Commits
2ebfc6fb
Commit
2ebfc6fb
authored
Jun 16, 2025
by
gengchunlei
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
小程序 楚晓康小程序对接
parent
acebac09
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
13 additions
and
1 deletion
+13
-1
api.js
src/utils/api.js
+1
-1
vue.config.js
vue.config.js
+12
-0
No files found.
src/utils/api.js
View file @
2ebfc6fb
...
...
@@ -135,5 +135,5 @@ export const getUserInfoByIdCard = params => {
//小程序根据token获取手机号
export
const
getPhoneByXCXToken
=
params
=>
{
return
apiInstance
.
post
(
`/stock-info/api/yzdj-api-app/base-member-phone`
,
params
)
return
apiInstance
.
post
(
`/stock-info/api/yzdj-api-app/base-member-phone
?token=
${
params
.
token
}
`
,
params
)
}
vue.config.js
View file @
2ebfc6fb
...
...
@@ -29,6 +29,18 @@ module.exports = {
warning
:
false
,
errors
:
false
},
// 设置代理
proxy
:
{
'/service-api'
:
{
target
:
'https://beta-yjservice.yiboshi.com'
,
// target: 'https://beta-tumour.zmnyjk.com',
changOrigin
:
true
,
pathRewrite
:
{
'^/service-api'
:
''
,
// '^/chronic-resident': '/chronic-resident'
}
}
},
https
:
true
,
},
chainWebpack
:(
config
)
=>
{
...
...
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